public final class jdk.nashorn.internal.codegen.Compiler implements jdk.nashorn.internal.runtime.logging.Loggable
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: jdk.nashorn.internal.codegen.Compiler
super_class: java.lang.Object
{
public static final java.lang.String SCRIPTS_PACKAGE;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "jdk/nashorn/internal/scripts"
public static final java.lang.String OBJECTS_PACKAGE;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "jdk/nashorn/internal/objects"
private final jdk.nashorn.internal.runtime.ScriptEnvironment env;
descriptor: Ljdk/nashorn/internal/runtime/ScriptEnvironment;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.nashorn.internal.runtime.Source source;
descriptor: Ljdk/nashorn/internal/runtime/Source;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String sourceName;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.nashorn.internal.runtime.ErrorManager errors;
descriptor: Ljdk/nashorn/internal/runtime/ErrorManager;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean optimistic;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.Map<java.lang.String, byte[]> bytecode;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;[B>;
private final java.util.Set<jdk.nashorn.internal.codegen.CompileUnit> compileUnits;
descriptor: Ljava/util/Set;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Set<Ljdk/nashorn/internal/codegen/CompileUnit;>;
private final jdk.nashorn.internal.codegen.ConstantData constantData;
descriptor: Ljdk/nashorn/internal/codegen/ConstantData;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.nashorn.internal.runtime.CodeInstaller installer;
descriptor: Ljdk/nashorn/internal/runtime/CodeInstaller;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.nashorn.internal.runtime.logging.DebugLogger log;
descriptor: Ljdk/nashorn/internal/runtime/logging/DebugLogger;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.nashorn.internal.runtime.Context context;
descriptor: Ljdk/nashorn/internal/runtime/Context;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.nashorn.internal.codegen.TypeMap types;
descriptor: Ljdk/nashorn/internal/codegen/TypeMap;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.nashorn.internal.codegen.TypeEvaluator typeEvaluator;
descriptor: Ljdk/nashorn/internal/codegen/TypeEvaluator;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean strict;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean onDemand;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.Map<java.lang.Integer, jdk.nashorn.internal.codegen.types.Type> invalidatedProgramPoints;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/Integer;Ljdk/nashorn/internal/codegen/types/Type;>;
private final java.lang.Object typeInformationFile;
descriptor: Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String firstCompileUnitName;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int[] continuationEntryPoints;
descriptor: [I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private jdk.nashorn.internal.runtime.RecompilableScriptFunctionData compiledFunction;
descriptor: Ljdk/nashorn/internal/runtime/RecompilableScriptFunctionData;
flags: (0x0002) ACC_PRIVATE
private static final int COMPILE_UNIT_NAME_BUFFER_SIZE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 32
private static java.lang.String[] RESERVED_NAMES;
descriptor: [Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private final int compilationId;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.concurrent.atomic.AtomicInteger nextCompileUnitId;
descriptor: Ljava/util/concurrent/atomic/AtomicInteger;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static final java.util.concurrent.atomic.AtomicInteger COMPILATION_ID;
descriptor: Ljava/util/concurrent/atomic/AtomicInteger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.String DANGEROUS_CHARS;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "\\/.;:$[]<>"
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: ldc Ljdk/nashorn/internal/codegen/Compiler;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic jdk.nashorn.internal.codegen.Compiler.$assertionsDisabled:Z
3: bipush 6
anewarray java.lang.String
dup
iconst_0
4: getstatic jdk.nashorn.internal.codegen.CompilerConstants.SCOPE:Ljdk/nashorn/internal/codegen/CompilerConstants;
invokevirtual jdk.nashorn.internal.codegen.CompilerConstants.symbolName:()Ljava/lang/String;
aastore
dup
iconst_1
5: getstatic jdk.nashorn.internal.codegen.CompilerConstants.THIS:Ljdk/nashorn/internal/codegen/CompilerConstants;
invokevirtual jdk.nashorn.internal.codegen.CompilerConstants.symbolName:()Ljava/lang/String;
aastore
dup
iconst_2
6: getstatic jdk.nashorn.internal.codegen.CompilerConstants.RETURN:Ljdk/nashorn/internal/codegen/CompilerConstants;
invokevirtual jdk.nashorn.internal.codegen.CompilerConstants.symbolName:()Ljava/lang/String;
aastore
dup
iconst_3
7: getstatic jdk.nashorn.internal.codegen.CompilerConstants.CALLEE:Ljdk/nashorn/internal/codegen/CompilerConstants;
invokevirtual jdk.nashorn.internal.codegen.CompilerConstants.symbolName:()Ljava/lang/String;
aastore
dup
iconst_4
8: getstatic jdk.nashorn.internal.codegen.CompilerConstants.VARARGS:Ljdk/nashorn/internal/codegen/CompilerConstants;
invokevirtual jdk.nashorn.internal.codegen.CompilerConstants.symbolName:()Ljava/lang/String;
aastore
dup
iconst_5
9: getstatic jdk.nashorn.internal.codegen.CompilerConstants.ARGUMENTS:Ljdk/nashorn/internal/codegen/CompilerConstants;
invokevirtual jdk.nashorn.internal.codegen.CompilerConstants.symbolName:()Ljava/lang/String;
aastore
10: putstatic jdk.nashorn.internal.codegen.Compiler.RESERVED_NAMES:[Ljava/lang/String;
11: new java.util.concurrent.atomic.AtomicInteger
dup
iconst_0
invokespecial java.util.concurrent.atomic.AtomicInteger.<init>:(I)V
putstatic jdk.nashorn.internal.codegen.Compiler.COMPILATION_ID:Ljava/util/concurrent/atomic/AtomicInteger;
12: return
LocalVariableTable:
Start End Slot Name Signature
public static jdk.nashorn.internal.codegen.Compiler forInitialCompilation(jdk.nashorn.internal.runtime.CodeInstaller, jdk.nashorn.internal.runtime.Source, jdk.nashorn.internal.runtime.ErrorManager, boolean);
descriptor: (Ljdk/nashorn/internal/runtime/CodeInstaller;Ljdk/nashorn/internal/runtime/Source;Ljdk/nashorn/internal/runtime/ErrorManager;Z)Ljdk/nashorn/internal/codegen/Compiler;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new jdk.nashorn.internal.codegen.Compiler
dup
aload 0
invokeinterface jdk.nashorn.internal.runtime.CodeInstaller.getContext:()Ljdk/nashorn/internal/runtime/Context;
aload 0
aload 1
aload 2
iload 3
invokespecial jdk.nashorn.internal.codegen.Compiler.<init>:(Ljdk/nashorn/internal/runtime/Context;Ljdk/nashorn/internal/runtime/CodeInstaller;Ljdk/nashorn/internal/runtime/Source;Ljdk/nashorn/internal/runtime/ErrorManager;Z)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 installer Ljdk/nashorn/internal/runtime/CodeInstaller;
0 1 1 source Ljdk/nashorn/internal/runtime/Source;
0 1 2 errors Ljdk/nashorn/internal/runtime/ErrorManager;
0 1 3 isStrict Z
MethodParameters:
Name Flags
installer final
source final
errors final
isStrict final
public static jdk.nashorn.internal.codegen.Compiler forNoInstallerCompilation(jdk.nashorn.internal.runtime.Context, jdk.nashorn.internal.runtime.Source, boolean);
descriptor: (Ljdk/nashorn/internal/runtime/Context;Ljdk/nashorn/internal/runtime/Source;Z)Ljdk/nashorn/internal/codegen/Compiler;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new jdk.nashorn.internal.codegen.Compiler
dup
aload 0
aconst_null
aload 1
aload 0
invokevirtual jdk.nashorn.internal.runtime.Context.getErrorManager:()Ljdk/nashorn/internal/runtime/ErrorManager;
iload 2
invokespecial jdk.nashorn.internal.codegen.Compiler.<init>:(Ljdk/nashorn/internal/runtime/Context;Ljdk/nashorn/internal/runtime/CodeInstaller;Ljdk/nashorn/internal/runtime/Source;Ljdk/nashorn/internal/runtime/ErrorManager;Z)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 context Ljdk/nashorn/internal/runtime/Context;
0 1 1 source Ljdk/nashorn/internal/runtime/Source;
0 1 2 isStrict Z
MethodParameters:
Name Flags
context final
source final
isStrict final
public static jdk.nashorn.internal.codegen.Compiler forOnDemandCompilation(jdk.nashorn.internal.runtime.CodeInstaller, jdk.nashorn.internal.runtime.Source, boolean, jdk.nashorn.internal.runtime.RecompilableScriptFunctionData, jdk.nashorn.internal.codegen.TypeMap, java.util.Map<java.lang.Integer, jdk.nashorn.internal.codegen.types.Type>, , int[], jdk.nashorn.internal.runtime.ScriptObject);
descriptor: (Ljdk/nashorn/internal/runtime/CodeInstaller;Ljdk/nashorn/internal/runtime/Source;ZLjdk/nashorn/internal/runtime/RecompilableScriptFunctionData;Ljdk/nashorn/internal/codegen/TypeMap;Ljava/util/Map;Ljava/lang/Object;[ILjdk/nashorn/internal/runtime/ScriptObject;)Ljdk/nashorn/internal/codegen/Compiler;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=14, locals=10, args_size=9
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 0: aload 0
invokeinterface jdk.nashorn.internal.runtime.CodeInstaller.getContext:()Ljdk/nashorn/internal/runtime/Context;
astore 9
start local 9 1: new jdk.nashorn.internal.codegen.Compiler
dup
aload 9
aload 0
aload 1
aload 9
invokevirtual jdk.nashorn.internal.runtime.Context.getErrorManager:()Ljdk/nashorn/internal/runtime/ErrorManager;
iload 2
iconst_1
2: aload 3
aload 4
aload 5
aload 6
3: aload 7
aload 8
4: invokespecial jdk.nashorn.internal.codegen.Compiler.<init>:(Ljdk/nashorn/internal/runtime/Context;Ljdk/nashorn/internal/runtime/CodeInstaller;Ljdk/nashorn/internal/runtime/Source;Ljdk/nashorn/internal/runtime/ErrorManager;ZZLjdk/nashorn/internal/runtime/RecompilableScriptFunctionData;Ljdk/nashorn/internal/codegen/TypeMap;Ljava/util/Map;Ljava/lang/Object;[ILjdk/nashorn/internal/runtime/ScriptObject;)V
areturn
end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 installer Ljdk/nashorn/internal/runtime/CodeInstaller;
0 5 1 source Ljdk/nashorn/internal/runtime/Source;
0 5 2 isStrict Z
0 5 3 compiledFunction Ljdk/nashorn/internal/runtime/RecompilableScriptFunctionData;
0 5 4 types Ljdk/nashorn/internal/codegen/TypeMap;
0 5 5 invalidatedProgramPoints Ljava/util/Map<Ljava/lang/Integer;Ljdk/nashorn/internal/codegen/types/Type;>;
0 5 6 typeInformationFile Ljava/lang/Object;
0 5 7 continuationEntryPoints [I
0 5 8 runtimeScope Ljdk/nashorn/internal/runtime/ScriptObject;
1 5 9 context Ljdk/nashorn/internal/runtime/Context;
Signature: (Ljdk/nashorn/internal/runtime/CodeInstaller;Ljdk/nashorn/internal/runtime/Source;ZLjdk/nashorn/internal/runtime/RecompilableScriptFunctionData;Ljdk/nashorn/internal/codegen/TypeMap;Ljava/util/Map<Ljava/lang/Integer;Ljdk/nashorn/internal/codegen/types/Type;>;Ljava/lang/Object;[ILjdk/nashorn/internal/runtime/ScriptObject;)Ljdk/nashorn/internal/codegen/Compiler;
MethodParameters:
Name Flags
installer final
source final
isStrict final
compiledFunction final
types final
invalidatedProgramPoints final
typeInformationFile final
continuationEntryPoints final
runtimeScope final
private void <init>(jdk.nashorn.internal.runtime.Context, jdk.nashorn.internal.runtime.CodeInstaller, jdk.nashorn.internal.runtime.Source, jdk.nashorn.internal.runtime.ErrorManager, boolean);
descriptor: (Ljdk/nashorn/internal/runtime/Context;Ljdk/nashorn/internal/runtime/CodeInstaller;Ljdk/nashorn/internal/runtime/Source;Ljdk/nashorn/internal/runtime/ErrorManager;Z)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=13, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
aload 1
aload 2
aload 3
aload 4
iload 5
iconst_0
aconst_null
aconst_null
aconst_null
aconst_null
aconst_null
aconst_null
invokespecial jdk.nashorn.internal.codegen.Compiler.<init>:(Ljdk/nashorn/internal/runtime/Context;Ljdk/nashorn/internal/runtime/CodeInstaller;Ljdk/nashorn/internal/runtime/Source;Ljdk/nashorn/internal/runtime/ErrorManager;ZZLjdk/nashorn/internal/runtime/RecompilableScriptFunctionData;Ljdk/nashorn/internal/codegen/TypeMap;Ljava/util/Map;Ljava/lang/Object;[ILjdk/nashorn/internal/runtime/ScriptObject;)V
1: return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/nashorn/internal/codegen/Compiler;
0 2 1 context Ljdk/nashorn/internal/runtime/Context;
0 2 2 installer Ljdk/nashorn/internal/runtime/CodeInstaller;
0 2 3 source Ljdk/nashorn/internal/runtime/Source;
0 2 4 errors Ljdk/nashorn/internal/runtime/ErrorManager;
0 2 5 isStrict Z
MethodParameters:
Name Flags
context final
installer final
source final
errors final
isStrict final
private void <init>(jdk.nashorn.internal.runtime.Context, jdk.nashorn.internal.runtime.CodeInstaller, jdk.nashorn.internal.runtime.Source, jdk.nashorn.internal.runtime.ErrorManager, boolean, boolean, jdk.nashorn.internal.runtime.RecompilableScriptFunctionData, jdk.nashorn.internal.codegen.TypeMap, java.util.Map<java.lang.Integer, jdk.nashorn.internal.codegen.types.Type>, , int[], jdk.nashorn.internal.runtime.ScriptObject);
descriptor: (Ljdk/nashorn/internal/runtime/Context;Ljdk/nashorn/internal/runtime/CodeInstaller;Ljdk/nashorn/internal/runtime/Source;Ljdk/nashorn/internal/runtime/ErrorManager;ZZLjdk/nashorn/internal/runtime/RecompilableScriptFunctionData;Ljdk/nashorn/internal/codegen/TypeMap;Ljava/util/Map;Ljava/lang/Object;[ILjdk/nashorn/internal/runtime/ScriptObject;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=13, args_size=13
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 start local 9 start local 10 start local 11 start local 12 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
getstatic jdk.nashorn.internal.codegen.Compiler.COMPILATION_ID:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.getAndIncrement:()I
putfield jdk.nashorn.internal.codegen.Compiler.compilationId:I
2: aload 0
new java.util.concurrent.atomic.AtomicInteger
dup
iconst_0
invokespecial java.util.concurrent.atomic.AtomicInteger.<init>:(I)V
putfield jdk.nashorn.internal.codegen.Compiler.nextCompileUnitId:Ljava/util/concurrent/atomic/AtomicInteger;
3: aload 0
aload 1
putfield jdk.nashorn.internal.codegen.Compiler.context:Ljdk/nashorn/internal/runtime/Context;
4: aload 0
aload 1
invokevirtual jdk.nashorn.internal.runtime.Context.getEnv:()Ljdk/nashorn/internal/runtime/ScriptEnvironment;
putfield jdk.nashorn.internal.codegen.Compiler.env:Ljdk/nashorn/internal/runtime/ScriptEnvironment;
5: aload 0
aload 2
putfield jdk.nashorn.internal.codegen.Compiler.installer:Ljdk/nashorn/internal/runtime/CodeInstaller;
6: aload 0
new jdk.nashorn.internal.codegen.ConstantData
dup
invokespecial jdk.nashorn.internal.codegen.ConstantData.<init>:()V
putfield jdk.nashorn.internal.codegen.Compiler.constantData:Ljdk/nashorn/internal/codegen/ConstantData;
7: aload 0
invokestatic jdk.nashorn.internal.codegen.CompileUnit.createCompileUnitSet:()Ljava/util/Set;
putfield jdk.nashorn.internal.codegen.Compiler.compileUnits:Ljava/util/Set;
8: aload 0
new java.util.LinkedHashMap
dup
invokespecial java.util.LinkedHashMap.<init>:()V
putfield jdk.nashorn.internal.codegen.Compiler.bytecode:Ljava/util/Map;
9: aload 0
aload 0
aload 1
invokevirtual jdk.nashorn.internal.codegen.Compiler.initLogger:(Ljdk/nashorn/internal/runtime/Context;)Ljdk/nashorn/internal/runtime/logging/DebugLogger;
putfield jdk.nashorn.internal.codegen.Compiler.log:Ljdk/nashorn/internal/runtime/logging/DebugLogger;
10: aload 0
aload 3
putfield jdk.nashorn.internal.codegen.Compiler.source:Ljdk/nashorn/internal/runtime/Source;
11: aload 0
aload 4
putfield jdk.nashorn.internal.codegen.Compiler.errors:Ljdk/nashorn/internal/runtime/ErrorManager;
12: aload 0
aload 3
invokestatic jdk.nashorn.internal.ir.FunctionNode.getSourceName:(Ljdk/nashorn/internal/runtime/Source;)Ljava/lang/String;
putfield jdk.nashorn.internal.codegen.Compiler.sourceName:Ljava/lang/String;
13: aload 0
iload 6
putfield jdk.nashorn.internal.codegen.Compiler.onDemand:Z
14: aload 0
aload 7
putfield jdk.nashorn.internal.codegen.Compiler.compiledFunction:Ljdk/nashorn/internal/runtime/RecompilableScriptFunctionData;
15: aload 0
aload 8
putfield jdk.nashorn.internal.codegen.Compiler.types:Ljdk/nashorn/internal/codegen/TypeMap;
16: aload 0
aload 9
ifnonnull 17
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
goto 18
StackMap locals: jdk.nashorn.internal.codegen.Compiler jdk.nashorn.internal.runtime.Context jdk.nashorn.internal.runtime.CodeInstaller jdk.nashorn.internal.runtime.Source jdk.nashorn.internal.runtime.ErrorManager int int jdk.nashorn.internal.runtime.RecompilableScriptFunctionData jdk.nashorn.internal.codegen.TypeMap java.util.Map java.lang.Object int[] jdk.nashorn.internal.runtime.ScriptObject
StackMap stack: jdk.nashorn.internal.codegen.Compiler
17: aload 9
StackMap locals: jdk.nashorn.internal.codegen.Compiler jdk.nashorn.internal.runtime.Context jdk.nashorn.internal.runtime.CodeInstaller jdk.nashorn.internal.runtime.Source jdk.nashorn.internal.runtime.ErrorManager int int jdk.nashorn.internal.runtime.RecompilableScriptFunctionData jdk.nashorn.internal.codegen.TypeMap java.util.Map java.lang.Object int[] jdk.nashorn.internal.runtime.ScriptObject
StackMap stack: jdk.nashorn.internal.codegen.Compiler java.util.Map
18: putfield jdk.nashorn.internal.codegen.Compiler.invalidatedProgramPoints:Ljava/util/Map;
19: aload 0
aload 10
putfield jdk.nashorn.internal.codegen.Compiler.typeInformationFile:Ljava/lang/Object;
20: aload 0
aload 11
ifnonnull 21
aconst_null
goto 22
StackMap locals:
StackMap stack: jdk.nashorn.internal.codegen.Compiler
21: aload 11
invokevirtual int[].clone:()Ljava/lang/Object;
checkcast int[]
StackMap locals: jdk.nashorn.internal.codegen.Compiler jdk.nashorn.internal.runtime.Context jdk.nashorn.internal.runtime.CodeInstaller jdk.nashorn.internal.runtime.Source jdk.nashorn.internal.runtime.ErrorManager int int jdk.nashorn.internal.runtime.RecompilableScriptFunctionData jdk.nashorn.internal.codegen.TypeMap java.util.Map java.lang.Object int[] jdk.nashorn.internal.runtime.ScriptObject
StackMap stack: jdk.nashorn.internal.codegen.Compiler int[]
22: putfield jdk.nashorn.internal.codegen.Compiler.continuationEntryPoints:[I
23: aload 0
new jdk.nashorn.internal.codegen.TypeEvaluator
dup
aload 0
aload 12
invokespecial jdk.nashorn.internal.codegen.TypeEvaluator.<init>:(Ljdk/nashorn/internal/codegen/Compiler;Ljdk/nashorn/internal/runtime/ScriptObject;)V
putfield jdk.nashorn.internal.codegen.Compiler.typeEvaluator:Ljdk/nashorn/internal/codegen/TypeEvaluator;
24: aload 0
aload 0
invokevirtual jdk.nashorn.internal.codegen.Compiler.firstCompileUnitName:()Ljava/lang/String;
putfield jdk.nashorn.internal.codegen.Compiler.firstCompileUnitName:Ljava/lang/String;
25: aload 0
iload 5
putfield jdk.nashorn.internal.codegen.Compiler.strict:Z
26: aload 0
aload 0
getfield jdk.nashorn.internal.codegen.Compiler.env:Ljdk/nashorn/internal/runtime/ScriptEnvironment;
getfield jdk.nashorn.internal.runtime.ScriptEnvironment._optimistic_types:Z
putfield jdk.nashorn.internal.codegen.Compiler.optimistic:Z
27: return
end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 28 0 this Ljdk/nashorn/internal/codegen/Compiler;
0 28 1 context Ljdk/nashorn/internal/runtime/Context;
0 28 2 installer Ljdk/nashorn/internal/runtime/CodeInstaller;
0 28 3 source Ljdk/nashorn/internal/runtime/Source;
0 28 4 errors Ljdk/nashorn/internal/runtime/ErrorManager;
0 28 5 isStrict Z
0 28 6 isOnDemand Z
0 28 7 compiledFunction Ljdk/nashorn/internal/runtime/RecompilableScriptFunctionData;
0 28 8 types Ljdk/nashorn/internal/codegen/TypeMap;
0 28 9 invalidatedProgramPoints Ljava/util/Map<Ljava/lang/Integer;Ljdk/nashorn/internal/codegen/types/Type;>;
0 28 10 typeInformationFile Ljava/lang/Object;
0 28 11 continuationEntryPoints [I
0 28 12 runtimeScope Ljdk/nashorn/internal/runtime/ScriptObject;
Signature: (Ljdk/nashorn/internal/runtime/Context;Ljdk/nashorn/internal/runtime/CodeInstaller;Ljdk/nashorn/internal/runtime/Source;Ljdk/nashorn/internal/runtime/ErrorManager;ZZLjdk/nashorn/internal/runtime/RecompilableScriptFunctionData;Ljdk/nashorn/internal/codegen/TypeMap;Ljava/util/Map<Ljava/lang/Integer;Ljdk/nashorn/internal/codegen/types/Type;>;Ljava/lang/Object;[ILjdk/nashorn/internal/runtime/ScriptObject;)V
MethodParameters:
Name Flags
context final
installer final
source final
errors final
isStrict final
isOnDemand final
compiledFunction final
types final
invalidatedProgramPoints final
typeInformationFile final
continuationEntryPoints final
runtimeScope final
private java.lang.String safeSourceName();
descriptor: ()Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=1
start local 0 0: new java.io.File
dup
aload 0
getfield jdk.nashorn.internal.codegen.Compiler.source:Ljdk/nashorn/internal/runtime/Source;
invokevirtual jdk.nashorn.internal.runtime.Source.getName:()Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
invokevirtual java.io.File.getName:()Ljava/lang/String;
astore 1
start local 1 1: aload 1
ldc ".js"
invokevirtual java.lang.String.lastIndexOf:(Ljava/lang/String;)I
istore 2
start local 2 2: iload 2
iconst_m1
if_icmpeq 4
3: aload 1
iconst_0
iload 2
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 1
4: StackMap locals: java.lang.String int
StackMap stack:
aload 1
bipush 46
bipush 95
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
bipush 45
bipush 95
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
astore 1
5: aload 0
getfield jdk.nashorn.internal.codegen.Compiler.env:Ljdk/nashorn/internal/runtime/ScriptEnvironment;
getfield jdk.nashorn.internal.runtime.ScriptEnvironment._loader_per_compile:Z
ifne 7
6: new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield jdk.nashorn.internal.codegen.Compiler.installer:Ljdk/nashorn/internal/runtime/CodeInstaller;
invokeinterface jdk.nashorn.internal.runtime.CodeInstaller.getUniqueScriptId:()J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
7: StackMap locals:
StackMap stack:
aload 0
getfield jdk.nashorn.internal.codegen.Compiler.env:Ljdk/nashorn/internal/runtime/ScriptEnvironment;
getfield jdk.nashorn.internal.runtime.ScriptEnvironment._verify_code:Z
ifeq 8
aload 1
invokestatic jdk.nashorn.internal.codegen.Compiler.replaceDangerChars:(Ljava/lang/String;)Ljava/lang/String;
goto 9
StackMap locals:
StackMap stack:
8: aload 1
invokestatic jdk.nashorn.internal.runtime.linker.NameCodec.encode:(Ljava/lang/String;)Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
9: astore 3
start local 3 10: aload 3
ifnull 11
aload 3
goto 12
StackMap locals: java.lang.String
StackMap stack:
11: aload 1
StackMap locals:
StackMap stack: java.lang.String
12: areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljdk/nashorn/internal/codegen/Compiler;
1 13 1 baseName Ljava/lang/String;
2 13 2 index I
10 13 3 mangled Ljava/lang/String;
private static java.lang.String replaceDangerChars(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=5, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.String.length:()I
istore 1
start local 1 1: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 2
start local 2 2: iconst_0
istore 3
start local 3 3: goto 10
4: StackMap locals: int java.lang.StringBuilder int
StackMap stack:
aload 0
iload 3
invokevirtual java.lang.String.charAt:(I)C
istore 4
start local 4 5: ldc "\\/.;:$[]<>"
iload 4
invokevirtual java.lang.String.indexOf:(I)I
iconst_m1
if_icmpeq 8
6: aload 2
bipush 95
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
7: goto 9
8: StackMap locals: int
StackMap stack:
aload 2
iload 4
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
end local 4 9: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
10: iload 3
iload 1
if_icmplt 4
end local 3 11: aload 2
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 name Ljava/lang/String;
1 12 1 len I
2 12 2 buf Ljava/lang/StringBuilder;
3 11 3 i I
5 9 4 ch C
MethodParameters:
Name Flags
name final
private java.lang.String firstCompileUnitName();
descriptor: ()Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=7, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "jdk/nashorn/internal/scripts"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
1: bipush 47
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
2: getstatic jdk.nashorn.internal.codegen.CompilerConstants.DEFAULT_SCRIPT_NAME:Ljdk/nashorn/internal/codegen/CompilerConstants;
invokevirtual jdk.nashorn.internal.codegen.CompilerConstants.symbolName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
3: bipush 36
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
4: astore 1
start local 1 5: aload 0
invokevirtual jdk.nashorn.internal.codegen.Compiler.isOnDemandCompilation:()Z
ifeq 7
6: aload 1
ldc "Recompilation$"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
7: StackMap locals: java.lang.StringBuilder
StackMap stack:
aload 0
getfield jdk.nashorn.internal.codegen.Compiler.compilationId:I
ifle 9
8: aload 1
aload 0
getfield jdk.nashorn.internal.codegen.Compiler.compilationId:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
bipush 36
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
9: StackMap locals:
StackMap stack:
aload 0
getfield jdk.nashorn.internal.codegen.Compiler.types:Ljdk/nashorn/internal/codegen/TypeMap;
ifnull 18
aload 0
getfield jdk.nashorn.internal.codegen.Compiler.compiledFunction:Ljdk/nashorn/internal/runtime/RecompilableScriptFunctionData;
invokevirtual jdk.nashorn.internal.runtime.RecompilableScriptFunctionData.getFunctionNodeId:()I
ifle 18
10: aload 1
aload 0
getfield jdk.nashorn.internal.codegen.Compiler.compiledFunction:Ljdk/nashorn/internal/runtime/RecompilableScriptFunctionData;
invokevirtual jdk.nashorn.internal.runtime.RecompilableScriptFunctionData.getFunctionNodeId:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
pop
11: aload 0
getfield jdk.nashorn.internal.codegen.Compiler.types:Ljdk/nashorn/internal/codegen/TypeMap;
aload 0
getfield jdk.nashorn.internal.codegen.Compiler.compiledFunction:Ljdk/nashorn/internal/runtime/RecompilableScriptFunctionData;
invokevirtual jdk.nashorn.internal.runtime.RecompilableScriptFunctionData.getFunctionNodeId:()I
invokevirtual jdk.nashorn.internal.codegen.TypeMap.getParameterTypes:(I)[Ljdk/nashorn/internal/codegen/types/Type;
astore 2
start local 2 12: aload 2
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 16
StackMap locals: jdk.nashorn.internal.codegen.Compiler java.lang.StringBuilder jdk.nashorn.internal.codegen.types.Type[] top int int jdk.nashorn.internal.codegen.types.Type[]
StackMap stack:
13: aload 6
iload 4
aaload
astore 3
start local 3 14: aload 1
aload 3
invokestatic jdk.nashorn.internal.codegen.types.Type.getShortSignatureDescriptor:(Ljdk/nashorn/internal/codegen/types/Type;)C
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
end local 3 15: iinc 4 1
StackMap locals:
StackMap stack:
16: iload 4
iload 5
if_icmplt 13
17: aload 1
bipush 36
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
end local 2 18: StackMap locals: jdk.nashorn.internal.codegen.Compiler java.lang.StringBuilder
StackMap stack:
aload 1
aload 0
invokevirtual jdk.nashorn.internal.codegen.Compiler.safeSourceName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
19: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Ljdk/nashorn/internal/codegen/Compiler;
5 20 1 sb Ljava/lang/StringBuilder;
12 18 2 paramTypes [Ljdk/nashorn/internal/codegen/types/Type;
14 15 3 t Ljdk/nashorn/internal/codegen/types/Type;
void declareLocalSymbol(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.nashorn.internal.codegen.Compiler.typeEvaluator:Ljdk/nashorn/internal/codegen/TypeEvaluator;
aload 1
invokevirtual jdk.nashorn.internal.codegen.TypeEvaluator.declareLocalSymbol:(Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/nashorn/internal/codegen/Compiler;
0 2 1 symbolName Ljava/lang/String;
MethodParameters:
Name Flags
symbolName final
void setData(jdk.nashorn.internal.runtime.RecompilableScriptFunctionData);
descriptor: (Ljdk/nashorn/internal/runtime/RecompilableScriptFunctionData;)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: getstatic jdk.nashorn.internal.codegen.Compiler.$assertionsDisabled:Z
ifne 1
aload 0
getfield jdk.nashorn.internal.codegen.Compiler.compiledFunction:Ljdk/nashorn/internal/runtime/RecompilableScriptFunctionData;
ifnull 1
new java.lang.AssertionError
dup
aload 1
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
1: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield jdk.nashorn.internal.codegen.Compiler.compiledFunction:Ljdk/nashorn/internal/runtime/RecompilableScriptFunctionData;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/nashorn/internal/codegen/Compiler;
0 3 1 data Ljdk/nashorn/internal/runtime/RecompilableScriptFunctionData;
MethodParameters:
Name Flags
data final
public jdk.nashorn.internal.runtime.logging.DebugLogger getLogger();
descriptor: ()Ljdk/nashorn/internal/runtime/logging/DebugLogger;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.codegen.Compiler.log:Ljdk/nashorn/internal/runtime/logging/DebugLogger;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/codegen/Compiler;
public jdk.nashorn.internal.runtime.logging.DebugLogger initLogger(jdk.nashorn.internal.runtime.Context);
descriptor: (Ljdk/nashorn/internal/runtime/Context;)Ljdk/nashorn/internal/runtime/logging/DebugLogger;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.nashorn.internal.codegen.Compiler.env:Ljdk/nashorn/internal/runtime/ScriptEnvironment;
getfield jdk.nashorn.internal.runtime.ScriptEnvironment._optimistic_types:Z
istore 2
start local 2 1: aload 0
getfield jdk.nashorn.internal.codegen.Compiler.env:Ljdk/nashorn/internal/runtime/ScriptEnvironment;
getfield jdk.nashorn.internal.runtime.ScriptEnvironment._lazy_compilation:Z
istore 3
start local 3 2: aload 1
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
new jdk.nashorn.internal.codegen.Compiler$1
dup
aload 0
iload 3
iload 2
invokespecial jdk.nashorn.internal.codegen.Compiler$1.<init>:(Ljdk/nashorn/internal/codegen/Compiler;ZZ)V
invokevirtual jdk.nashorn.internal.runtime.Context.getLogger:(Ljava/lang/Class;Ljava/util/function/Consumer;)Ljdk/nashorn/internal/runtime/logging/DebugLogger;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/nashorn/internal/codegen/Compiler;
0 3 1 ctxt Ljdk/nashorn/internal/runtime/Context;
1 3 2 optimisticTypes Z
2 3 3 lazyCompilation Z
MethodParameters:
Name Flags
ctxt final
jdk.nashorn.internal.runtime.ScriptEnvironment getScriptEnvironment();
descriptor: ()Ljdk/nashorn/internal/runtime/ScriptEnvironment;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.codegen.Compiler.env:Ljdk/nashorn/internal/runtime/ScriptEnvironment;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/codegen/Compiler;
boolean isOnDemandCompilation();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.codegen.Compiler.onDemand:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/codegen/Compiler;
boolean useOptimisticTypes();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.codegen.Compiler.optimistic:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/codegen/Compiler;
jdk.nashorn.internal.runtime.Context getContext();
descriptor: ()Ljdk/nashorn/internal/runtime/Context;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.codegen.Compiler.context:Ljdk/nashorn/internal/runtime/Context;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/codegen/Compiler;
jdk.nashorn.internal.codegen.types.Type getOptimisticType(jdk.nashorn.internal.ir.Optimistic);
descriptor: (Ljdk/nashorn/internal/ir/Optimistic;)Ljdk/nashorn/internal/codegen/types/Type;
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.nashorn.internal.codegen.Compiler.typeEvaluator:Ljdk/nashorn/internal/codegen/TypeEvaluator;
aload 1
invokevirtual jdk.nashorn.internal.codegen.TypeEvaluator.getOptimisticType:(Ljdk/nashorn/internal/ir/Optimistic;)Ljdk/nashorn/internal/codegen/types/Type;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/codegen/Compiler;
0 1 1 node Ljdk/nashorn/internal/ir/Optimistic;
MethodParameters:
Name Flags
node final
boolean hasStringPropertyIterator(jdk.nashorn.internal.ir.Expression);
descriptor: (Ljdk/nashorn/internal/ir/Expression;)Z
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.nashorn.internal.codegen.Compiler.typeEvaluator:Ljdk/nashorn/internal/codegen/TypeEvaluator;
aload 1
invokevirtual jdk.nashorn.internal.codegen.TypeEvaluator.hasStringPropertyIterator:(Ljdk/nashorn/internal/ir/Expression;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/codegen/Compiler;
0 1 1 expr Ljdk/nashorn/internal/ir/Expression;
MethodParameters:
Name Flags
expr final
void addInvalidatedProgramPoint(int, jdk.nashorn.internal.codegen.types.Type);
descriptor: (ILjdk/nashorn/internal/codegen/types/Type;)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield jdk.nashorn.internal.codegen.Compiler.invalidatedProgramPoints:Ljava/util/Map;
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aload 2
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/nashorn/internal/codegen/Compiler;
0 2 1 programPoint I
0 2 2 type Ljdk/nashorn/internal/codegen/types/Type;
MethodParameters:
Name Flags
programPoint final
type final
public java.util.Map<java.lang.Integer, jdk.nashorn.internal.codegen.types.Type> getInvalidatedProgramPoints();
descriptor: ()Ljava/util/Map;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.codegen.Compiler.invalidatedProgramPoints:Ljava/util/Map;
invokeinterface java.util.Map.isEmpty:()Z
ifeq 1
aconst_null
goto 2
StackMap locals:
StackMap stack:
1: new java.util.TreeMap
dup
aload 0
getfield jdk.nashorn.internal.codegen.Compiler.invalidatedProgramPoints:Ljava/util/Map;
invokespecial java.util.TreeMap.<init>:(Ljava/util/Map;)V
StackMap locals:
StackMap stack: java.util.TreeMap
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/nashorn/internal/codegen/Compiler;
Signature: ()Ljava/util/Map<Ljava/lang/Integer;Ljdk/nashorn/internal/codegen/types/Type;>;
jdk.nashorn.internal.codegen.TypeMap getTypeMap();
descriptor: ()Ljdk/nashorn/internal/codegen/TypeMap;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.codegen.Compiler.types:Ljdk/nashorn/internal/codegen/TypeMap;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/codegen/Compiler;
java.lang.invoke.MethodType getCallSiteType(jdk.nashorn.internal.ir.FunctionNode);
descriptor: (Ljdk/nashorn/internal/ir/FunctionNode;)Ljava/lang/invoke/MethodType;
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.nashorn.internal.codegen.Compiler.types:Ljdk/nashorn/internal/codegen/TypeMap;
ifnull 1
aload 0
invokevirtual jdk.nashorn.internal.codegen.Compiler.isOnDemandCompilation:()Z
ifne 2
1: StackMap locals:
StackMap stack:
aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield jdk.nashorn.internal.codegen.Compiler.types:Ljdk/nashorn/internal/codegen/TypeMap;
aload 1
invokevirtual jdk.nashorn.internal.codegen.TypeMap.getCallSiteType:(Ljdk/nashorn/internal/ir/FunctionNode;)Ljava/lang/invoke/MethodType;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/nashorn/internal/codegen/Compiler;
0 3 1 fn Ljdk/nashorn/internal/ir/FunctionNode;
MethodParameters:
Name Flags
fn final
jdk.nashorn.internal.codegen.types.Type getParamType(jdk.nashorn.internal.ir.FunctionNode, int);
descriptor: (Ljdk/nashorn/internal/ir/FunctionNode;I)Ljdk/nashorn/internal/codegen/types/Type;
flags: (0x0000)
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield jdk.nashorn.internal.codegen.Compiler.types:Ljdk/nashorn/internal/codegen/TypeMap;
ifnonnull 1
aconst_null
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield jdk.nashorn.internal.codegen.Compiler.types:Ljdk/nashorn/internal/codegen/TypeMap;
aload 1
iload 2
invokevirtual jdk.nashorn.internal.codegen.TypeMap.get:(Ljdk/nashorn/internal/ir/FunctionNode;I)Ljdk/nashorn/internal/codegen/types/Type;
StackMap locals:
StackMap stack: jdk.nashorn.internal.codegen.types.Type
2: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/nashorn/internal/codegen/Compiler;
0 3 1 fn Ljdk/nashorn/internal/ir/FunctionNode;
0 3 2 pos I
MethodParameters:
Name Flags
fn final
pos final
jdk.nashorn.internal.codegen.types.Type getReturnType();
descriptor: ()Ljdk/nashorn/internal/codegen/types/Type;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.codegen.Compiler.types:Ljdk/nashorn/internal/codegen/TypeMap;
ifnull 1
aload 0
invokevirtual jdk.nashorn.internal.codegen.Compiler.isOnDemandCompilation:()Z
ifne 2
StackMap locals:
StackMap stack:
1: getstatic jdk.nashorn.internal.codegen.types.Type.UNKNOWN:Ljdk/nashorn/internal/codegen/types/Type;
goto 3
StackMap locals:
StackMap stack:
2: aload 0
getfield jdk.nashorn.internal.codegen.Compiler.types:Ljdk/nashorn/internal/codegen/TypeMap;
invokevirtual jdk.nashorn.internal.codegen.TypeMap.getReturnType:()Ljdk/nashorn/internal/codegen/types/Type;
StackMap locals:
StackMap stack: jdk.nashorn.internal.codegen.types.Type
3: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/nashorn/internal/codegen/Compiler;
public jdk.nashorn.internal.ir.FunctionNode compile(jdk.nashorn.internal.ir.FunctionNode, jdk.nashorn.internal.codegen.Compiler$CompilationPhases);
descriptor: (Ljdk/nashorn/internal/ir/FunctionNode;Ljdk/nashorn/internal/codegen/Compiler$CompilationPhases;)Ljdk/nashorn/internal/ir/FunctionNode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=12, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield jdk.nashorn.internal.codegen.Compiler.log:Ljdk/nashorn/internal/runtime/logging/DebugLogger;
invokevirtual jdk.nashorn.internal.runtime.logging.DebugLogger.isEnabled:()Z
ifeq 3
1: aload 0
getfield jdk.nashorn.internal.codegen.Compiler.log:Ljdk/nashorn/internal/runtime/logging/DebugLogger;
iconst_4
anewarray java.lang.Object
dup
iconst_0
ldc ">> Starting compile job for "
aastore
dup
iconst_1
aload 1
invokevirtual jdk.nashorn.internal.ir.FunctionNode.getName:()Ljava/lang/String;
invokestatic jdk.nashorn.internal.runtime.logging.DebugLogger.quote:(Ljava/lang/String;)Ljava/lang/String;
aastore
dup
iconst_2
ldc " phases="
aastore
dup
iconst_3
aload 2
invokevirtual jdk.nashorn.internal.codegen.Compiler$CompilationPhases.getDesc:()Ljava/lang/String;
invokestatic jdk.nashorn.internal.runtime.logging.DebugLogger.quote:(Ljava/lang/String;)Ljava/lang/String;
aastore
invokevirtual jdk.nashorn.internal.runtime.logging.DebugLogger.info:([Ljava/lang/Object;)V
2: aload 0
getfield jdk.nashorn.internal.codegen.Compiler.log:Ljdk/nashorn/internal/runtime/logging/DebugLogger;
invokevirtual jdk.nashorn.internal.runtime.logging.DebugLogger.indent:()V
3: StackMap locals:
StackMap stack:
aload 1
invokevirtual jdk.nashorn.internal.ir.FunctionNode.getName:()Ljava/lang/String;
invokestatic jdk.nashorn.internal.runtime.logging.DebugLogger.quote:(Ljava/lang/String;)Ljava/lang/String;
astore 3
start local 3 4: aload 1
astore 4
start local 4 5: getstatic jdk.nashorn.internal.codegen.Compiler.RESERVED_NAMES:[Ljava/lang/String;
dup
astore 8
arraylength
istore 7
iconst_0
istore 6
goto 9
StackMap locals: jdk.nashorn.internal.codegen.Compiler jdk.nashorn.internal.ir.FunctionNode jdk.nashorn.internal.codegen.Compiler$CompilationPhases java.lang.String jdk.nashorn.internal.ir.FunctionNode top int int java.lang.String[]
StackMap stack:
6: aload 8
iload 6
aaload
astore 5
start local 5 7: aload 4
aload 5
invokevirtual jdk.nashorn.internal.ir.FunctionNode.uniqueName:(Ljava/lang/String;)Ljava/lang/String;
pop
end local 5 8: iinc 6 1
StackMap locals:
StackMap stack:
9: iload 6
iload 7
if_icmplt 6
10: aload 0
getfield jdk.nashorn.internal.codegen.Compiler.log:Ljdk/nashorn/internal/runtime/logging/DebugLogger;
getstatic java.util.logging.Level.INFO:Ljava/util/logging/Level;
invokevirtual jdk.nashorn.internal.runtime.logging.DebugLogger.isLoggable:(Ljava/util/logging/Level;)Z
istore 5
start local 5 11: aload 0
getfield jdk.nashorn.internal.codegen.Compiler.env:Ljdk/nashorn/internal/runtime/ScriptEnvironment;
invokevirtual jdk.nashorn.internal.runtime.ScriptEnvironment.isTimingEnabled:()Z
ifeq 12
aload 0
getfield jdk.nashorn.internal.codegen.Compiler.env:Ljdk/nashorn/internal/runtime/ScriptEnvironment;
getfield jdk.nashorn.internal.runtime.ScriptEnvironment._timing:Ljdk/nashorn/internal/runtime/Timing;
invokevirtual jdk.nashorn.internal.runtime.Timing.getLogger:()Ljdk/nashorn/internal/runtime/logging/DebugLogger;
goto 13
StackMap locals: jdk.nashorn.internal.codegen.Compiler jdk.nashorn.internal.ir.FunctionNode jdk.nashorn.internal.codegen.Compiler$CompilationPhases java.lang.String jdk.nashorn.internal.ir.FunctionNode int
StackMap stack:
12: aconst_null
StackMap locals:
StackMap stack: jdk.nashorn.internal.runtime.logging.DebugLogger
13: astore 6
start local 6 14: lconst_0
lstore 7
start local 7 15: aload 2
invokevirtual jdk.nashorn.internal.codegen.Compiler$CompilationPhases.iterator:()Ljava/util/Iterator;
astore 10
goto 29
StackMap locals: jdk.nashorn.internal.codegen.Compiler jdk.nashorn.internal.ir.FunctionNode jdk.nashorn.internal.codegen.Compiler$CompilationPhases java.lang.String jdk.nashorn.internal.ir.FunctionNode int jdk.nashorn.internal.runtime.logging.DebugLogger long top java.util.Iterator
StackMap stack:
16: aload 10
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.nashorn.internal.codegen.CompilationPhase
astore 9
start local 9 17: aload 0
getfield jdk.nashorn.internal.codegen.Compiler.log:Ljdk/nashorn/internal/runtime/logging/DebugLogger;
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 9
aastore
dup
iconst_1
ldc " starting for "
aastore
dup
iconst_2
aload 3
aastore
invokevirtual jdk.nashorn.internal.runtime.logging.DebugLogger.fine:([Ljava/lang/Object;)V
18: aload 9
aload 0
aload 2
aload 4
invokevirtual jdk.nashorn.internal.codegen.CompilationPhase.apply:(Ljdk/nashorn/internal/codegen/Compiler;Ljdk/nashorn/internal/codegen/Compiler$CompilationPhases;Ljdk/nashorn/internal/ir/FunctionNode;)Ljdk/nashorn/internal/ir/FunctionNode;
astore 4
19: goto 25
StackMap locals: jdk.nashorn.internal.codegen.Compiler jdk.nashorn.internal.ir.FunctionNode jdk.nashorn.internal.codegen.Compiler$CompilationPhases java.lang.String jdk.nashorn.internal.ir.FunctionNode int jdk.nashorn.internal.runtime.logging.DebugLogger long jdk.nashorn.internal.codegen.CompilationPhase java.util.Iterator
StackMap stack: jdk.nashorn.internal.runtime.ParserException
20: astore 11
start local 11 21: aload 0
getfield jdk.nashorn.internal.codegen.Compiler.errors:Ljdk/nashorn/internal/runtime/ErrorManager;
aload 11
invokevirtual jdk.nashorn.internal.runtime.ErrorManager.error:(Ljdk/nashorn/internal/runtime/ParserException;)V
22: aload 0
getfield jdk.nashorn.internal.codegen.Compiler.env:Ljdk/nashorn/internal/runtime/ScriptEnvironment;
getfield jdk.nashorn.internal.runtime.ScriptEnvironment._dump_on_error:Z
ifeq 24
23: aload 11
aload 0
getfield jdk.nashorn.internal.codegen.Compiler.env:Ljdk/nashorn/internal/runtime/ScriptEnvironment;
invokevirtual jdk.nashorn.internal.runtime.ScriptEnvironment.getErr:()Ljava/io/PrintWriter;
invokevirtual jdk.nashorn.internal.runtime.ParserException.printStackTrace:(Ljava/io/PrintWriter;)V
24: StackMap locals: jdk.nashorn.internal.runtime.ParserException
StackMap stack:
aconst_null
areturn
end local 11 25: StackMap locals:
StackMap stack:
aload 0
getfield jdk.nashorn.internal.codegen.Compiler.log:Ljdk/nashorn/internal/runtime/logging/DebugLogger;
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 9
aastore
dup
iconst_1
ldc " done for function "
aastore
dup
iconst_2
aload 3
invokestatic jdk.nashorn.internal.runtime.logging.DebugLogger.quote:(Ljava/lang/String;)Ljava/lang/String;
aastore
invokevirtual jdk.nashorn.internal.runtime.logging.DebugLogger.fine:([Ljava/lang/Object;)V
26: lload 7
aload 0
getfield jdk.nashorn.internal.codegen.Compiler.env:Ljdk/nashorn/internal/runtime/ScriptEnvironment;
invokevirtual jdk.nashorn.internal.runtime.ScriptEnvironment.isTimingEnabled:()Z
ifeq 27
aload 9
invokevirtual jdk.nashorn.internal.codegen.CompilationPhase.getEndTime:()J
aload 9
invokevirtual jdk.nashorn.internal.codegen.CompilationPhase.getStartTime:()J
lsub
goto 28
StackMap locals:
StackMap stack: long
27: lconst_0
StackMap locals: jdk.nashorn.internal.codegen.Compiler jdk.nashorn.internal.ir.FunctionNode jdk.nashorn.internal.codegen.Compiler$CompilationPhases java.lang.String jdk.nashorn.internal.ir.FunctionNode int jdk.nashorn.internal.runtime.logging.DebugLogger long jdk.nashorn.internal.codegen.CompilationPhase java.util.Iterator
StackMap stack: long long
28: ladd
lstore 7
end local 9 29: StackMap locals: jdk.nashorn.internal.codegen.Compiler jdk.nashorn.internal.ir.FunctionNode jdk.nashorn.internal.codegen.Compiler$CompilationPhases java.lang.String jdk.nashorn.internal.ir.FunctionNode int jdk.nashorn.internal.runtime.logging.DebugLogger long top java.util.Iterator
StackMap stack:
aload 10
invokeinterface java.util.Iterator.hasNext:()Z
ifne 16
30: aload 0
getfield jdk.nashorn.internal.codegen.Compiler.typeInformationFile:Ljava/lang/Object;
ifnull 32
aload 2
invokevirtual jdk.nashorn.internal.codegen.Compiler$CompilationPhases.isRestOfCompilation:()Z
ifne 32
31: aload 0
getfield jdk.nashorn.internal.codegen.Compiler.typeInformationFile:Ljava/lang/Object;
aload 0
getfield jdk.nashorn.internal.codegen.Compiler.invalidatedProgramPoints:Ljava/util/Map;
invokestatic jdk.nashorn.internal.codegen.OptimisticTypesPersistence.store:(Ljava/lang/Object;Ljava/util/Map;)V
32: StackMap locals: jdk.nashorn.internal.codegen.Compiler jdk.nashorn.internal.ir.FunctionNode jdk.nashorn.internal.codegen.Compiler$CompilationPhases java.lang.String jdk.nashorn.internal.ir.FunctionNode int jdk.nashorn.internal.runtime.logging.DebugLogger long
StackMap stack:
aload 0
getfield jdk.nashorn.internal.codegen.Compiler.log:Ljdk/nashorn/internal/runtime/logging/DebugLogger;
invokevirtual jdk.nashorn.internal.runtime.logging.DebugLogger.unindent:()V
33: iload 5
ifeq 42
34: new java.lang.StringBuilder
dup
ldc "<< Finished compile job for "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
astore 9
start local 9 35: aload 9
aload 4
invokevirtual jdk.nashorn.internal.ir.FunctionNode.getSource:()Ljdk/nashorn/internal/runtime/Source;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
36: bipush 58
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
37: aload 4
invokevirtual jdk.nashorn.internal.ir.FunctionNode.getName:()Ljava/lang/String;
invokestatic jdk.nashorn.internal.runtime.logging.DebugLogger.quote:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
38: lload 7
lconst_0
lcmp
ifle 41
aload 6
ifnull 41
39: getstatic jdk.nashorn.internal.codegen.Compiler.$assertionsDisabled:Z
ifne 40
aload 0
getfield jdk.nashorn.internal.codegen.Compiler.env:Ljdk/nashorn/internal/runtime/ScriptEnvironment;
invokevirtual jdk.nashorn.internal.runtime.ScriptEnvironment.isTimingEnabled:()Z
ifne 40
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
40: StackMap locals: java.lang.StringBuilder
StackMap stack:
aload 9
ldc " in "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
getstatic java.util.concurrent.TimeUnit.NANOSECONDS:Ljava/util/concurrent/TimeUnit;
lload 7
invokevirtual java.util.concurrent.TimeUnit.toMillis:(J)J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc " ms"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
41: StackMap locals:
StackMap stack:
aload 0
getfield jdk.nashorn.internal.codegen.Compiler.log:Ljdk/nashorn/internal/runtime/logging/DebugLogger;
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 9
aastore
invokevirtual jdk.nashorn.internal.runtime.logging.DebugLogger.info:([Ljava/lang/Object;)V
end local 9 42: StackMap locals:
StackMap stack:
aload 4
areturn
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 43 0 this Ljdk/nashorn/internal/codegen/Compiler;
0 43 1 functionNode Ljdk/nashorn/internal/ir/FunctionNode;
0 43 2 phases Ljdk/nashorn/internal/codegen/Compiler$CompilationPhases;
4 43 3 name Ljava/lang/String;
5 43 4 newFunctionNode Ljdk/nashorn/internal/ir/FunctionNode;
7 8 5 reservedName Ljava/lang/String;
11 43 5 info Z
14 43 6 timeLogger Ljdk/nashorn/internal/runtime/logging/DebugLogger;
15 43 7 time J
17 29 9 phase Ljdk/nashorn/internal/codegen/CompilationPhase;
21 25 11 error Ljdk/nashorn/internal/runtime/ParserException;
35 42 9 sb Ljava/lang/StringBuilder;
Exception table:
from to target type
18 19 20 Class jdk.nashorn.internal.runtime.ParserException
Exceptions:
throws jdk.nashorn.internal.codegen.CompilationException
MethodParameters:
Name Flags
functionNode final
phases final
jdk.nashorn.internal.runtime.Source getSource();
descriptor: ()Ljdk/nashorn/internal/runtime/Source;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.codegen.Compiler.source:Ljdk/nashorn/internal/runtime/Source;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/codegen/Compiler;
java.util.Map<java.lang.String, byte[]> getBytecode();
descriptor: ()Ljava/util/Map;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.codegen.Compiler.bytecode:Ljava/util/Map;
invokestatic java.util.Collections.unmodifiableMap:(Ljava/util/Map;)Ljava/util/Map;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/codegen/Compiler;
Signature: ()Ljava/util/Map<Ljava/lang/String;[B>;
void clearBytecode();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.codegen.Compiler.bytecode:Ljava/util/Map;
invokeinterface java.util.Map.clear:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/nashorn/internal/codegen/Compiler;
jdk.nashorn.internal.codegen.CompileUnit getFirstCompileUnit();
descriptor: ()Ljdk/nashorn/internal/codegen/CompileUnit;
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic jdk.nashorn.internal.codegen.Compiler.$assertionsDisabled:Z
ifne 1
aload 0
getfield jdk.nashorn.internal.codegen.Compiler.compileUnits:Ljava/util/Set;
invokeinterface java.util.Set.isEmpty:()Z
ifeq 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield jdk.nashorn.internal.codegen.Compiler.compileUnits:Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.nashorn.internal.codegen.CompileUnit
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/nashorn/internal/codegen/Compiler;
java.util.Set<jdk.nashorn.internal.codegen.CompileUnit> getCompileUnits();
descriptor: ()Ljava/util/Set;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.codegen.Compiler.compileUnits:Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/codegen/Compiler;
Signature: ()Ljava/util/Set<Ljdk/nashorn/internal/codegen/CompileUnit;>;
jdk.nashorn.internal.codegen.ConstantData getConstantData();
descriptor: ()Ljdk/nashorn/internal/codegen/ConstantData;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.codegen.Compiler.constantData:Ljdk/nashorn/internal/codegen/ConstantData;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/codegen/Compiler;
jdk.nashorn.internal.runtime.CodeInstaller getCodeInstaller();
descriptor: ()Ljdk/nashorn/internal/runtime/CodeInstaller;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.codegen.Compiler.installer:Ljdk/nashorn/internal/runtime/CodeInstaller;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/codegen/Compiler;
void addClass(java.lang.String, byte[]);
descriptor: (Ljava/lang/String;[B)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield jdk.nashorn.internal.codegen.Compiler.bytecode:Ljava/util/Map;
aload 1
aload 2
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/nashorn/internal/codegen/Compiler;
0 2 1 name Ljava/lang/String;
0 2 2 code [B
MethodParameters:
Name Flags
name final
code final
java.lang.String nextCompileUnitName();
descriptor: ()Ljava/lang/String;
flags: (0x0000)
Code:
stack=3, locals=3, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
bipush 32
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 1
start local 1 1: aload 1
aload 0
getfield jdk.nashorn.internal.codegen.Compiler.firstCompileUnitName:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
2: aload 0
getfield jdk.nashorn.internal.codegen.Compiler.nextCompileUnitId:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.getAndIncrement:()I
istore 2
start local 2 3: iload 2
ifle 5
4: aload 1
ldc "$cu"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
pop
5: StackMap locals: java.lang.StringBuilder int
StackMap stack:
aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/nashorn/internal/codegen/Compiler;
1 6 1 sb Ljava/lang/StringBuilder;
3 6 2 cuid I
public void persistClassInfo(java.lang.String, jdk.nashorn.internal.ir.FunctionNode);
descriptor: (Ljava/lang/String;Ljdk/nashorn/internal/ir/FunctionNode;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnull 14
aload 0
getfield jdk.nashorn.internal.codegen.Compiler.env:Ljdk/nashorn/internal/runtime/ScriptEnvironment;
getfield jdk.nashorn.internal.runtime.ScriptEnvironment._persistent_cache:Z
ifeq 14
1: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 3
start local 3 2: aload 0
invokevirtual jdk.nashorn.internal.codegen.Compiler.isOnDemandCompilation:()Z
ifeq 5
3: aload 3
aload 2
invokevirtual jdk.nashorn.internal.ir.FunctionNode.getId:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
new jdk.nashorn.internal.runtime.FunctionInitializer
dup
aload 2
aload 0
invokevirtual jdk.nashorn.internal.codegen.Compiler.getInvalidatedProgramPoints:()Ljava/util/Map;
invokespecial jdk.nashorn.internal.runtime.FunctionInitializer.<init>:(Ljdk/nashorn/internal/ir/FunctionNode;Ljava/util/Map;)V
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
4: goto 12
5: StackMap locals: java.util.Map
StackMap stack:
aload 0
invokevirtual jdk.nashorn.internal.codegen.Compiler.getCompileUnits:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 5
goto 11
StackMap locals: jdk.nashorn.internal.codegen.Compiler java.lang.String jdk.nashorn.internal.ir.FunctionNode java.util.Map top java.util.Iterator
StackMap stack:
6: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.nashorn.internal.codegen.CompileUnit
astore 4
start local 4 7: aload 4
invokevirtual jdk.nashorn.internal.codegen.CompileUnit.getFunctionNodes:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 7
goto 10
StackMap locals: jdk.nashorn.internal.codegen.Compiler java.lang.String jdk.nashorn.internal.ir.FunctionNode java.util.Map jdk.nashorn.internal.codegen.CompileUnit java.util.Iterator top java.util.Iterator
StackMap stack:
8: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.nashorn.internal.ir.FunctionNode
astore 6
start local 6 9: aload 3
aload 6
invokevirtual jdk.nashorn.internal.ir.FunctionNode.getId:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
new jdk.nashorn.internal.runtime.FunctionInitializer
dup
aload 6
invokespecial jdk.nashorn.internal.runtime.FunctionInitializer.<init>:(Ljdk/nashorn/internal/ir/FunctionNode;)V
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 6 10: StackMap locals:
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 8
end local 4 11: StackMap locals: jdk.nashorn.internal.codegen.Compiler java.lang.String jdk.nashorn.internal.ir.FunctionNode java.util.Map top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
12: StackMap locals: jdk.nashorn.internal.codegen.Compiler java.lang.String jdk.nashorn.internal.ir.FunctionNode java.util.Map
StackMap stack:
aload 0
invokevirtual jdk.nashorn.internal.codegen.Compiler.getFirstCompileUnit:()Ljdk/nashorn/internal/codegen/CompileUnit;
invokevirtual jdk.nashorn.internal.codegen.CompileUnit.getUnitClassName:()Ljava/lang/String;
astore 4
start local 4 13: aload 0
getfield jdk.nashorn.internal.codegen.Compiler.installer:Ljdk/nashorn/internal/runtime/CodeInstaller;
aload 1
aload 0
getfield jdk.nashorn.internal.codegen.Compiler.source:Ljdk/nashorn/internal/runtime/Source;
aload 4
aload 0
getfield jdk.nashorn.internal.codegen.Compiler.bytecode:Ljava/util/Map;
aload 3
aload 0
getfield jdk.nashorn.internal.codegen.Compiler.constantData:Ljdk/nashorn/internal/codegen/ConstantData;
invokevirtual jdk.nashorn.internal.codegen.ConstantData.toArray:()[Ljava/lang/Object;
aload 0
getfield jdk.nashorn.internal.codegen.Compiler.compilationId:I
invokeinterface jdk.nashorn.internal.runtime.CodeInstaller.storeScript:(Ljava/lang/String;Ljdk/nashorn/internal/runtime/Source;Ljava/lang/String;Ljava/util/Map;Ljava/util/Map;[Ljava/lang/Object;I)V
end local 4 end local 3 14: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Ljdk/nashorn/internal/codegen/Compiler;
0 15 1 cacheKey Ljava/lang/String;
0 15 2 functionNode Ljdk/nashorn/internal/ir/FunctionNode;
2 14 3 initializers Ljava/util/Map<Ljava/lang/Integer;Ljdk/nashorn/internal/runtime/FunctionInitializer;>;
7 11 4 compileUnit Ljdk/nashorn/internal/codegen/CompileUnit;
9 10 6 fn Ljdk/nashorn/internal/ir/FunctionNode;
13 14 4 mainClassName Ljava/lang/String;
MethodParameters:
Name Flags
cacheKey final
functionNode final
public static void updateCompilationId(int);
descriptor: (I)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: iload 0
getstatic jdk.nashorn.internal.codegen.Compiler.COMPILATION_ID:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.get:()I
if_icmplt 2
1: getstatic jdk.nashorn.internal.codegen.Compiler.COMPILATION_ID:Ljava/util/concurrent/atomic/AtomicInteger;
iload 0
iconst_1
iadd
invokevirtual java.util.concurrent.atomic.AtomicInteger.set:(I)V
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 value I
MethodParameters:
Name Flags
value final
jdk.nashorn.internal.codegen.CompileUnit addCompileUnit(long);
descriptor: (J)Ljdk/nashorn/internal/codegen/CompileUnit;
flags: (0x0000)
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 0
lload 1
invokevirtual jdk.nashorn.internal.codegen.Compiler.createCompileUnit:(J)Ljdk/nashorn/internal/codegen/CompileUnit;
astore 3
start local 3 1: aload 0
getfield jdk.nashorn.internal.codegen.Compiler.compileUnits:Ljava/util/Set;
aload 3
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
2: aload 0
getfield jdk.nashorn.internal.codegen.Compiler.log:Ljdk/nashorn/internal/runtime/logging/DebugLogger;
iconst_2
anewarray java.lang.Object
dup
iconst_0
ldc "Added compile unit "
aastore
dup
iconst_1
aload 3
aastore
invokevirtual jdk.nashorn.internal.runtime.logging.DebugLogger.fine:([Ljava/lang/Object;)V
3: aload 3
areturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/nashorn/internal/codegen/Compiler;
0 4 1 initialWeight J
1 4 3 compileUnit Ljdk/nashorn/internal/codegen/CompileUnit;
MethodParameters:
Name Flags
initialWeight final
jdk.nashorn.internal.codegen.CompileUnit createCompileUnit(java.lang.String, long);
descriptor: (Ljava/lang/String;J)Ljdk/nashorn/internal/codegen/CompileUnit;
flags: (0x0000)
Code:
stack=6, locals=6, args_size=3
start local 0 start local 1 start local 2 0: new jdk.nashorn.internal.codegen.ClassEmitter
dup
aload 0
getfield jdk.nashorn.internal.codegen.Compiler.context:Ljdk/nashorn/internal/runtime/Context;
aload 0
getfield jdk.nashorn.internal.codegen.Compiler.sourceName:Ljava/lang/String;
aload 1
aload 0
invokevirtual jdk.nashorn.internal.codegen.Compiler.isStrict:()Z
invokespecial jdk.nashorn.internal.codegen.ClassEmitter.<init>:(Ljdk/nashorn/internal/runtime/Context;Ljava/lang/String;Ljava/lang/String;Z)V
astore 4
start local 4 1: new jdk.nashorn.internal.codegen.CompileUnit
dup
aload 1
aload 4
lload 2
invokespecial jdk.nashorn.internal.codegen.CompileUnit.<init>:(Ljava/lang/String;Ljdk/nashorn/internal/codegen/ClassEmitter;J)V
astore 5
start local 5 2: aload 4
invokevirtual jdk.nashorn.internal.codegen.ClassEmitter.begin:()V
3: aload 5
areturn
end local 5 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/nashorn/internal/codegen/Compiler;
0 4 1 unitClassName Ljava/lang/String;
0 4 2 initialWeight J
1 4 4 classEmitter Ljdk/nashorn/internal/codegen/ClassEmitter;
2 4 5 compileUnit Ljdk/nashorn/internal/codegen/CompileUnit;
MethodParameters:
Name Flags
unitClassName final
initialWeight final
private jdk.nashorn.internal.codegen.CompileUnit createCompileUnit(long);
descriptor: (J)Ljdk/nashorn/internal/codegen/CompileUnit;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 0
invokevirtual jdk.nashorn.internal.codegen.Compiler.nextCompileUnitName:()Ljava/lang/String;
lload 1
invokevirtual jdk.nashorn.internal.codegen.Compiler.createCompileUnit:(Ljava/lang/String;J)Ljdk/nashorn/internal/codegen/CompileUnit;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/codegen/Compiler;
0 1 1 initialWeight J
MethodParameters:
Name Flags
initialWeight final
boolean isStrict();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.codegen.Compiler.strict:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/codegen/Compiler;
void replaceCompileUnits(java.util.Set<jdk.nashorn.internal.codegen.CompileUnit>);
descriptor: (Ljava/util/Set;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.nashorn.internal.codegen.Compiler.compileUnits:Ljava/util/Set;
invokeinterface java.util.Set.clear:()V
1: aload 0
getfield jdk.nashorn.internal.codegen.Compiler.compileUnits:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.addAll:(Ljava/util/Collection;)Z
pop
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/nashorn/internal/codegen/Compiler;
0 3 1 newUnits Ljava/util/Set<Ljdk/nashorn/internal/codegen/CompileUnit;>;
Signature: (Ljava/util/Set<Ljdk/nashorn/internal/codegen/CompileUnit;>;)V
MethodParameters:
Name Flags
newUnits final
jdk.nashorn.internal.codegen.CompileUnit findUnit(long);
descriptor: (J)Ljdk/nashorn/internal/codegen/CompileUnit;
flags: (0x0000)
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.nashorn.internal.codegen.Compiler.compileUnits:Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 4
goto 5
StackMap locals: jdk.nashorn.internal.codegen.Compiler long top java.util.Iterator
StackMap stack:
1: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.nashorn.internal.codegen.CompileUnit
astore 3
start local 3 2: aload 3
lload 1
invokevirtual jdk.nashorn.internal.codegen.CompileUnit.canHold:(J)Z
ifeq 5
3: aload 3
lload 1
invokevirtual jdk.nashorn.internal.codegen.CompileUnit.addWeight:(J)V
4: aload 3
areturn
end local 3 5: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
6: aload 0
lload 1
invokevirtual jdk.nashorn.internal.codegen.Compiler.addCompileUnit:(J)Ljdk/nashorn/internal/codegen/CompileUnit;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/nashorn/internal/codegen/Compiler;
0 7 1 weight J
2 5 3 unit Ljdk/nashorn/internal/codegen/CompileUnit;
MethodParameters:
Name Flags
weight final
public static java.lang.String binaryName(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
bipush 47
bipush 46
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 name Ljava/lang/String;
MethodParameters:
Name Flags
name final
jdk.nashorn.internal.runtime.RecompilableScriptFunctionData getScriptFunctionData(int);
descriptor: (I)Ljdk/nashorn/internal/runtime/RecompilableScriptFunctionData;
flags: (0x0000)
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: getstatic jdk.nashorn.internal.codegen.Compiler.$assertionsDisabled:Z
ifne 1
aload 0
getfield jdk.nashorn.internal.codegen.Compiler.compiledFunction:Ljdk/nashorn/internal/runtime/RecompilableScriptFunctionData;
ifnonnull 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield jdk.nashorn.internal.codegen.Compiler.compiledFunction:Ljdk/nashorn/internal/runtime/RecompilableScriptFunctionData;
iload 1
invokevirtual jdk.nashorn.internal.runtime.RecompilableScriptFunctionData.getScriptFunctionData:(I)Ljdk/nashorn/internal/runtime/RecompilableScriptFunctionData;
astore 2
start local 2 2: getstatic jdk.nashorn.internal.codegen.Compiler.$assertionsDisabled:Z
ifne 3
aload 2
ifnonnull 3
new java.lang.AssertionError
dup
iload 1
invokespecial java.lang.AssertionError.<init>:(I)V
athrow
3: StackMap locals: jdk.nashorn.internal.runtime.RecompilableScriptFunctionData
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/nashorn/internal/codegen/Compiler;
0 4 1 functionId I
2 4 2 fn Ljdk/nashorn/internal/runtime/RecompilableScriptFunctionData;
MethodParameters:
Name Flags
functionId final
boolean isGlobalSymbol(jdk.nashorn.internal.ir.FunctionNode, java.lang.String);
descriptor: (Ljdk/nashorn/internal/ir/FunctionNode;Ljava/lang/String;)Z
flags: (0x0000)
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual jdk.nashorn.internal.ir.FunctionNode.getId:()I
invokevirtual jdk.nashorn.internal.codegen.Compiler.getScriptFunctionData:(I)Ljdk/nashorn/internal/runtime/RecompilableScriptFunctionData;
aload 1
aload 2
invokevirtual jdk.nashorn.internal.runtime.RecompilableScriptFunctionData.isGlobalSymbol:(Ljdk/nashorn/internal/ir/FunctionNode;Ljava/lang/String;)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/codegen/Compiler;
0 1 1 fn Ljdk/nashorn/internal/ir/FunctionNode;
0 1 2 name Ljava/lang/String;
MethodParameters:
Name Flags
fn final
name final
int[] getContinuationEntryPoints();
descriptor: ()[I
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.codegen.Compiler.continuationEntryPoints:[I
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/codegen/Compiler;
jdk.nashorn.internal.codegen.types.Type getInvalidatedProgramPointType(int);
descriptor: (I)Ljdk/nashorn/internal/codegen/types/Type;
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.nashorn.internal.codegen.Compiler.invalidatedProgramPoints:Ljava/util/Map;
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast jdk.nashorn.internal.codegen.types.Type
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/codegen/Compiler;
0 1 1 programPoint I
MethodParameters:
Name Flags
programPoint final
}
SourceFile: "Compiler.java"
NestMembers:
jdk.nashorn.internal.codegen.Compiler$1 jdk.nashorn.internal.codegen.Compiler$CompilationPhases
InnerClasses:
jdk.nashorn.internal.codegen.Compiler$1
public CompilationPhases = jdk.nashorn.internal.codegen.Compiler$CompilationPhases of jdk.nashorn.internal.codegen.Compiler
RuntimeVisibleAnnotations:
jdk.nashorn.internal.runtime.logging.Logger(name = "compiler")