class com.oracle.truffle.api.test.polyglot.ContextLocalTest$ExampleInstrument$1 implements com.oracle.truffle.api.instrumentation.ExecutionEventListener
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.oracle.truffle.api.test.polyglot.ContextLocalTest$ExampleInstrument$1
super_class: java.lang.Object
{
final com.oracle.truffle.api.test.polyglot.ContextLocalTest$ExampleInstrument this$1;
descriptor: Lcom/oracle/truffle/api/test/polyglot/ContextLocalTest$ExampleInstrument;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(com.oracle.truffle.api.test.polyglot.ContextLocalTest$ExampleInstrument);
descriptor: (Lcom/oracle/truffle/api/test/polyglot/ContextLocalTest$ExampleInstrument;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield com.oracle.truffle.api.test.polyglot.ContextLocalTest$ExampleInstrument$1.this$1:Lcom/oracle/truffle/api/test/polyglot/ContextLocalTest$ExampleInstrument;
aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/api/test/polyglot/ContextLocalTest$ExampleInstrument$1;
MethodParameters:
Name Flags
this$0 final
public void onEnter(com.oracle.truffle.api.instrumentation.EventContext, com.oracle.truffle.api.frame.VirtualFrame);
descriptor: (Lcom/oracle/truffle/api/instrumentation/EventContext;Lcom/oracle/truffle/api/frame/VirtualFrame;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.oracle.truffle.api.test.polyglot.ContextLocalTest$ExampleInstrument$1.this$1:Lcom/oracle/truffle/api/test/polyglot/ContextLocalTest$ExampleInstrument;
getfield com.oracle.truffle.api.test.polyglot.ContextLocalTest$ExampleInstrument.local:Lcom/oracle/truffle/api/ContextThreadLocal;
invokevirtual com.oracle.truffle.api.ContextThreadLocal.get:()Ljava/lang/Object;
checkcast com.oracle.truffle.api.test.polyglot.ContextLocalTest$ExampleInstrument$ExampleLocal
astore 3
start local 3 1: getstatic com.oracle.truffle.api.test.polyglot.ContextLocalTest$ExampleInstrument.$assertionsDisabled:Z
ifne 2
aload 3
getfield com.oracle.truffle.api.test.polyglot.ContextLocalTest$ExampleInstrument$ExampleLocal.thread:Ljava/lang/ref/WeakReference;
invokevirtual java.lang.ref.WeakReference.get:()Ljava/lang/Object;
invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
if_acmpeq 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals: com.oracle.truffle.api.test.polyglot.ContextLocalTest$ExampleInstrument$ExampleLocal
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/truffle/api/test/polyglot/ContextLocalTest$ExampleInstrument$1;
0 3 1 context Lcom/oracle/truffle/api/instrumentation/EventContext;
0 3 2 frame Lcom/oracle/truffle/api/frame/VirtualFrame;
1 3 3 value Lcom/oracle/truffle/api/test/polyglot/ContextLocalTest$ExampleInstrument$ExampleLocal;
MethodParameters:
Name Flags
context
frame
public void onReturnValue(com.oracle.truffle.api.instrumentation.EventContext, com.oracle.truffle.api.frame.VirtualFrame, java.lang.Object);
descriptor: (Lcom/oracle/truffle/api/instrumentation/EventContext;Lcom/oracle/truffle/api/frame/VirtualFrame;Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/api/test/polyglot/ContextLocalTest$ExampleInstrument$1;
0 1 1 context Lcom/oracle/truffle/api/instrumentation/EventContext;
0 1 2 frame Lcom/oracle/truffle/api/frame/VirtualFrame;
0 1 3 result Ljava/lang/Object;
MethodParameters:
Name Flags
context
frame
result
public void onReturnExceptional(com.oracle.truffle.api.instrumentation.EventContext, com.oracle.truffle.api.frame.VirtualFrame, java.lang.Throwable);
descriptor: (Lcom/oracle/truffle/api/instrumentation/EventContext;Lcom/oracle/truffle/api/frame/VirtualFrame;Ljava/lang/Throwable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/api/test/polyglot/ContextLocalTest$ExampleInstrument$1;
0 1 1 context Lcom/oracle/truffle/api/instrumentation/EventContext;
0 1 2 frame Lcom/oracle/truffle/api/frame/VirtualFrame;
0 1 3 exception Ljava/lang/Throwable;
MethodParameters:
Name Flags
context
frame
exception
}
SourceFile: "ContextLocalTest.java"
EnclosingMethod: com.oracle.truffle.api.test.polyglot.ContextLocalTest$ExampleInstrument.onCreate:(Lcom/oracle/truffle/api/instrumentation/TruffleInstrument$Env;)V
NestHost: com.oracle.truffle.api.test.polyglot.ContextLocalTest
InnerClasses:
public final Env = com.oracle.truffle.api.instrumentation.TruffleInstrument$Env of com.oracle.truffle.api.instrumentation.TruffleInstrument
public ExampleInstrument = com.oracle.truffle.api.test.polyglot.ContextLocalTest$ExampleInstrument of com.oracle.truffle.api.test.polyglot.ContextLocalTest
com.oracle.truffle.api.test.polyglot.ContextLocalTest$ExampleInstrument$1
ExampleLocal = com.oracle.truffle.api.test.polyglot.ContextLocalTest$ExampleInstrument$ExampleLocal of com.oracle.truffle.api.test.polyglot.ContextLocalTest$ExampleInstrument