public class org.graalvm.compiler.debug.internal.DebugHistogramImpl implements org.graalvm.compiler.debug.DebugHistogram
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.debug.internal.DebugHistogramImpl
super_class: java.lang.Object
{
private final java.lang.String name;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.util.HashMap<java.lang.Object, org.graalvm.compiler.debug.DebugHistogram$CountedValue> map;
descriptor: Ljava/util/HashMap;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/HashMap<Ljava/lang/Object;Lorg/graalvm/compiler/debug/DebugHistogram$CountedValue;>;
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield org.graalvm.compiler.debug.internal.DebugHistogramImpl.map:Ljava/util/HashMap;
2: aload 0
aload 1
putfield org.graalvm.compiler.debug.internal.DebugHistogramImpl.name:Ljava/lang/String;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/compiler/debug/internal/DebugHistogramImpl;
0 4 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public void add(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.compiler.debug.internal.DebugHistogramImpl.map:Ljava/util/HashMap;
aload 1
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.graalvm.compiler.debug.DebugHistogram$CountedValue
astore 2
start local 2 1: aload 2
ifnonnull 4
2: aload 0
getfield org.graalvm.compiler.debug.internal.DebugHistogramImpl.map:Ljava/util/HashMap;
aload 1
new org.graalvm.compiler.debug.DebugHistogram$CountedValue
dup
lconst_1
aload 1
invokespecial org.graalvm.compiler.debug.DebugHistogram$CountedValue.<init>:(JLjava/lang/Object;)V
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
3: goto 5
4: StackMap locals: org.graalvm.compiler.debug.DebugHistogram$CountedValue
StackMap stack:
aload 2
invokevirtual org.graalvm.compiler.debug.DebugHistogram$CountedValue.inc:()V
5: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/graalvm/compiler/debug/internal/DebugHistogramImpl;
0 6 1 value Ljava/lang/Object;
1 6 2 cv Lorg/graalvm/compiler/debug/DebugHistogram$CountedValue;
MethodParameters:
Name Flags
value
public void add(java.lang.Object, long);
descriptor: (Ljava/lang/Object;J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.graalvm.compiler.debug.internal.DebugHistogramImpl.map:Ljava/util/HashMap;
aload 1
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.graalvm.compiler.debug.DebugHistogram$CountedValue
astore 4
start local 4 1: aload 4
ifnonnull 4
2: aload 0
getfield org.graalvm.compiler.debug.internal.DebugHistogramImpl.map:Ljava/util/HashMap;
aload 1
new org.graalvm.compiler.debug.DebugHistogram$CountedValue
dup
lload 2
aload 1
invokespecial org.graalvm.compiler.debug.DebugHistogram$CountedValue.<init>:(JLjava/lang/Object;)V
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
3: goto 5
4: StackMap locals: org.graalvm.compiler.debug.DebugHistogram$CountedValue
StackMap stack:
aload 4
lload 2
invokevirtual org.graalvm.compiler.debug.DebugHistogram$CountedValue.add:(J)V
5: StackMap locals:
StackMap stack:
return
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/graalvm/compiler/debug/internal/DebugHistogramImpl;
0 6 1 value Ljava/lang/Object;
0 6 2 count J
1 6 4 cv Lorg/graalvm/compiler/debug/DebugHistogram$CountedValue;
MethodParameters:
Name Flags
value
count
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.internal.DebugHistogramImpl.name:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/debug/internal/DebugHistogramImpl;
public java.util.List<org.graalvm.compiler.debug.DebugHistogram$CountedValue> getValues();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: new java.util.ArrayList
dup
aload 0
getfield org.graalvm.compiler.debug.internal.DebugHistogramImpl.map:Ljava/util/HashMap;
invokevirtual java.util.HashMap.values:()Ljava/util/Collection;
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
astore 1
start local 1 1: aload 1
invokestatic java.util.Collections.sort:(Ljava/util/List;)V
2: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/debug/internal/DebugHistogramImpl;
1 3 1 res Ljava/util/ArrayList<Lorg/graalvm/compiler/debug/DebugHistogram$CountedValue;>;
Signature: ()Ljava/util/List<Lorg/graalvm/compiler/debug/DebugHistogram$CountedValue;>;
}
SourceFile: "DebugHistogramImpl.java"
InnerClasses:
public CountedValue = org.graalvm.compiler.debug.DebugHistogram$CountedValue of org.graalvm.compiler.debug.DebugHistogram