public class com.oracle.truffle.api.instrumentation.test.ThreadsEventsTest$TestThreadsInstrument extends com.oracle.truffle.api.instrumentation.TruffleInstrument implements com.oracle.truffle.api.instrumentation.ThreadsListener
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.oracle.truffle.api.instrumentation.test.ThreadsEventsTest$TestThreadsInstrument
super_class: com.oracle.truffle.api.instrumentation.TruffleInstrument
{
static boolean includeStartedThreads;
descriptor: Z
flags: (0x0008) ACC_STATIC
final java.util.List<com.oracle.truffle.api.instrumentation.test.ThreadsEventsTest$ThreadEvent> events;
descriptor: Ljava/util/List;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/List<Lcom/oracle/truffle/api/instrumentation/test/ThreadsEventsTest$ThreadEvent;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: iconst_0
putstatic com.oracle.truffle.api.instrumentation.test.ThreadsEventsTest$TestThreadsInstrument.includeStartedThreads:Z
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial com.oracle.truffle.api.instrumentation.TruffleInstrument.<init>:()V
1: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
invokestatic java.util.Collections.synchronizedList:(Ljava/util/List;)Ljava/util/List;
putfield com.oracle.truffle.api.instrumentation.test.ThreadsEventsTest$TestThreadsInstrument.events:Ljava/util/List;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/truffle/api/instrumentation/test/ThreadsEventsTest$TestThreadsInstrument;
protected void onCreate(com.oracle.truffle.api.instrumentation.TruffleInstrument$Env);
descriptor: (Lcom/oracle/truffle/api/instrumentation/TruffleInstrument$Env;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual com.oracle.truffle.api.instrumentation.TruffleInstrument$Env.getInstrumenter:()Lcom/oracle/truffle/api/instrumentation/Instrumenter;
aload 0
getstatic com.oracle.truffle.api.instrumentation.test.ThreadsEventsTest$TestThreadsInstrument.includeStartedThreads:Z
invokevirtual com.oracle.truffle.api.instrumentation.Instrumenter.attachThreadsListener:(Lcom/oracle/truffle/api/instrumentation/ThreadsListener;Z)Lcom/oracle/truffle/api/instrumentation/EventBinding;
pop
1: aload 1
aload 0
invokevirtual com.oracle.truffle.api.instrumentation.TruffleInstrument$Env.registerService:(Ljava/lang/Object;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/truffle/api/instrumentation/test/ThreadsEventsTest$TestThreadsInstrument;
0 3 1 env Lcom/oracle/truffle/api/instrumentation/TruffleInstrument$Env;
MethodParameters:
Name Flags
env
public void onThreadInitialized(com.oracle.truffle.api.TruffleContext, java.lang.Thread);
descriptor: (Lcom/oracle/truffle/api/TruffleContext;Ljava/lang/Thread;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.oracle.truffle.api.instrumentation.test.ThreadsEventsTest$TestThreadsInstrument.events:Ljava/util/List;
new com.oracle.truffle.api.instrumentation.test.ThreadsEventsTest$ThreadEvent
dup
iconst_1
aload 2
aload 1
invokespecial com.oracle.truffle.api.instrumentation.test.ThreadsEventsTest$ThreadEvent.<init>:(ZLjava/lang/Thread;Lcom/oracle/truffle/api/TruffleContext;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/truffle/api/instrumentation/test/ThreadsEventsTest$TestThreadsInstrument;
0 2 1 context Lcom/oracle/truffle/api/TruffleContext;
0 2 2 thread Ljava/lang/Thread;
MethodParameters:
Name Flags
context
thread
public void onThreadDisposed(com.oracle.truffle.api.TruffleContext, java.lang.Thread);
descriptor: (Lcom/oracle/truffle/api/TruffleContext;Ljava/lang/Thread;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.oracle.truffle.api.instrumentation.test.ThreadsEventsTest$TestThreadsInstrument.events:Ljava/util/List;
new com.oracle.truffle.api.instrumentation.test.ThreadsEventsTest$ThreadEvent
dup
iconst_0
aload 2
aload 1
invokespecial com.oracle.truffle.api.instrumentation.test.ThreadsEventsTest$ThreadEvent.<init>:(ZLjava/lang/Thread;Lcom/oracle/truffle/api/TruffleContext;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/truffle/api/instrumentation/test/ThreadsEventsTest$TestThreadsInstrument;
0 2 1 context Lcom/oracle/truffle/api/TruffleContext;
0 2 2 thread Ljava/lang/Thread;
MethodParameters:
Name Flags
context
thread
}
SourceFile: "ThreadsEventsTest.java"
NestHost: com.oracle.truffle.api.instrumentation.test.ThreadsEventsTest
InnerClasses:
public final Env = com.oracle.truffle.api.instrumentation.TruffleInstrument$Env of com.oracle.truffle.api.instrumentation.TruffleInstrument
public abstract Registration = com.oracle.truffle.api.instrumentation.TruffleInstrument$Registration of com.oracle.truffle.api.instrumentation.TruffleInstrument
public TestThreadsInstrument = com.oracle.truffle.api.instrumentation.test.ThreadsEventsTest$TestThreadsInstrument of com.oracle.truffle.api.instrumentation.test.ThreadsEventsTest
private ThreadEvent = com.oracle.truffle.api.instrumentation.test.ThreadsEventsTest$ThreadEvent of com.oracle.truffle.api.instrumentation.test.ThreadsEventsTest
RuntimeVisibleAnnotations:
com.oracle.truffle.api.instrumentation.TruffleInstrument$Registration(id = "testThreadsInstrument", services = {Lcom/oracle/truffle/api/instrumentation/test/ThreadsEventsTest$TestThreadsInstrument;})