public final class com.oracle.truffle.js.runtime.JSEngine
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.oracle.truffle.js.runtime.JSEngine
super_class: java.lang.Object
{
private static final com.oracle.truffle.js.runtime.JSEngine INSTANCE;
descriptor: Lcom/oracle/truffle/js/runtime/JSEngine;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final com.oracle.truffle.js.runtime.Evaluator parser;
descriptor: Lcom/oracle/truffle/js/runtime/Evaluator;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new com.oracle.truffle.js.runtime.JSEngine
dup
invokespecial com.oracle.truffle.js.runtime.JSEngine.<init>:()V
putstatic com.oracle.truffle.js.runtime.JSEngine.INSTANCE:Lcom/oracle/truffle/js/runtime/JSEngine;
return
LocalVariableTable:
Start End Slot Name Signature
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
astore 1
start local 1 2: aload 0
ldc Lcom/oracle/truffle/js/runtime/Evaluator;
aload 1
invokestatic java.util.ServiceLoader.load:(Ljava/lang/Class;Ljava/lang/ClassLoader;)Ljava/util/ServiceLoader;
invokevirtual java.util.ServiceLoader.iterator:()Ljava/util/Iterator;
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.oracle.truffle.js.runtime.Evaluator
putfield com.oracle.truffle.js.runtime.JSEngine.parser:Lcom/oracle/truffle/js/runtime/Evaluator;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/truffle/js/runtime/JSEngine;
2 4 1 classLoader Ljava/lang/ClassLoader;
public static com.oracle.truffle.js.runtime.JSEngine getInstance();
descriptor: ()Lcom/oracle/truffle/js/runtime/JSEngine;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic com.oracle.truffle.js.runtime.JSEngine.INSTANCE:Lcom/oracle/truffle/js/runtime/JSEngine;
areturn
LocalVariableTable:
Start End Slot Name Signature
public com.oracle.truffle.js.runtime.Evaluator getEvaluator();
descriptor: ()Lcom/oracle/truffle/js/runtime/Evaluator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.js.runtime.JSEngine.parser:Lcom/oracle/truffle/js/runtime/Evaluator;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/runtime/JSEngine;
public com.oracle.truffle.js.runtime.Evaluator getParser();
descriptor: ()Lcom/oracle/truffle/js/runtime/Evaluator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.js.runtime.JSEngine.parser:Lcom/oracle/truffle/js/runtime/Evaluator;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/runtime/JSEngine;
private com.oracle.truffle.js.runtime.JSContext createContext(com.oracle.truffle.js.lang.JavaScriptLanguage, com.oracle.truffle.api.TruffleLanguage$Env);
descriptor: (Lcom/oracle/truffle/js/lang/JavaScriptLanguage;Lcom/oracle/truffle/api/TruffleLanguage$Env;)Lcom/oracle/truffle/js/runtime/JSContext;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokevirtual com.oracle.truffle.api.TruffleLanguage$Env.getOptions:()Lorg/graalvm/options/OptionValues;
invokestatic com.oracle.truffle.js.runtime.JSContextOptions.fromOptionValues:(Lorg/graalvm/options/OptionValues;)Lcom/oracle/truffle/js/runtime/JSContextOptions;
astore 3
start local 3 1: aload 0
getfield com.oracle.truffle.js.runtime.JSEngine.parser:Lcom/oracle/truffle/js/runtime/Evaluator;
aload 3
aload 1
aload 2
invokestatic com.oracle.truffle.js.runtime.JSContext.createContext:(Lcom/oracle/truffle/js/runtime/Evaluator;Lcom/oracle/truffle/js/runtime/JSContextOptions;Lcom/oracle/truffle/js/lang/JavaScriptLanguage;Lcom/oracle/truffle/api/TruffleLanguage$Env;)Lcom/oracle/truffle/js/runtime/JSContext;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/truffle/js/runtime/JSEngine;
0 2 1 language Lcom/oracle/truffle/js/lang/JavaScriptLanguage;
0 2 2 env Lcom/oracle/truffle/api/TruffleLanguage$Env;
1 2 3 contextOptions Lcom/oracle/truffle/js/runtime/JSContextOptions;
MethodParameters:
Name Flags
language
env
public com.oracle.truffle.js.runtime.JSContext createContext(com.oracle.truffle.js.lang.JavaScriptLanguage, com.oracle.truffle.js.runtime.JSContextOptions, com.oracle.truffle.api.TruffleLanguage$Env);
descriptor: (Lcom/oracle/truffle/js/lang/JavaScriptLanguage;Lcom/oracle/truffle/js/runtime/JSContextOptions;Lcom/oracle/truffle/api/TruffleLanguage$Env;)Lcom/oracle/truffle/js/runtime/JSContext;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield com.oracle.truffle.js.runtime.JSEngine.parser:Lcom/oracle/truffle/js/runtime/Evaluator;
aload 2
aload 1
aload 3
invokestatic com.oracle.truffle.js.runtime.JSContext.createContext:(Lcom/oracle/truffle/js/runtime/Evaluator;Lcom/oracle/truffle/js/runtime/JSContextOptions;Lcom/oracle/truffle/js/lang/JavaScriptLanguage;Lcom/oracle/truffle/api/TruffleLanguage$Env;)Lcom/oracle/truffle/js/runtime/JSContext;
areturn
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/js/runtime/JSEngine;
0 1 1 language Lcom/oracle/truffle/js/lang/JavaScriptLanguage;
0 1 2 contextOptions Lcom/oracle/truffle/js/runtime/JSContextOptions;
0 1 3 env Lcom/oracle/truffle/api/TruffleLanguage$Env;
MethodParameters:
Name Flags
language
contextOptions
env
public static com.oracle.truffle.js.runtime.JSContext createJSContext(com.oracle.truffle.js.lang.JavaScriptLanguage, com.oracle.truffle.api.TruffleLanguage$Env);
descriptor: (Lcom/oracle/truffle/js/lang/JavaScriptLanguage;Lcom/oracle/truffle/api/TruffleLanguage$Env;)Lcom/oracle/truffle/js/runtime/JSContext;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: invokestatic com.oracle.truffle.js.runtime.JSEngine.getInstance:()Lcom/oracle/truffle/js/runtime/JSEngine;
aload 0
aload 1
invokevirtual com.oracle.truffle.js.runtime.JSEngine.createContext:(Lcom/oracle/truffle/js/lang/JavaScriptLanguage;Lcom/oracle/truffle/api/TruffleLanguage$Env;)Lcom/oracle/truffle/js/runtime/JSContext;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 language Lcom/oracle/truffle/js/lang/JavaScriptLanguage;
0 1 1 env Lcom/oracle/truffle/api/TruffleLanguage$Env;
MethodParameters:
Name Flags
language
env
}
SourceFile: "JSEngine.java"
InnerClasses:
public final Env = com.oracle.truffle.api.TruffleLanguage$Env of com.oracle.truffle.api.TruffleLanguage