public class org.graalvm.compiler.debug.DebugValueMap
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.debug.DebugValueMap
super_class: java.lang.Object
{
private static final java.util.List<org.graalvm.compiler.debug.DebugValueMap> topLevelMaps;
descriptor: Ljava/util/List;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/List<Lorg/graalvm/compiler/debug/DebugValueMap;>;
private long[] values;
descriptor: [J
flags: (0x0002) ACC_PRIVATE
private java.util.List<org.graalvm.compiler.debug.DebugValueMap> children;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/List<Lorg/graalvm/compiler/debug/DebugValueMap;>;
private java.lang.String name;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private static final java.lang.ThreadLocal<org.graalvm.compiler.debug.DebugValueMap> topLevelMap;
descriptor: Ljava/lang/ThreadLocal;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/lang/ThreadLocal<Lorg/graalvm/compiler/debug/DebugValueMap;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putstatic org.graalvm.compiler.debug.DebugValueMap.topLevelMaps:Ljava/util/List;
1: new java.lang.ThreadLocal
dup
invokespecial java.lang.ThreadLocal.<init>:()V
putstatic org.graalvm.compiler.debug.DebugValueMap.topLevelMap:Ljava/lang/ThreadLocal;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.graalvm.compiler.debug.DebugValueMap.name:Ljava/lang/String;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/debug/DebugValueMap;
0 3 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public void setCurrentValue(int, long);
descriptor: (IJ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
invokevirtual org.graalvm.compiler.debug.DebugValueMap.ensureSize:(I)V
1: aload 0
getfield org.graalvm.compiler.debug.DebugValueMap.values:[J
iload 1
lload 2
lastore
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/debug/DebugValueMap;
0 3 1 index I
0 3 2 l J
MethodParameters:
Name Flags
index
l
public long getCurrentValue(int);
descriptor: (I)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokevirtual org.graalvm.compiler.debug.DebugValueMap.ensureSize:(I)V
1: aload 0
getfield org.graalvm.compiler.debug.DebugValueMap.values:[J
iload 1
laload
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/debug/DebugValueMap;
0 2 1 index I
MethodParameters:
Name Flags
index
public void clearChildren();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.debug.DebugValueMap.children:Ljava/util/List;
ifnull 2
1: aload 0
getfield org.graalvm.compiler.debug.DebugValueMap.children:Ljava/util/List;
invokeinterface java.util.List.clear:()V
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/debug/DebugValueMap;
public void reset();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.debug.DebugValueMap.values:[J
ifnull 2
1: aload 0
getfield org.graalvm.compiler.debug.DebugValueMap.values:[J
lconst_0
invokestatic java.util.Arrays.fill:([JJ)V
2: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.debug.DebugValueMap.children:Ljava/util/List;
ifnull 7
3: aload 0
getfield org.graalvm.compiler.debug.DebugValueMap.children:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 2
goto 6
StackMap locals: org.graalvm.compiler.debug.DebugValueMap top java.util.Iterator
StackMap stack:
4: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.debug.DebugValueMap
astore 1
start local 1 5: aload 1
invokevirtual org.graalvm.compiler.debug.DebugValueMap.reset:()V
end local 1 6: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
7: StackMap locals: org.graalvm.compiler.debug.DebugValueMap
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/graalvm/compiler/debug/DebugValueMap;
5 6 1 child Lorg/graalvm/compiler/debug/DebugValueMap;
private void ensureSize(int);
descriptor: (I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.compiler.debug.DebugValueMap.values:[J
ifnonnull 2
1: aload 0
iload 1
iconst_1
iadd
newarray 11
putfield org.graalvm.compiler.debug.DebugValueMap.values:[J
2: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.debug.DebugValueMap.values:[J
arraylength
iload 1
if_icmpgt 4
3: aload 0
aload 0
getfield org.graalvm.compiler.debug.DebugValueMap.values:[J
iload 1
iconst_1
iadd
invokestatic java.util.Arrays.copyOf:([JI)[J
putfield org.graalvm.compiler.debug.DebugValueMap.values:[J
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/graalvm/compiler/debug/DebugValueMap;
0 5 1 index I
MethodParameters:
Name Flags
index
private int capacity();
descriptor: ()I
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.debug.DebugValueMap.values:[J
ifnonnull 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield org.graalvm.compiler.debug.DebugValueMap.values:[J
arraylength
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/debug/DebugValueMap;
public void addChild(org.graalvm.compiler.debug.DebugValueMap);
descriptor: (Lorg/graalvm/compiler/debug/DebugValueMap;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.compiler.debug.DebugValueMap.children:Ljava/util/List;
ifnonnull 2
1: aload 0
new java.util.ArrayList
dup
iconst_4
invokespecial java.util.ArrayList.<init>:(I)V
putfield org.graalvm.compiler.debug.DebugValueMap.children:Ljava/util/List;
2: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.debug.DebugValueMap.children:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/compiler/debug/DebugValueMap;
0 4 1 map Lorg/graalvm/compiler/debug/DebugValueMap;
MethodParameters:
Name Flags
map
public java.util.List<org.graalvm.compiler.debug.DebugValueMap> getChildren();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.debug.DebugValueMap.children:Ljava/util/List;
ifnonnull 2
1: invokestatic java.util.Collections.emptyList:()Ljava/util/List;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.debug.DebugValueMap.children:Ljava/util/List;
invokestatic java.util.Collections.unmodifiableList:(Ljava/util/List;)Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/debug/DebugValueMap;
Signature: ()Ljava/util/List<Lorg/graalvm/compiler/debug/DebugValueMap;>;
public boolean hasChildren();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.debug.DebugValueMap.children:Ljava/util/List;
ifnull 1
aload 0
getfield org.graalvm.compiler.debug.DebugValueMap.children:Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ifne 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 Lorg/graalvm/compiler/debug/DebugValueMap;
public java.lang.String getName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.debug.DebugValueMap.name:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/debug/DebugValueMap;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "DebugValueMap<"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual org.graalvm.compiler.debug.DebugValueMap.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ">"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/debug/DebugValueMap;
public static synchronized void registerTopLevel(org.graalvm.compiler.debug.DebugValueMap);
descriptor: (Lorg/graalvm/compiler/debug/DebugValueMap;)V
flags: (0x0029) ACC_PUBLIC, ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic org.graalvm.compiler.debug.DebugValueMap.topLevelMaps:Ljava/util/List;
aload 0
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 map Lorg/graalvm/compiler/debug/DebugValueMap;
MethodParameters:
Name Flags
map
public static synchronized java.util.List<org.graalvm.compiler.debug.DebugValueMap> getTopLevelMaps();
descriptor: ()Ljava/util/List;
flags: (0x0029) ACC_PUBLIC, ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=1, locals=0, args_size=0
0: getstatic org.graalvm.compiler.debug.DebugValueMap.topLevelMaps:Ljava/util/List;
areturn
LocalVariableTable:
Start End Slot Name Signature
Signature: ()Ljava/util/List<Lorg/graalvm/compiler/debug/DebugValueMap;>;
static org.graalvm.compiler.debug.DebugValueMap getTopLevelMap();
descriptor: ()Lorg/graalvm/compiler/debug/DebugValueMap;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=1, args_size=0
0: getstatic org.graalvm.compiler.debug.DebugValueMap.topLevelMap:Ljava/lang/ThreadLocal;
invokevirtual java.lang.ThreadLocal.get:()Ljava/lang/Object;
checkcast org.graalvm.compiler.debug.DebugValueMap
astore 0
start local 0 1: aload 0
ifnonnull 5
2: new org.graalvm.compiler.debug.DebugValueMap
dup
invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
invokevirtual java.lang.Thread.getName:()Ljava/lang/String;
invokespecial org.graalvm.compiler.debug.DebugValueMap.<init>:(Ljava/lang/String;)V
astore 0
3: getstatic org.graalvm.compiler.debug.DebugValueMap.topLevelMap:Ljava/lang/ThreadLocal;
aload 0
invokevirtual java.lang.ThreadLocal.set:(Ljava/lang/Object;)V
4: aload 0
invokestatic org.graalvm.compiler.debug.DebugValueMap.registerTopLevel:(Lorg/graalvm/compiler/debug/DebugValueMap;)V
5: StackMap locals: org.graalvm.compiler.debug.DebugValueMap
StackMap stack:
aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 6 0 map Lorg/graalvm/compiler/debug/DebugValueMap;
public void normalize();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=1
start local 0 0: aload 0
invokevirtual org.graalvm.compiler.debug.DebugValueMap.hasChildren:()Z
ifeq 19
1: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 1
start local 1 2: aload 0
getfield org.graalvm.compiler.debug.DebugValueMap.children:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 11
StackMap locals: org.graalvm.compiler.debug.DebugValueMap java.util.Map top java.util.Iterator
StackMap stack:
3: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.debug.DebugValueMap
astore 2
start local 2 4: aload 2
invokevirtual org.graalvm.compiler.debug.DebugValueMap.getName:()Ljava/lang/String;
astore 4
start local 4 5: aload 1
aload 4
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifne 9
6: aload 1
aload 4
aload 2
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
7: aload 2
invokevirtual org.graalvm.compiler.debug.DebugValueMap.normalize:()V
8: goto 11
9: StackMap locals: org.graalvm.compiler.debug.DebugValueMap java.util.Map org.graalvm.compiler.debug.DebugValueMap java.util.Iterator java.lang.String
StackMap stack:
aload 1
aload 4
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.graalvm.compiler.debug.DebugValueMap
aload 2
invokevirtual org.graalvm.compiler.debug.DebugValueMap.mergeWith:(Lorg/graalvm/compiler/debug/DebugValueMap;)V
10: aload 1
aload 4
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.graalvm.compiler.debug.DebugValueMap
invokevirtual org.graalvm.compiler.debug.DebugValueMap.normalize:()V
end local 4 end local 2 11: StackMap locals: org.graalvm.compiler.debug.DebugValueMap java.util.Map top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
12: aload 1
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.size:()I
aload 0
getfield org.graalvm.compiler.debug.DebugValueMap.children:Ljava/util/List;
invokeinterface java.util.List.size:()I
if_icmpge 19
13: aload 0
getfield org.graalvm.compiler.debug.DebugValueMap.children:Ljava/util/List;
invokeinterface java.util.List.clear:()V
14: aload 1
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 3
goto 18
StackMap locals:
StackMap stack:
15: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.debug.DebugValueMap
astore 2
start local 2 16: aload 0
aload 2
invokevirtual org.graalvm.compiler.debug.DebugValueMap.addChild:(Lorg/graalvm/compiler/debug/DebugValueMap;)V
17: aload 2
invokevirtual org.graalvm.compiler.debug.DebugValueMap.normalize:()V
end local 2 18: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 15
end local 1 19: StackMap locals: org.graalvm.compiler.debug.DebugValueMap
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lorg/graalvm/compiler/debug/DebugValueMap;
2 19 1 occurred Ljava/util/Map<Ljava/lang/String;Lorg/graalvm/compiler/debug/DebugValueMap;>;
4 11 2 map Lorg/graalvm/compiler/debug/DebugValueMap;
5 11 4 mapName Ljava/lang/String;
16 18 2 map Lorg/graalvm/compiler/debug/DebugValueMap;
private void mergeWith(org.graalvm.compiler.debug.DebugValueMap);
descriptor: (Lorg/graalvm/compiler/debug/DebugValueMap;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=8, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.graalvm.compiler.debug.DebugValueMap.hasChildren:()Z
ifeq 6
1: aload 0
invokevirtual org.graalvm.compiler.debug.DebugValueMap.hasChildren:()Z
ifeq 4
2: aload 0
getfield org.graalvm.compiler.debug.DebugValueMap.children:Ljava/util/List;
aload 1
getfield org.graalvm.compiler.debug.DebugValueMap.children:Ljava/util/List;
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
3: goto 5
4: StackMap locals:
StackMap stack:
aload 0
aload 1
getfield org.graalvm.compiler.debug.DebugValueMap.children:Ljava/util/List;
putfield org.graalvm.compiler.debug.DebugValueMap.children:Ljava/util/List;
5: StackMap locals:
StackMap stack:
aload 1
aconst_null
putfield org.graalvm.compiler.debug.DebugValueMap.children:Ljava/util/List;
6: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.graalvm.compiler.debug.DebugValueMap.capacity:()I
aload 1
invokevirtual org.graalvm.compiler.debug.DebugValueMap.capacity:()I
invokestatic java.lang.Math.max:(II)I
istore 2
start local 2 7: aload 0
iload 2
invokevirtual org.graalvm.compiler.debug.DebugValueMap.ensureSize:(I)V
8: iconst_0
istore 3
start local 3 9: goto 14
10: StackMap locals: int int
StackMap stack:
aload 0
iload 3
invokevirtual org.graalvm.compiler.debug.DebugValueMap.getCurrentValue:(I)J
lstore 4
start local 4 11: aload 1
iload 3
invokevirtual org.graalvm.compiler.debug.DebugValueMap.getCurrentValue:(I)J
lstore 6
start local 6 12: aload 0
iload 3
lload 4
lload 6
ladd
invokevirtual org.graalvm.compiler.debug.DebugValueMap.setCurrentValue:(IJ)V
end local 6 end local 4 13: iinc 3 1
StackMap locals:
StackMap stack:
14: iload 3
iload 2
if_icmplt 10
end local 3 15: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/graalvm/compiler/debug/DebugValueMap;
0 16 1 map Lorg/graalvm/compiler/debug/DebugValueMap;
7 16 2 size I
9 15 3 i I
11 13 4 curValue J
12 13 6 otherValue J
MethodParameters:
Name Flags
map
public void group();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: aload 0
invokevirtual org.graalvm.compiler.debug.DebugValueMap.hasChildren:()Z
ifeq 7
1: new java.util.ArrayList
dup
aload 0
getfield org.graalvm.compiler.debug.DebugValueMap.children:Ljava/util/List;
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
astore 1
start local 1 2: aload 0
getfield org.graalvm.compiler.debug.DebugValueMap.children:Ljava/util/List;
invokeinterface java.util.List.clear:()V
3: aload 1
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 6
StackMap locals: org.graalvm.compiler.debug.DebugValueMap java.util.List top java.util.Iterator
StackMap stack:
4: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.debug.DebugValueMap
astore 2
start local 2 5: aload 0
aload 2
invokevirtual org.graalvm.compiler.debug.DebugValueMap.mergeWith:(Lorg/graalvm/compiler/debug/DebugValueMap;)V
end local 2 6: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
end local 1 7: StackMap locals: org.graalvm.compiler.debug.DebugValueMap
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/graalvm/compiler/debug/DebugValueMap;
2 7 1 oldChildren Ljava/util/List<Lorg/graalvm/compiler/debug/DebugValueMap;>;
5 6 2 map Lorg/graalvm/compiler/debug/DebugValueMap;
}
SourceFile: "DebugValueMap.java"