public class org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Shared extends com.oracle.truffle.api.TruffleLanguage<org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$LanguageContext>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Shared
super_class: com.oracle.truffle.api.TruffleLanguage
{
final com.oracle.truffle.api.ContextLocal<org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$ContextLocalValue> local;
descriptor: Lcom/oracle/truffle/api/ContextLocal;
flags: (0x0010) ACC_FINAL
Signature: Lcom/oracle/truffle/api/ContextLocal<Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$ContextLocalValue;>;
final com.oracle.truffle.api.ContextThreadLocal<org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$ContextLocalValue> threadLocal;
descriptor: Lcom/oracle/truffle/api/ContextThreadLocal;
flags: (0x0010) ACC_FINAL
Signature: Lcom/oracle/truffle/api/ContextThreadLocal<Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$ContextLocalValue;>;
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.TruffleLanguage.<init>:()V
1: aload 0
aload 0
invokedynamic create()Lcom/oracle/truffle/api/TruffleLanguage$ContextLocalFactory;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
org/graalvm/compiler/truffle/test/ContextLookupCompilationTest$Shared.lambda$0(Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$LanguageContext;)Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$ContextLocalValue; (6)
(Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$LanguageContext;)Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$ContextLocalValue;
invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Shared.createContextLocal:(Lcom/oracle/truffle/api/TruffleLanguage$ContextLocalFactory;)Lcom/oracle/truffle/api/ContextLocal;
putfield org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Shared.local:Lcom/oracle/truffle/api/ContextLocal;
2: aload 0
aload 0
invokedynamic create()Lcom/oracle/truffle/api/TruffleLanguage$ContextThreadLocalFactory;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;Ljava/lang/Thread;)Ljava/lang/Object;
org/graalvm/compiler/truffle/test/ContextLookupCompilationTest$Shared.lambda$1(Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$LanguageContext;Ljava/lang/Thread;)Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$ContextLocalValue; (6)
(Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$LanguageContext;Ljava/lang/Thread;)Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$ContextLocalValue;
invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Shared.createContextThreadLocal:(Lcom/oracle/truffle/api/TruffleLanguage$ContextThreadLocalFactory;)Lcom/oracle/truffle/api/ContextThreadLocal;
putfield org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Shared.threadLocal:Lcom/oracle/truffle/api/ContextThreadLocal;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$Shared;
protected org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$LanguageContext createContext(com.oracle.truffle.api.TruffleLanguage$Env);
descriptor: (Lcom/oracle/truffle/api/TruffleLanguage$Env;)Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$LanguageContext;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$LanguageContext
dup
aload 1
bipush 42
invokespecial org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$LanguageContext.<init>:(Lcom/oracle/truffle/api/TruffleLanguage$Env;I)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$Shared;
0 1 1 env Lcom/oracle/truffle/api/TruffleLanguage$Env;
MethodParameters:
Name Flags
env
protected boolean isThreadAccessAllowed(java.lang.Thread, boolean);
descriptor: (Ljava/lang/Thread;Z)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$Shared;
0 1 1 thread Ljava/lang/Thread;
0 1 2 singleThreaded Z
MethodParameters:
Name Flags
thread
singleThreaded
public static com.oracle.truffle.api.TruffleLanguage$ContextReference<org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$LanguageContext> getCurrentContextReference();
descriptor: ()Lcom/oracle/truffle/api/TruffleLanguage$ContextReference;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$Shared;
invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Shared.getCurrentLanguage:(Ljava/lang/Class;)Lcom/oracle/truffle/api/TruffleLanguage;
checkcast org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Shared
invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Shared.getContextReference:()Lcom/oracle/truffle/api/TruffleLanguage$ContextReference;
areturn
LocalVariableTable:
Start End Slot Name Signature
Signature: ()Lcom/oracle/truffle/api/TruffleLanguage$ContextReference<Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$LanguageContext;>;
public static org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$LanguageContext getCurrentContext();
descriptor: ()Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$LanguageContext;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$Shared;
invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Shared.getCurrentContext:(Ljava/lang/Class;)Ljava/lang/Object;
checkcast org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$LanguageContext
areturn
LocalVariableTable:
Start End Slot Name Signature
public static org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Shared get();
descriptor: ()Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$Shared;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$Shared;
invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Shared.getCurrentLanguage:(Ljava/lang/Class;)Lcom/oracle/truffle/api/TruffleLanguage;
checkcast org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Shared
areturn
LocalVariableTable:
Start End Slot Name Signature
protected java.lang.Object createContext(com.oracle.truffle.api.TruffleLanguage$Env);
descriptor: (Lcom/oracle/truffle/api/TruffleLanguage$Env;)Ljava/lang/Object;
flags: (0x1044) ACC_PROTECTED, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Shared.createContext:(Lcom/oracle/truffle/api/TruffleLanguage$Env;)Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$LanguageContext;
areturn
LocalVariableTable:
Start End Slot Name Signature
private static org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$ContextLocalValue lambda$0(org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$LanguageContext);
descriptor: (Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$LanguageContext;)Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$ContextLocalValue;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: new org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$ContextLocalValue
dup
invokespecial org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$ContextLocalValue.<init>:()V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 e Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$LanguageContext;
private static org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$ContextLocalValue lambda$1(org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$LanguageContext, java.lang.Thread);
descriptor: (Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$LanguageContext;Ljava/lang/Thread;)Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$ContextLocalValue;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: new org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$ContextLocalValue
dup
invokespecial org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$ContextLocalValue.<init>:()V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 e Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$LanguageContext;
0 1 1 t Ljava/lang/Thread;
}
Signature: Lcom/oracle/truffle/api/TruffleLanguage<Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$LanguageContext;>;
SourceFile: "ContextLookupCompilationTest.java"
NestHost: org.graalvm.compiler.truffle.test.ContextLookupCompilationTest
InnerClasses:
protected abstract ContextLocalFactory = com.oracle.truffle.api.TruffleLanguage$ContextLocalFactory of com.oracle.truffle.api.TruffleLanguage
public final ContextPolicy = com.oracle.truffle.api.TruffleLanguage$ContextPolicy of com.oracle.truffle.api.TruffleLanguage
public abstract ContextReference = com.oracle.truffle.api.TruffleLanguage$ContextReference of com.oracle.truffle.api.TruffleLanguage
protected abstract ContextThreadLocalFactory = com.oracle.truffle.api.TruffleLanguage$ContextThreadLocalFactory of com.oracle.truffle.api.TruffleLanguage
public final Env = com.oracle.truffle.api.TruffleLanguage$Env of com.oracle.truffle.api.TruffleLanguage
public abstract Registration = com.oracle.truffle.api.TruffleLanguage$Registration of com.oracle.truffle.api.TruffleLanguage
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
final ContextLocalValue = org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$ContextLocalValue of org.graalvm.compiler.truffle.test.ContextLookupCompilationTest
LanguageContext = org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$LanguageContext of org.graalvm.compiler.truffle.test.ContextLookupCompilationTest
public Shared = org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Shared of org.graalvm.compiler.truffle.test.ContextLookupCompilationTest
RuntimeVisibleAnnotations:
com.oracle.truffle.api.TruffleLanguage$Registration(id = "ContextLookupCompilationTestShared", name = "ContextLookupCompilationTestShared", contextPolicy = com.oracle.truffle.api.TruffleLanguage$ContextPolicy.SHARED:Lcom/oracle/truffle/api/TruffleLanguage$ContextPolicy;)