class org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$2 implements java.lang.Runnable
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$2
super_class: java.lang.Object
{
final org.graalvm.compiler.truffle.test.ContextLookupCompilationTest this$0;
descriptor: Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private final org.graalvm.polyglot.Context val$c;
descriptor: Lorg/graalvm/polyglot/Context;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Shared val$language;
descriptor: Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$Shared;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(org.graalvm.compiler.truffle.test.ContextLookupCompilationTest, org.graalvm.polyglot.Context, org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Shared);
descriptor: (Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest;Lorg/graalvm/polyglot/Context;Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$Shared;)V
flags: (0x0000)
Code:
stack=2, locals=4, args_size=4
start local 0 0: aload 0
aload 1
putfield org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$2.this$0:Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest;
aload 0
aload 2
putfield org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$2.val$c:Lorg/graalvm/polyglot/Context;
aload 0
aload 3
putfield org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$2.val$language:Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$Shared;
aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$2;
MethodParameters:
Name Flags
this$0 final
val$c final
val$language final
public void run();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$2.val$c:Lorg/graalvm/polyglot/Context;
invokevirtual org.graalvm.polyglot.Context.enter:()V
1: aload 0
getfield org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$2.this$0:Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest;
aload 0
getfield org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$2.val$language:Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$Shared;
bipush 50
invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.createContextThreadLocalRead:(Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$Shared;I)Lcom/oracle/truffle/api/nodes/RootNode;
invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertCompiling:(Lcom/oracle/truffle/api/nodes/RootNode;)Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
pop
2: ldc "Invalid number of magic number reads thread index "
ldc 50
3: aload 0
getfield org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$2.this$0:Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest;
aload 0
getfield org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$2.this$0:Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest;
invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.access$0:(Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest;)Lorg/graalvm/compiler/nodes/StructuredGraph;
ldc Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$ContextLocalValue;
ldc "magicNumber"
invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.countFieldReads:(Lorg/graalvm/compiler/nodes/StructuredGraph;Ljava/lang/Class;Ljava/lang/String;)I
i2l
4: invokestatic org.junit.Assert.assertEquals:(Ljava/lang/String;JJ)V
5: aload 0
getfield org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$2.val$c:Lorg/graalvm/polyglot/Context;
invokevirtual org.graalvm.polyglot.Context.leave:()V
6: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$2;
}
SourceFile: "ContextLookupCompilationTest.java"
EnclosingMethod: org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.testContextThreadLocalRead:()V
NestHost: org.graalvm.compiler.truffle.test.ContextLookupCompilationTest
InnerClasses:
org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$2
final ContextLocalValue = org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$ContextLocalValue of org.graalvm.compiler.truffle.test.ContextLookupCompilationTest
public Shared = org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Shared of org.graalvm.compiler.truffle.test.ContextLookupCompilationTest