final class jdk.nashorn.internal.codegen.CompilationPhase$ReuseCompileUnitsPhase 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$ReuseCompileUnitsPhase
super_class: jdk.nashorn.internal.codegen.CompilationPhase
{
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=1, locals=0, args_size=0
0: ldc Ljdk/nashorn/internal/codegen/CompilationPhase;
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.CompilationPhase$ReuseCompileUnitsPhase.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
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$ReuseCompileUnitsPhase;
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=5, locals=10, args_size=4
start local 0 start local 1 start local 2 start local 3 0: getstatic jdk.nashorn.internal.codegen.CompilationPhase$ReuseCompileUnitsPhase.$assertionsDisabled:Z
ifne 1
aload 2
invokevirtual jdk.nashorn.internal.codegen.Compiler$CompilationPhases.isRestOfCompilation:()Z
ifne 1
new java.lang.AssertionError
dup
ldc "reuse compile units currently only used for Rest-Of methods"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
1: StackMap locals:
StackMap stack:
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 4
start local 4 2: invokestatic jdk.nashorn.internal.codegen.CompileUnit.createCompileUnitSet:()Ljava/util/Set;
astore 5
start local 5 3: aload 1
invokevirtual jdk.nashorn.internal.codegen.Compiler.getLogger:()Ljdk/nashorn/internal/runtime/logging/DebugLogger;
astore 6
start local 6 4: aload 6
ldc "Clearing bytecode cache"
invokevirtual jdk.nashorn.internal.runtime.logging.DebugLogger.fine:(Ljava/lang/String;)V
5: aload 1
invokevirtual jdk.nashorn.internal.codegen.Compiler.clearBytecode:()V
6: aload 1
invokevirtual jdk.nashorn.internal.codegen.Compiler.getCompileUnits:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 8
goto 14
StackMap locals: jdk.nashorn.internal.codegen.CompilationPhase$ReuseCompileUnitsPhase jdk.nashorn.internal.codegen.Compiler jdk.nashorn.internal.codegen.Compiler$CompilationPhases jdk.nashorn.internal.ir.FunctionNode java.util.Map java.util.Set jdk.nashorn.internal.runtime.logging.DebugLogger top java.util.Iterator
StackMap stack:
7: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.nashorn.internal.codegen.CompileUnit
astore 7
start local 7 8: getstatic jdk.nashorn.internal.codegen.CompilationPhase$ReuseCompileUnitsPhase.$assertionsDisabled:Z
ifne 9
aload 4
aload 7
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
ifnull 9
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
9: StackMap locals: jdk.nashorn.internal.codegen.CompilationPhase$ReuseCompileUnitsPhase jdk.nashorn.internal.codegen.Compiler jdk.nashorn.internal.codegen.Compiler$CompilationPhases jdk.nashorn.internal.ir.FunctionNode java.util.Map java.util.Set jdk.nashorn.internal.runtime.logging.DebugLogger jdk.nashorn.internal.codegen.CompileUnit java.util.Iterator
StackMap stack:
aload 1
aload 2
invokestatic jdk.nashorn.internal.codegen.CompilationPhase.createNewCompileUnit:(Ljdk/nashorn/internal/codegen/Compiler;Ljdk/nashorn/internal/codegen/Compiler$CompilationPhases;)Ljdk/nashorn/internal/codegen/CompileUnit;
astore 9
start local 9 10: aload 6
iconst_4
anewarray java.lang.Object
dup
iconst_0
ldc "Creating new compile unit "
aastore
dup
iconst_1
aload 7
aastore
dup
iconst_2
ldc " => "
aastore
dup
iconst_3
aload 9
aastore
invokevirtual jdk.nashorn.internal.runtime.logging.DebugLogger.fine:([Ljava/lang/Object;)V
11: aload 4
aload 7
aload 9
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
12: getstatic jdk.nashorn.internal.codegen.CompilationPhase$ReuseCompileUnitsPhase.$assertionsDisabled:Z
ifne 13
aload 9
ifnonnull 13
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
13: StackMap locals: jdk.nashorn.internal.codegen.CompileUnit
StackMap stack:
aload 5
aload 9
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 9 end local 7 14: StackMap locals: jdk.nashorn.internal.codegen.CompilationPhase$ReuseCompileUnitsPhase jdk.nashorn.internal.codegen.Compiler jdk.nashorn.internal.codegen.Compiler$CompilationPhases jdk.nashorn.internal.ir.FunctionNode java.util.Map java.util.Set jdk.nashorn.internal.runtime.logging.DebugLogger top java.util.Iterator
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
15: aload 6
ldc "Replacing compile units in Compiler..."
invokevirtual jdk.nashorn.internal.runtime.logging.DebugLogger.fine:(Ljava/lang/String;)V
16: aload 1
aload 5
invokevirtual jdk.nashorn.internal.codegen.Compiler.replaceCompileUnits:(Ljava/util/Set;)V
17: aload 6
ldc "Done"
invokevirtual jdk.nashorn.internal.runtime.logging.DebugLogger.fine:(Ljava/lang/String;)V
18: aload 3
new jdk.nashorn.internal.codegen.CompilationPhase$ReuseCompileUnitsPhase$1
dup
aload 0
aload 4
invokespecial jdk.nashorn.internal.codegen.CompilationPhase$ReuseCompileUnitsPhase$1.<init>:(Ljdk/nashorn/internal/codegen/CompilationPhase$ReuseCompileUnitsPhase;Ljava/util/Map;)V
invokestatic jdk.nashorn.internal.codegen.CompilationPhase.transformFunction:(Ljdk/nashorn/internal/ir/FunctionNode;Ljdk/nashorn/internal/ir/visitor/NodeVisitor;)Ljdk/nashorn/internal/ir/FunctionNode;
astore 7
start local 7 19: aload 7
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 20 0 this Ljdk/nashorn/internal/codegen/CompilationPhase$ReuseCompileUnitsPhase;
0 20 1 compiler Ljdk/nashorn/internal/codegen/Compiler;
0 20 2 phases Ljdk/nashorn/internal/codegen/Compiler$CompilationPhases;
0 20 3 fn Ljdk/nashorn/internal/ir/FunctionNode;
2 20 4 map Ljava/util/Map<Ljdk/nashorn/internal/codegen/CompileUnit;Ljdk/nashorn/internal/codegen/CompileUnit;>;
3 20 5 newUnits Ljava/util/Set<Ljdk/nashorn/internal/codegen/CompileUnit;>;
4 20 6 log Ljdk/nashorn/internal/runtime/logging/DebugLogger;
8 14 7 oldUnit Ljdk/nashorn/internal/codegen/CompileUnit;
10 14 9 newUnit Ljdk/nashorn/internal/codegen/CompileUnit;
19 20 7 newFunctionNode Ljdk/nashorn/internal/ir/FunctionNode;
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 "'Reuse Compile Units'"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/codegen/CompilationPhase$ReuseCompileUnitsPhase;
}
SourceFile: "CompilationPhase.java"
NestHost: jdk.nashorn.internal.codegen.CompilationPhase
InnerClasses:
private final ReuseCompileUnitsPhase = jdk.nashorn.internal.codegen.CompilationPhase$ReuseCompileUnitsPhase of jdk.nashorn.internal.codegen.CompilationPhase
jdk.nashorn.internal.codegen.CompilationPhase$ReuseCompileUnitsPhase$1
public CompilationPhases = jdk.nashorn.internal.codegen.Compiler$CompilationPhases of jdk.nashorn.internal.codegen.Compiler