final class jdk.nashorn.internal.codegen.CompilationPhase$InstallPhase extends jdk.nashorn.internal.codegen.CompilationPhase
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: jdk.nashorn.internal.codegen.CompilationPhase$InstallPhase
super_class: jdk.nashorn.internal.codegen.CompilationPhase
{
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial jdk.nashorn.internal.codegen.CompilationPhase.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/codegen/CompilationPhase$InstallPhase;
jdk.nashorn.internal.ir.FunctionNode transform(jdk.nashorn.internal.codegen.Compiler, jdk.nashorn.internal.codegen.Compiler$CompilationPhases, jdk.nashorn.internal.ir.FunctionNode);
descriptor: (Ljdk/nashorn/internal/codegen/Compiler;Ljdk/nashorn/internal/codegen/Compiler$CompilationPhases;Ljdk/nashorn/internal/ir/FunctionNode;)Ljdk/nashorn/internal/ir/FunctionNode;
flags: (0x0000)
Code:
stack=4, locals=18, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokevirtual jdk.nashorn.internal.codegen.Compiler.getLogger:()Ljdk/nashorn/internal/runtime/logging/DebugLogger;
astore 4
start local 4 1: new java.util.LinkedHashMap
dup
invokespecial java.util.LinkedHashMap.<init>:()V
astore 5
start local 5 2: iconst_1
istore 6
start local 6 3: aconst_null
astore 7
start local 7 4: lconst_0
lstore 8
start local 8 5: aload 1
invokevirtual jdk.nashorn.internal.codegen.Compiler.getCodeInstaller:()Ljdk/nashorn/internal/runtime/CodeInstaller;
astore 10
start local 10 6: aload 1
invokevirtual jdk.nashorn.internal.codegen.Compiler.getBytecode:()Ljava/util/Map;
astore 11
start local 11 7: aload 11
invokeinterface java.util.Map.size:()I
iconst_1
if_icmple 8
aload 10
invokeinterface jdk.nashorn.internal.runtime.CodeInstaller.getMultiClassCodeInstaller:()Ljdk/nashorn/internal/runtime/CodeInstaller;
goto 9
StackMap locals: jdk.nashorn.internal.codegen.CompilationPhase$InstallPhase jdk.nashorn.internal.codegen.Compiler jdk.nashorn.internal.codegen.Compiler$CompilationPhases jdk.nashorn.internal.ir.FunctionNode jdk.nashorn.internal.runtime.logging.DebugLogger java.util.Map int java.lang.Class long jdk.nashorn.internal.runtime.CodeInstaller java.util.Map
StackMap stack:
8: aload 10
StackMap locals:
StackMap stack: jdk.nashorn.internal.runtime.CodeInstaller
9: astore 12
start local 12 10: aload 11
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 14
goto 20
StackMap locals: jdk.nashorn.internal.codegen.CompilationPhase$InstallPhase jdk.nashorn.internal.codegen.Compiler jdk.nashorn.internal.codegen.Compiler$CompilationPhases jdk.nashorn.internal.ir.FunctionNode jdk.nashorn.internal.runtime.logging.DebugLogger java.util.Map int java.lang.Class long jdk.nashorn.internal.runtime.CodeInstaller java.util.Map jdk.nashorn.internal.runtime.CodeInstaller top java.util.Iterator
StackMap stack:
11: aload 14
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 13
start local 13 12: aload 13
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
astore 15
start local 15 13: aload 13
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast byte[]
astore 16
start local 16 14: lload 8
aload 16
arraylength
i2l
ladd
lstore 8
15: aload 12
aload 15
aload 16
invokeinterface jdk.nashorn.internal.runtime.CodeInstaller.install:(Ljava/lang/String;[B)Ljava/lang/Class;
astore 17
start local 17 16: iload 6
ifeq 19
17: aload 17
astore 7
18: iconst_0
istore 6
19: StackMap locals: jdk.nashorn.internal.codegen.CompilationPhase$InstallPhase jdk.nashorn.internal.codegen.Compiler jdk.nashorn.internal.codegen.Compiler$CompilationPhases jdk.nashorn.internal.ir.FunctionNode jdk.nashorn.internal.runtime.logging.DebugLogger java.util.Map int java.lang.Class long jdk.nashorn.internal.runtime.CodeInstaller java.util.Map jdk.nashorn.internal.runtime.CodeInstaller java.util.Map$Entry java.util.Iterator java.lang.String byte[] java.lang.Class
StackMap stack:
aload 5
aload 15
aload 17
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 17 end local 16 end local 15 end local 13 20: StackMap locals: jdk.nashorn.internal.codegen.CompilationPhase$InstallPhase jdk.nashorn.internal.codegen.Compiler jdk.nashorn.internal.codegen.Compiler$CompilationPhases jdk.nashorn.internal.ir.FunctionNode jdk.nashorn.internal.runtime.logging.DebugLogger java.util.Map int java.lang.Class long jdk.nashorn.internal.runtime.CodeInstaller java.util.Map jdk.nashorn.internal.runtime.CodeInstaller top java.util.Iterator
StackMap stack:
aload 14
invokeinterface java.util.Iterator.hasNext:()Z
ifne 11
21: aload 7
ifnonnull 23
22: new jdk.nashorn.internal.codegen.CompilationException
dup
ldc "Internal compiler error: root class not found!"
invokespecial jdk.nashorn.internal.codegen.CompilationException.<init>:(Ljava/lang/String;)V
athrow
23: StackMap locals: jdk.nashorn.internal.codegen.CompilationPhase$InstallPhase jdk.nashorn.internal.codegen.Compiler jdk.nashorn.internal.codegen.Compiler$CompilationPhases jdk.nashorn.internal.ir.FunctionNode jdk.nashorn.internal.runtime.logging.DebugLogger java.util.Map int java.lang.Class long jdk.nashorn.internal.runtime.CodeInstaller java.util.Map jdk.nashorn.internal.runtime.CodeInstaller
StackMap stack:
aload 1
invokevirtual jdk.nashorn.internal.codegen.Compiler.getConstantData:()Ljdk/nashorn/internal/codegen/ConstantData;
invokevirtual jdk.nashorn.internal.codegen.ConstantData.toArray:()[Ljava/lang/Object;
astore 13
start local 13 24: aload 12
aload 5
invokeinterface java.util.Map.values:()Ljava/util/Collection;
aload 1
invokevirtual jdk.nashorn.internal.codegen.Compiler.getSource:()Ljdk/nashorn/internal/runtime/Source;
aload 13
invokeinterface jdk.nashorn.internal.runtime.CodeInstaller.initialize:(Ljava/util/Collection;Ljdk/nashorn/internal/runtime/Source;[Ljava/lang/Object;)V
25: aload 13
dup
astore 17
arraylength
istore 16
iconst_0
istore 15
goto 30
StackMap locals: jdk.nashorn.internal.codegen.CompilationPhase$InstallPhase jdk.nashorn.internal.codegen.Compiler jdk.nashorn.internal.codegen.Compiler$CompilationPhases jdk.nashorn.internal.ir.FunctionNode jdk.nashorn.internal.runtime.logging.DebugLogger java.util.Map int java.lang.Class long jdk.nashorn.internal.runtime.CodeInstaller java.util.Map jdk.nashorn.internal.runtime.CodeInstaller java.lang.Object[] top int int java.lang.Object[]
StackMap stack:
26: aload 17
iload 15
aaload
astore 14
start local 14 27: aload 14
instanceof jdk.nashorn.internal.runtime.RecompilableScriptFunctionData
ifeq 29
28: aload 14
checkcast jdk.nashorn.internal.runtime.RecompilableScriptFunctionData
aload 1
invokevirtual jdk.nashorn.internal.codegen.Compiler.getSource:()Ljdk/nashorn/internal/runtime/Source;
aload 12
invokevirtual jdk.nashorn.internal.runtime.RecompilableScriptFunctionData.initTransients:(Ljdk/nashorn/internal/runtime/Source;Ljdk/nashorn/internal/runtime/CodeInstaller;)V
end local 14 29: StackMap locals:
StackMap stack:
iinc 15 1
StackMap locals:
StackMap stack:
30: iload 15
iload 16
if_icmplt 26
31: aload 1
invokevirtual jdk.nashorn.internal.codegen.Compiler.getCompileUnits:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 15
goto 37
StackMap locals: jdk.nashorn.internal.codegen.CompilationPhase$InstallPhase jdk.nashorn.internal.codegen.Compiler jdk.nashorn.internal.codegen.Compiler$CompilationPhases jdk.nashorn.internal.ir.FunctionNode jdk.nashorn.internal.runtime.logging.DebugLogger java.util.Map int java.lang.Class long jdk.nashorn.internal.runtime.CodeInstaller java.util.Map jdk.nashorn.internal.runtime.CodeInstaller java.lang.Object[] top java.util.Iterator
StackMap stack:
32: aload 15
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.nashorn.internal.codegen.CompileUnit
astore 14
start local 14 33: aload 14
invokevirtual jdk.nashorn.internal.codegen.CompileUnit.isUsed:()Z
ifne 35
34: goto 37
35: StackMap locals: jdk.nashorn.internal.codegen.CompilationPhase$InstallPhase jdk.nashorn.internal.codegen.Compiler jdk.nashorn.internal.codegen.Compiler$CompilationPhases jdk.nashorn.internal.ir.FunctionNode jdk.nashorn.internal.runtime.logging.DebugLogger java.util.Map int java.lang.Class long jdk.nashorn.internal.runtime.CodeInstaller java.util.Map jdk.nashorn.internal.runtime.CodeInstaller java.lang.Object[] jdk.nashorn.internal.codegen.CompileUnit java.util.Iterator
StackMap stack:
aload 14
aload 5
aload 14
invokevirtual jdk.nashorn.internal.codegen.CompileUnit.getUnitClassName:()Ljava/lang/String;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Class
invokevirtual jdk.nashorn.internal.codegen.CompileUnit.setCode:(Ljava/lang/Class;)V
36: aload 14
invokevirtual jdk.nashorn.internal.codegen.CompileUnit.initializeFunctionsCode:()V
end local 14 37: StackMap locals: jdk.nashorn.internal.codegen.CompilationPhase$InstallPhase jdk.nashorn.internal.codegen.Compiler jdk.nashorn.internal.codegen.Compiler$CompilationPhases jdk.nashorn.internal.ir.FunctionNode jdk.nashorn.internal.runtime.logging.DebugLogger java.util.Map int java.lang.Class long jdk.nashorn.internal.runtime.CodeInstaller java.util.Map jdk.nashorn.internal.runtime.CodeInstaller java.lang.Object[] top java.util.Iterator
StackMap stack:
aload 15
invokeinterface java.util.Iterator.hasNext:()Z
ifne 32
38: aload 4
invokevirtual jdk.nashorn.internal.runtime.logging.DebugLogger.isEnabled:()Z
ifeq 51
39: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 14
start local 14 40: aload 14
ldc "Installed class '"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
41: aload 7
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
42: bipush 39
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
43: ldc " ["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
44: aload 7
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
45: ldc ", size="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
46: lload 8
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
47: ldc " bytes, "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
48: aload 1
invokevirtual jdk.nashorn.internal.codegen.Compiler.getCompileUnits:()Ljava/util/Set;
invokeinterface java.util.Set.size:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
49: ldc " compile unit(s)]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
50: aload 4
aload 14
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual jdk.nashorn.internal.runtime.logging.DebugLogger.fine:(Ljava/lang/String;)V
end local 14 51: StackMap locals: jdk.nashorn.internal.codegen.CompilationPhase$InstallPhase jdk.nashorn.internal.codegen.Compiler jdk.nashorn.internal.codegen.Compiler$CompilationPhases jdk.nashorn.internal.ir.FunctionNode jdk.nashorn.internal.runtime.logging.DebugLogger java.util.Map int java.lang.Class long jdk.nashorn.internal.runtime.CodeInstaller java.util.Map jdk.nashorn.internal.runtime.CodeInstaller java.lang.Object[]
StackMap stack:
aload 3
aconst_null
aload 7
invokevirtual jdk.nashorn.internal.ir.FunctionNode.setRootClass:(Ljdk/nashorn/internal/ir/LexicalContext;Ljava/lang/Class;)Ljdk/nashorn/internal/ir/FunctionNode;
areturn
end local 13 end local 12 end local 11 end local 10 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 52 0 this Ljdk/nashorn/internal/codegen/CompilationPhase$InstallPhase;
0 52 1 compiler Ljdk/nashorn/internal/codegen/Compiler;
0 52 2 phases Ljdk/nashorn/internal/codegen/Compiler$CompilationPhases;
0 52 3 fn Ljdk/nashorn/internal/ir/FunctionNode;
1 52 4 log Ljdk/nashorn/internal/runtime/logging/DebugLogger;
2 52 5 installedClasses Ljava/util/Map<Ljava/lang/String;Ljava/lang/Class<*>;>;
3 52 6 first Z
4 52 7 rootClass Ljava/lang/Class<*>;
5 52 8 length J
6 52 10 origCodeInstaller Ljdk/nashorn/internal/runtime/CodeInstaller;
7 52 11 bytecode Ljava/util/Map<Ljava/lang/String;[B>;
10 52 12 codeInstaller Ljdk/nashorn/internal/runtime/CodeInstaller;
12 20 13 entry Ljava/util/Map$Entry<Ljava/lang/String;[B>;
13 20 15 className Ljava/lang/String;
14 20 16 code [B
16 20 17 clazz Ljava/lang/Class<*>;
24 52 13 constants [Ljava/lang/Object;
27 29 14 constant Ljava/lang/Object;
33 37 14 unit Ljdk/nashorn/internal/codegen/CompileUnit;
40 51 14 sb Ljava/lang/StringBuilder;
MethodParameters:
Name Flags
compiler final
phases final
fn final
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "'Class Installation'"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/codegen/CompilationPhase$InstallPhase;
}
SourceFile: "CompilationPhase.java"
NestHost: jdk.nashorn.internal.codegen.CompilationPhase
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map
private final InstallPhase = jdk.nashorn.internal.codegen.CompilationPhase$InstallPhase of jdk.nashorn.internal.codegen.CompilationPhase
public CompilationPhases = jdk.nashorn.internal.codegen.Compiler$CompilationPhases of jdk.nashorn.internal.codegen.Compiler