public final class jdk.nashorn.internal.codegen.CompileUnit implements java.lang.Comparable<jdk.nashorn.internal.codegen.CompileUnit>, java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: jdk.nashorn.internal.codegen.CompileUnit
super_class: java.lang.Object
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
private final transient java.lang.String className;
descriptor: Ljava/lang/String;
flags: (0x0092) ACC_PRIVATE, ACC_FINAL, ACC_TRANSIENT
private transient jdk.nashorn.internal.codegen.ClassEmitter classEmitter;
descriptor: Ljdk/nashorn/internal/codegen/ClassEmitter;
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
private transient long weight;
descriptor: J
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
private transient java.lang.Class<?> clazz;
descriptor: Ljava/lang/Class;
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
Signature: Ljava/lang/Class<*>;
private final transient java.util.Map<jdk.nashorn.internal.ir.FunctionNode, jdk.nashorn.internal.runtime.RecompilableScriptFunctionData> functions;
descriptor: Ljava/util/Map;
flags: (0x0092) ACC_PRIVATE, ACC_FINAL, ACC_TRANSIENT
Signature: Ljava/util/Map<Ljdk/nashorn/internal/ir/FunctionNode;Ljdk/nashorn/internal/runtime/RecompilableScriptFunctionData;>;
private transient boolean isUsed;
descriptor: Z
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
private static int emittedUnitCount;
descriptor: I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
void <init>(java.lang.String, jdk.nashorn.internal.codegen.ClassEmitter, long);
descriptor: (Ljava/lang/String;Ljdk/nashorn/internal/codegen/ClassEmitter;J)V
flags: (0x0000)
Code:
stack=3, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.IdentityHashMap
dup
invokespecial java.util.IdentityHashMap.<init>:()V
putfield jdk.nashorn.internal.codegen.CompileUnit.functions:Ljava/util/Map;
2: aload 0
aload 1
putfield jdk.nashorn.internal.codegen.CompileUnit.className:Ljava/lang/String;
3: aload 0
lload 3
putfield jdk.nashorn.internal.codegen.CompileUnit.weight:J
4: aload 0
aload 2
putfield jdk.nashorn.internal.codegen.CompileUnit.classEmitter:Ljdk/nashorn/internal/codegen/ClassEmitter;
5: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/nashorn/internal/codegen/CompileUnit;
0 6 1 className Ljava/lang/String;
0 6 2 classEmitter Ljdk/nashorn/internal/codegen/ClassEmitter;
0 6 3 initialWeight J
MethodParameters:
Name Flags
className final
classEmitter final
initialWeight final
static java.util.Set<jdk.nashorn.internal.codegen.CompileUnit> createCompileUnitSet();
descriptor: ()Ljava/util/Set;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new java.util.TreeSet
dup
invokespecial java.util.TreeSet.<init>:()V
areturn
LocalVariableTable:
Start End Slot Name Signature
Signature: ()Ljava/util/Set<Ljdk/nashorn/internal/codegen/CompileUnit;>;
static void increaseEmitCount();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: getstatic jdk.nashorn.internal.codegen.CompileUnit.emittedUnitCount:I
iconst_1
iadd
putstatic jdk.nashorn.internal.codegen.CompileUnit.emittedUnitCount:I
1: return
LocalVariableTable:
Start End Slot Name Signature
public static int getEmittedUnitCount();
descriptor: ()I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic jdk.nashorn.internal.codegen.CompileUnit.emittedUnitCount:I
ireturn
LocalVariableTable:
Start End Slot Name Signature
public boolean isUsed();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.codegen.CompileUnit.isUsed:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/codegen/CompileUnit;
public boolean hasCode();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.codegen.CompileUnit.classEmitter:Ljdk/nashorn/internal/codegen/ClassEmitter;
invokevirtual jdk.nashorn.internal.codegen.ClassEmitter.getMethodCount:()I
aload 0
getfield jdk.nashorn.internal.codegen.CompileUnit.classEmitter:Ljdk/nashorn/internal/codegen/ClassEmitter;
invokevirtual jdk.nashorn.internal.codegen.ClassEmitter.getInitCount:()I
isub
aload 0
getfield jdk.nashorn.internal.codegen.CompileUnit.classEmitter:Ljdk/nashorn/internal/codegen/ClassEmitter;
invokevirtual jdk.nashorn.internal.codegen.ClassEmitter.getClinitCount:()I
isub
ifle 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/nashorn/internal/codegen/CompileUnit;
public void setUsed();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
putfield jdk.nashorn.internal.codegen.CompileUnit.isUsed:Z
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/nashorn/internal/codegen/CompileUnit;
public java.lang.Class<?> getCode();
descriptor: ()Ljava/lang/Class;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.codegen.CompileUnit.clazz:Ljava/lang/Class;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/codegen/CompileUnit;
Signature: ()Ljava/lang/Class<*>;
void setCode(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Class
putfield jdk.nashorn.internal.codegen.CompileUnit.clazz:Ljava/lang/Class;
1: aload 0
aconst_null
putfield jdk.nashorn.internal.codegen.CompileUnit.classEmitter:Ljdk/nashorn/internal/codegen/ClassEmitter;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/nashorn/internal/codegen/CompileUnit;
0 3 1 clazz Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)V
MethodParameters:
Name Flags
clazz final
void addFunctionInitializer(jdk.nashorn.internal.runtime.RecompilableScriptFunctionData, jdk.nashorn.internal.ir.FunctionNode);
descriptor: (Ljdk/nashorn/internal/runtime/RecompilableScriptFunctionData;Ljdk/nashorn/internal/ir/FunctionNode;)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.CompileUnit.functions:Ljava/util/Map;
aload 2
aload 1
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/CompileUnit;
0 2 1 data Ljdk/nashorn/internal/runtime/RecompilableScriptFunctionData;
0 2 2 functionNode Ljdk/nashorn/internal/ir/FunctionNode;
MethodParameters:
Name Flags
data final
functionNode final
public boolean isInitializing(jdk.nashorn.internal.runtime.RecompilableScriptFunctionData, jdk.nashorn.internal.ir.FunctionNode);
descriptor: (Ljdk/nashorn/internal/runtime/RecompilableScriptFunctionData;Ljdk/nashorn/internal/ir/FunctionNode;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield jdk.nashorn.internal.codegen.CompileUnit.functions:Ljava/util/Map;
aload 2
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
aload 1
if_acmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/nashorn/internal/codegen/CompileUnit;
0 2 1 data Ljdk/nashorn/internal/runtime/RecompilableScriptFunctionData;
0 2 2 functionNode Ljdk/nashorn/internal/ir/FunctionNode;
MethodParameters:
Name Flags
data final
functionNode final
void initializeFunctionsCode();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.codegen.CompileUnit.functions:Ljava/util/Map;
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 2
goto 3
StackMap locals: jdk.nashorn.internal.codegen.CompileUnit top java.util.Iterator
StackMap stack:
1: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 1
start local 1 2: aload 1
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast jdk.nashorn.internal.runtime.RecompilableScriptFunctionData
aload 1
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast jdk.nashorn.internal.ir.FunctionNode
invokevirtual jdk.nashorn.internal.runtime.RecompilableScriptFunctionData.initializeCode:(Ljdk/nashorn/internal/ir/FunctionNode;)V
end local 1 3: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/nashorn/internal/codegen/CompileUnit;
2 3 1 entry Ljava/util/Map$Entry<Ljdk/nashorn/internal/ir/FunctionNode;Ljdk/nashorn/internal/runtime/RecompilableScriptFunctionData;>;
java.util.Collection<jdk.nashorn.internal.ir.FunctionNode> getFunctionNodes();
descriptor: ()Ljava/util/Collection;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.codegen.CompileUnit.functions:Ljava/util/Map;
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokestatic java.util.Collections.unmodifiableCollection:(Ljava/util/Collection;)Ljava/util/Collection;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/codegen/CompileUnit;
Signature: ()Ljava/util/Collection<Ljdk/nashorn/internal/ir/FunctionNode;>;
void addWeight(long);
descriptor: (J)V
flags: (0x0000)
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
dup
getfield jdk.nashorn.internal.codegen.CompileUnit.weight:J
lload 1
ladd
putfield jdk.nashorn.internal.codegen.CompileUnit.weight:J
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/nashorn/internal/codegen/CompileUnit;
0 2 1 w J
MethodParameters:
Name Flags
w final
public boolean canHold(long);
descriptor: (J)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.nashorn.internal.codegen.CompileUnit.weight:J
lload 1
ladd
getstatic jdk.nashorn.internal.codegen.Splitter.SPLIT_THRESHOLD:J
lcmp
ifge 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/nashorn/internal/codegen/CompileUnit;
0 2 1 w J
MethodParameters:
Name Flags
w final
public jdk.nashorn.internal.codegen.ClassEmitter getClassEmitter();
descriptor: ()Ljdk/nashorn/internal/codegen/ClassEmitter;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.codegen.CompileUnit.classEmitter:Ljdk/nashorn/internal/codegen/ClassEmitter;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/codegen/CompileUnit;
public java.lang.String getUnitClassName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.codegen.CompileUnit.className:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/codegen/CompileUnit;
private static java.lang.String shortName(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
ifnonnull 1
aconst_null
goto 3
StackMap locals:
StackMap stack:
1: aload 0
bipush 47
invokevirtual java.lang.String.lastIndexOf:(I)I
iconst_m1
if_icmpne 2
aload 0
goto 3
StackMap locals:
StackMap stack:
2: aload 0
aload 0
bipush 47
invokevirtual java.lang.String.lastIndexOf:(I)I
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
3: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 name Ljava/lang/String;
MethodParameters:
Name Flags
name final
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.codegen.CompileUnit.classEmitter:Ljdk/nashorn/internal/codegen/ClassEmitter;
ifnull 1
aload 0
getfield jdk.nashorn.internal.codegen.CompileUnit.classEmitter:Ljdk/nashorn/internal/codegen/ClassEmitter;
invokevirtual jdk.nashorn.internal.codegen.ClassEmitter.getMethodNames:()Ljava/util/Set;
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
goto 2
StackMap locals:
StackMap stack:
1: ldc "<anon>"
StackMap locals:
StackMap stack: java.lang.String
2: astore 1
start local 1 3: new java.lang.StringBuilder
dup
ldc "[CompileUnit className="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield jdk.nashorn.internal.codegen.CompileUnit.className:Ljava/lang/String;
invokestatic jdk.nashorn.internal.codegen.CompileUnit.shortName:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " weight="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield jdk.nashorn.internal.codegen.CompileUnit.weight:J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
bipush 47
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
getstatic jdk.nashorn.internal.codegen.Splitter.SPLIT_THRESHOLD:J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc " hasCode="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
bipush 93
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/nashorn/internal/codegen/CompileUnit;
3 4 1 methods Ljava/lang/String;
public int compareTo(jdk.nashorn.internal.codegen.CompileUnit);
descriptor: (Ljdk/nashorn/internal/codegen/CompileUnit;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.nashorn.internal.codegen.CompileUnit.className:Ljava/lang/String;
aload 1
getfield jdk.nashorn.internal.codegen.CompileUnit.className:Ljava/lang/String;
invokevirtual java.lang.String.compareTo:(Ljava/lang/String;)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/codegen/CompileUnit;
0 1 1 o Ljdk/nashorn/internal/codegen/CompileUnit;
MethodParameters:
Name Flags
o final
public int compareTo(java.lang.Object);
descriptor: (Ljava/lang/Object;)I
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast jdk.nashorn.internal.codegen.CompileUnit
invokevirtual jdk.nashorn.internal.codegen.CompileUnit.compareTo:(Ljdk/nashorn/internal/codegen/CompileUnit;)I
ireturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Ljava/lang/Comparable<Ljdk/nashorn/internal/codegen/CompileUnit;>;Ljava/io/Serializable;
SourceFile: "CompileUnit.java"
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map