class org.openjdk.jmh.profile.GCProfiler$HotspotAllocationSnapshot
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.openjdk.jmh.profile.GCProfiler$HotspotAllocationSnapshot
super_class: java.lang.Object
{
public static final org.openjdk.jmh.profile.GCProfiler$HotspotAllocationSnapshot EMPTY;
descriptor: Lorg/openjdk/jmh/profile/GCProfiler$HotspotAllocationSnapshot;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
private final long[] threadIds;
descriptor: [J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final long[] allocatedBytes;
descriptor: [J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: new org.openjdk.jmh.profile.GCProfiler$HotspotAllocationSnapshot
dup
iconst_0
newarray 11
iconst_0
newarray 11
invokespecial org.openjdk.jmh.profile.GCProfiler$HotspotAllocationSnapshot.<init>:([J[J)V
putstatic org.openjdk.jmh.profile.GCProfiler$HotspotAllocationSnapshot.EMPTY:Lorg/openjdk/jmh/profile/GCProfiler$HotspotAllocationSnapshot;
return
LocalVariableTable:
Start End Slot Name Signature
private void <init>(long[], long[]);
descriptor: ([J[J)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.openjdk.jmh.profile.GCProfiler$HotspotAllocationSnapshot.threadIds:[J
2: aload 0
aload 2
putfield org.openjdk.jmh.profile.GCProfiler$HotspotAllocationSnapshot.allocatedBytes:[J
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/openjdk/jmh/profile/GCProfiler$HotspotAllocationSnapshot;
0 4 1 threadIds [J
0 4 2 allocatedBytes [J
MethodParameters:
Name Flags
threadIds
allocatedBytes
public long subtract(org.openjdk.jmh.profile.GCProfiler$HotspotAllocationSnapshot);
descriptor: (Lorg/openjdk/jmh/profile/GCProfiler$HotspotAllocationSnapshot;)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=11, args_size=2
start local 0 start local 1 0: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 2
start local 2 1: iconst_0
istore 3
start local 3 2: goto 6
3: StackMap locals: java.util.HashMap int
StackMap stack:
aload 1
getfield org.openjdk.jmh.profile.GCProfiler$HotspotAllocationSnapshot.threadIds:[J
iload 3
laload
lstore 4
start local 4 4: aload 2
lload 4
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
iload 3
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 4 5: iinc 3 1
StackMap locals:
StackMap stack:
6: iload 3
aload 1
getfield org.openjdk.jmh.profile.GCProfiler$HotspotAllocationSnapshot.threadIds:[J
arraylength
if_icmplt 3
end local 3 7: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
invokevirtual java.lang.Thread.getId:()J
lstore 3
start local 3 8: lconst_0
lstore 5
start local 5 9: iconst_0
istore 7
start local 7 10: goto 19
11: StackMap locals: org.openjdk.jmh.profile.GCProfiler$HotspotAllocationSnapshot org.openjdk.jmh.profile.GCProfiler$HotspotAllocationSnapshot java.util.HashMap long long int
StackMap stack:
aload 0
getfield org.openjdk.jmh.profile.GCProfiler$HotspotAllocationSnapshot.threadIds:[J
iload 7
laload
lstore 8
start local 8 12: lload 8
lload 3
lcmp
ifne 14
13: goto 18
14: StackMap locals: long
StackMap stack:
lload 5
aload 0
getfield org.openjdk.jmh.profile.GCProfiler$HotspotAllocationSnapshot.allocatedBytes:[J
iload 7
laload
ladd
lstore 5
15: aload 2
lload 8
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Integer
astore 10
start local 10 16: aload 10
ifnull 18
17: lload 5
aload 1
getfield org.openjdk.jmh.profile.GCProfiler$HotspotAllocationSnapshot.allocatedBytes:[J
aload 10
invokevirtual java.lang.Integer.intValue:()I
laload
lsub
lstore 5
end local 10 end local 8 18: StackMap locals:
StackMap stack:
iinc 7 1
StackMap locals:
StackMap stack:
19: iload 7
aload 0
getfield org.openjdk.jmh.profile.GCProfiler$HotspotAllocationSnapshot.threadIds:[J
arraylength
if_icmplt 11
end local 7 20: lload 5
lreturn
end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lorg/openjdk/jmh/profile/GCProfiler$HotspotAllocationSnapshot;
0 21 1 other Lorg/openjdk/jmh/profile/GCProfiler$HotspotAllocationSnapshot;
1 21 2 prevIndex Ljava/util/HashMap<Ljava/lang/Long;Ljava/lang/Integer;>;
2 7 3 i I
4 5 4 id J
8 21 3 currentThreadId J
9 21 5 allocated J
10 20 7 i I
12 18 8 id J
16 18 10 prev Ljava/lang/Integer;
MethodParameters:
Name Flags
other
}
SourceFile: "GCProfiler.java"
NestHost: org.openjdk.jmh.profile.GCProfiler
InnerClasses:
HotspotAllocationSnapshot = org.openjdk.jmh.profile.GCProfiler$HotspotAllocationSnapshot of org.openjdk.jmh.profile.GCProfiler