Understanding the Attach Listener JVM Stream

When i use

jstack -l pid

to see information about the stream dump, I get the result as follows:

"Attach Listener" daemon prio=10 tid=0x01e4a800 nid=0x109c waiting on condition
[0x00000000]
   java.lang.Thread.State: RUNNABLE

   Locked ownable synchronizers:
        - None

My questions are as follows:

  • What is the "Attach Listener" stream function?
  • When is this thread created? Where? I can not find him.

Many thanks.

+5
source share
1 answer

See here http://openjdk.java.net/groups/hotspot/docs/Serviceability.html

Find "Dynamic Join"

A dynamic connection has an attach listener thread in the target JVM. This is the thread that starts on the first attach request.

+1
source

All Articles