public class sun.jvm.hotspot.tools.HeapSummary extends sun.jvm.hotspot.tools.Tool
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.jvm.hotspot.tools.HeapSummary
super_class: sun.jvm.hotspot.tools.Tool
{
private static java.lang.String alignment;
descriptor: Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static final double FACTOR;
descriptor: D
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1048576.0
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc " "
putstatic sun.jvm.hotspot.tools.HeapSummary.alignment:Ljava/lang/String;
1: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial sun.jvm.hotspot.tools.Tool.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/jvm/hotspot/tools/HeapSummary;
public void <init>(sun.jvm.hotspot.debugger.JVMDebugger);
descriptor: (Lsun/jvm/hotspot/debugger/JVMDebugger;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial sun.jvm.hotspot.tools.Tool.<init>:(Lsun/jvm/hotspot/debugger/JVMDebugger;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/jvm/hotspot/tools/HeapSummary;
0 2 1 d Lsun/jvm/hotspot/debugger/JVMDebugger;
MethodParameters:
Name Flags
d
public static void main(java.lang.String[]);
descriptor: ([Ljava/lang/String;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: new sun.jvm.hotspot.tools.HeapSummary
dup
invokespecial sun.jvm.hotspot.tools.HeapSummary.<init>:()V
astore 1
start local 1 1: aload 1
aload 0
invokevirtual sun.jvm.hotspot.tools.HeapSummary.execute:([Ljava/lang/String;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 args [Ljava/lang/String;
1 3 1 hs Lsun/jvm/hotspot/tools/HeapSummary;
MethodParameters:
Name Flags
args
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: ldc "heapSummary"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/tools/HeapSummary;
public void run();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=10, args_size=1
start local 0 0: invokestatic sun.jvm.hotspot.runtime.VM.getVM:()Lsun/jvm/hotspot/runtime/VM;
invokevirtual sun.jvm.hotspot.runtime.VM.getUniverse:()Lsun/jvm/hotspot/memory/Universe;
invokevirtual sun.jvm.hotspot.memory.Universe.heap:()Lsun/jvm/hotspot/gc/shared/CollectedHeap;
astore 1
start local 1 1: invokestatic sun.jvm.hotspot.runtime.VM.getVM:()Lsun/jvm/hotspot/runtime/VM;
invokevirtual sun.jvm.hotspot.runtime.VM.getCommandLineFlags:()[Lsun/jvm/hotspot/runtime/VM$Flag;
astore 2
start local 2 2: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 3
start local 3 3: aload 2
ifnonnull 6
4: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "WARNING: command line flags are not available"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
5: goto 11
6: StackMap locals: sun.jvm.hotspot.gc.shared.CollectedHeap sun.jvm.hotspot.runtime.VM$Flag[] java.util.Map
StackMap stack:
iconst_0
istore 4
start local 4 7: goto 10
8: StackMap locals: int
StackMap stack:
aload 3
aload 2
iload 4
aaload
invokevirtual sun.jvm.hotspot.runtime.VM$Flag.getName:()Ljava/lang/String;
aload 2
iload 4
aaload
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
9: iinc 4 1
StackMap locals:
StackMap stack:
10: iload 4
aload 2
arraylength
if_icmplt 8
end local 4 11: StackMap locals:
StackMap stack:
getstatic java.lang.System.out:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.println:()V
12: aload 0
aload 3
invokevirtual sun.jvm.hotspot.tools.HeapSummary.printGCAlgorithm:(Ljava/util/Map;)V
13: getstatic java.lang.System.out:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.println:()V
14: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "Heap Configuration:"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
15: aload 0
ldc "MinHeapFreeRatio = "
aload 0
ldc "MinHeapFreeRatio"
aload 3
invokevirtual sun.jvm.hotspot.tools.HeapSummary.getFlagValue:(Ljava/lang/String;Ljava/util/Map;)J
invokevirtual sun.jvm.hotspot.tools.HeapSummary.printValue:(Ljava/lang/String;J)V
16: aload 0
ldc "MaxHeapFreeRatio = "
aload 0
ldc "MaxHeapFreeRatio"
aload 3
invokevirtual sun.jvm.hotspot.tools.HeapSummary.getFlagValue:(Ljava/lang/String;Ljava/util/Map;)J
invokevirtual sun.jvm.hotspot.tools.HeapSummary.printValue:(Ljava/lang/String;J)V
17: aload 0
ldc "MaxHeapSize = "
aload 0
ldc "MaxHeapSize"
aload 3
invokevirtual sun.jvm.hotspot.tools.HeapSummary.getFlagValue:(Ljava/lang/String;Ljava/util/Map;)J
invokevirtual sun.jvm.hotspot.tools.HeapSummary.printValMB:(Ljava/lang/String;J)V
18: aload 0
ldc "NewSize = "
aload 0
ldc "NewSize"
aload 3
invokevirtual sun.jvm.hotspot.tools.HeapSummary.getFlagValue:(Ljava/lang/String;Ljava/util/Map;)J
invokevirtual sun.jvm.hotspot.tools.HeapSummary.printValMB:(Ljava/lang/String;J)V
19: aload 0
ldc "MaxNewSize = "
aload 0
ldc "MaxNewSize"
aload 3
invokevirtual sun.jvm.hotspot.tools.HeapSummary.getFlagValue:(Ljava/lang/String;Ljava/util/Map;)J
invokevirtual sun.jvm.hotspot.tools.HeapSummary.printValMB:(Ljava/lang/String;J)V
20: aload 0
ldc "OldSize = "
aload 0
ldc "OldSize"
aload 3
invokevirtual sun.jvm.hotspot.tools.HeapSummary.getFlagValue:(Ljava/lang/String;Ljava/util/Map;)J
invokevirtual sun.jvm.hotspot.tools.HeapSummary.printValMB:(Ljava/lang/String;J)V
21: aload 0
ldc "NewRatio = "
aload 0
ldc "NewRatio"
aload 3
invokevirtual sun.jvm.hotspot.tools.HeapSummary.getFlagValue:(Ljava/lang/String;Ljava/util/Map;)J
invokevirtual sun.jvm.hotspot.tools.HeapSummary.printValue:(Ljava/lang/String;J)V
22: aload 0
ldc "SurvivorRatio = "
aload 0
ldc "SurvivorRatio"
aload 3
invokevirtual sun.jvm.hotspot.tools.HeapSummary.getFlagValue:(Ljava/lang/String;Ljava/util/Map;)J
invokevirtual sun.jvm.hotspot.tools.HeapSummary.printValue:(Ljava/lang/String;J)V
23: aload 0
ldc "MetaspaceSize = "
aload 0
ldc "MetaspaceSize"
aload 3
invokevirtual sun.jvm.hotspot.tools.HeapSummary.getFlagValue:(Ljava/lang/String;Ljava/util/Map;)J
invokevirtual sun.jvm.hotspot.tools.HeapSummary.printValMB:(Ljava/lang/String;J)V
24: aload 0
ldc "CompressedClassSpaceSize = "
aload 0
ldc "CompressedClassSpaceSize"
aload 3
invokevirtual sun.jvm.hotspot.tools.HeapSummary.getFlagValue:(Ljava/lang/String;Ljava/util/Map;)J
invokevirtual sun.jvm.hotspot.tools.HeapSummary.printValMB:(Ljava/lang/String;J)V
25: aload 0
ldc "MaxMetaspaceSize = "
aload 0
ldc "MaxMetaspaceSize"
aload 3
invokevirtual sun.jvm.hotspot.tools.HeapSummary.getFlagValue:(Ljava/lang/String;Ljava/util/Map;)J
invokevirtual sun.jvm.hotspot.tools.HeapSummary.printValMB:(Ljava/lang/String;J)V
26: aload 1
instanceof sun.jvm.hotspot.gc.shenandoah.ShenandoahHeap
ifeq 29
27: aload 0
ldc "ShenandoahRegionSize = "
invokestatic sun.jvm.hotspot.gc.shenandoah.ShenandoahHeapRegion.regionSizeBytes:()J
invokevirtual sun.jvm.hotspot.tools.HeapSummary.printValMB:(Ljava/lang/String;J)V
28: goto 30
29: StackMap locals:
StackMap stack:
aload 0
ldc "G1HeapRegionSize = "
invokestatic sun.jvm.hotspot.gc.g1.HeapRegion.grainBytes:()J
invokevirtual sun.jvm.hotspot.tools.HeapSummary.printValMB:(Ljava/lang/String;J)V
30: StackMap locals:
StackMap stack:
getstatic java.lang.System.out:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.println:()V
31: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "Heap Usage:"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
32: aload 1
instanceof sun.jvm.hotspot.gc.shared.GenCollectedHeap
ifeq 55
33: aload 1
checkcast sun.jvm.hotspot.gc.shared.GenCollectedHeap
astore 4
start local 4 34: iconst_0
istore 5
start local 5 35: goto 53
36: StackMap locals: sun.jvm.hotspot.gc.shared.GenCollectedHeap int
StackMap stack:
aload 4
iload 5
invokevirtual sun.jvm.hotspot.gc.shared.GenCollectedHeap.getGen:(I)Lsun/jvm/hotspot/gc/shared/Generation;
astore 6
start local 6 37: aload 6
instanceof sun.jvm.hotspot.gc.serial.DefNewGeneration
ifeq 50
38: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "New Generation (Eden + 1 Survivor Space):"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
39: aload 0
aload 6
invokevirtual sun.jvm.hotspot.tools.HeapSummary.printGen:(Lsun/jvm/hotspot/gc/shared/Generation;)V
40: aload 6
checkcast sun.jvm.hotspot.gc.serial.DefNewGeneration
invokevirtual sun.jvm.hotspot.gc.serial.DefNewGeneration.eden:()Lsun/jvm/hotspot/gc/shared/ContiguousSpace;
astore 7
start local 7 41: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "Eden Space:"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
42: aload 0
aload 7
invokevirtual sun.jvm.hotspot.tools.HeapSummary.printSpace:(Lsun/jvm/hotspot/gc/shared/ContiguousSpace;)V
43: aload 6
checkcast sun.jvm.hotspot.gc.serial.DefNewGeneration
invokevirtual sun.jvm.hotspot.gc.serial.DefNewGeneration.from:()Lsun/jvm/hotspot/gc/shared/ContiguousSpace;
astore 8
start local 8 44: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "From Space:"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
45: aload 0
aload 8
invokevirtual sun.jvm.hotspot.tools.HeapSummary.printSpace:(Lsun/jvm/hotspot/gc/shared/ContiguousSpace;)V
46: aload 6
checkcast sun.jvm.hotspot.gc.serial.DefNewGeneration
invokevirtual sun.jvm.hotspot.gc.serial.DefNewGeneration.to:()Lsun/jvm/hotspot/gc/shared/ContiguousSpace;
astore 9
start local 9 47: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "To Space:"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
48: aload 0
aload 9
invokevirtual sun.jvm.hotspot.tools.HeapSummary.printSpace:(Lsun/jvm/hotspot/gc/shared/ContiguousSpace;)V
end local 9 end local 8 end local 7 49: goto 52
50: StackMap locals: sun.jvm.hotspot.gc.shared.Generation
StackMap stack:
getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
aload 6
invokevirtual sun.jvm.hotspot.gc.shared.Generation.name:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
51: aload 0
aload 6
invokevirtual sun.jvm.hotspot.tools.HeapSummary.printGen:(Lsun/jvm/hotspot/gc/shared/Generation;)V
end local 6 52: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
53: iload 5
aload 4
invokevirtual sun.jvm.hotspot.gc.shared.GenCollectedHeap.nGens:()I
if_icmplt 36
end local 5 end local 4 54: goto 88
StackMap locals:
StackMap stack:
55: aload 1
instanceof sun.jvm.hotspot.gc.g1.G1CollectedHeap
ifeq 58
56: aload 0
aload 1
checkcast sun.jvm.hotspot.gc.g1.G1CollectedHeap
invokevirtual sun.jvm.hotspot.tools.HeapSummary.printG1HeapSummary:(Lsun/jvm/hotspot/gc/g1/G1CollectedHeap;)V
57: goto 88
StackMap locals:
StackMap stack:
58: aload 1
instanceof sun.jvm.hotspot.gc.parallel.ParallelScavengeHeap
ifeq 70
59: aload 1
checkcast sun.jvm.hotspot.gc.parallel.ParallelScavengeHeap
astore 4
start local 4 60: aload 4
invokevirtual sun.jvm.hotspot.gc.parallel.ParallelScavengeHeap.youngGen:()Lsun/jvm/hotspot/gc/parallel/PSYoungGen;
astore 5
start local 5 61: aload 0
aload 5
invokevirtual sun.jvm.hotspot.tools.HeapSummary.printPSYoungGen:(Lsun/jvm/hotspot/gc/parallel/PSYoungGen;)V
62: aload 4
invokevirtual sun.jvm.hotspot.gc.parallel.ParallelScavengeHeap.oldGen:()Lsun/jvm/hotspot/gc/parallel/PSOldGen;
astore 6
start local 6 63: aload 6
invokevirtual sun.jvm.hotspot.gc.parallel.PSOldGen.capacity:()J
aload 6
invokevirtual sun.jvm.hotspot.gc.parallel.PSOldGen.used:()J
lsub
lstore 7
start local 7 64: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "PS Old Generation"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
65: aload 0
ldc "capacity = "
aload 6
invokevirtual sun.jvm.hotspot.gc.parallel.PSOldGen.capacity:()J
invokevirtual sun.jvm.hotspot.tools.HeapSummary.printValMB:(Ljava/lang/String;J)V
66: aload 0
ldc "used = "
aload 6
invokevirtual sun.jvm.hotspot.gc.parallel.PSOldGen.used:()J
invokevirtual sun.jvm.hotspot.tools.HeapSummary.printValMB:(Ljava/lang/String;J)V
67: aload 0
ldc "free = "
lload 7
invokevirtual sun.jvm.hotspot.tools.HeapSummary.printValMB:(Ljava/lang/String;J)V
68: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
getstatic sun.jvm.hotspot.tools.HeapSummary.alignment:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 6
invokevirtual sun.jvm.hotspot.gc.parallel.PSOldGen.used:()J
l2d
ldc 100.0
dmul
aload 6
invokevirtual sun.jvm.hotspot.gc.parallel.PSOldGen.capacity:()J
l2d
ddiv
invokevirtual java.lang.StringBuilder.append:(D)Ljava/lang/StringBuilder;
ldc "% used"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
end local 7 end local 6 end local 5 end local 4 69: goto 88
StackMap locals:
StackMap stack:
70: aload 1
instanceof sun.jvm.hotspot.gc.shenandoah.ShenandoahHeap
ifeq 79
71: aload 1
checkcast sun.jvm.hotspot.gc.shenandoah.ShenandoahHeap
astore 4
start local 4 72: aload 4
invokevirtual sun.jvm.hotspot.gc.shenandoah.ShenandoahHeap.numOfRegions:()J
lstore 5
start local 5 73: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "Shenandoah Heap:"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
74: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc " regions = "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
lload 5
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
75: aload 0
ldc "capacity = "
lload 5
invokestatic sun.jvm.hotspot.gc.shenandoah.ShenandoahHeapRegion.regionSizeBytes:()J
lmul
invokevirtual sun.jvm.hotspot.tools.HeapSummary.printValMB:(Ljava/lang/String;J)V
76: aload 0
ldc "used = "
aload 4
invokevirtual sun.jvm.hotspot.gc.shenandoah.ShenandoahHeap.used:()J
invokevirtual sun.jvm.hotspot.tools.HeapSummary.printValMB:(Ljava/lang/String;J)V
77: aload 0
ldc "committed = "
aload 4
invokevirtual sun.jvm.hotspot.gc.shenandoah.ShenandoahHeap.committed:()J
invokevirtual sun.jvm.hotspot.tools.HeapSummary.printValMB:(Ljava/lang/String;J)V
end local 5 end local 4 78: goto 88
StackMap locals:
StackMap stack:
79: aload 1
instanceof sun.jvm.hotspot.gc.epsilon.EpsilonHeap
ifeq 83
80: aload 1
checkcast sun.jvm.hotspot.gc.epsilon.EpsilonHeap
astore 4
start local 4 81: aload 0
aload 4
invokevirtual sun.jvm.hotspot.gc.epsilon.EpsilonHeap.space:()Lsun/jvm/hotspot/gc/shared/ContiguousSpace;
invokevirtual sun.jvm.hotspot.tools.HeapSummary.printSpace:(Lsun/jvm/hotspot/gc/shared/ContiguousSpace;)V
end local 4 82: goto 88
StackMap locals:
StackMap stack:
83: aload 1
instanceof sun.jvm.hotspot.gc.z.ZCollectedHeap
ifeq 87
84: aload 1
checkcast sun.jvm.hotspot.gc.z.ZCollectedHeap
astore 4
start local 4 85: aload 4
getstatic java.lang.System.out:Ljava/io/PrintStream;
invokevirtual sun.jvm.hotspot.gc.z.ZCollectedHeap.printOn:(Ljava/io/PrintStream;)V
end local 4 86: goto 88
87: StackMap locals:
StackMap stack:
new java.lang.RuntimeException
dup
new java.lang.StringBuilder
dup
ldc "unknown CollectedHeap type : "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
88: StackMap locals:
StackMap stack:
getstatic java.lang.System.out:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.println:()V
89: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 90 0 this Lsun/jvm/hotspot/tools/HeapSummary;
1 90 1 heap Lsun/jvm/hotspot/gc/shared/CollectedHeap;
2 90 2 flags [Lsun/jvm/hotspot/runtime/VM$Flag;
3 90 3 flagMap Ljava/util/Map<Ljava/lang/String;Lsun/jvm/hotspot/runtime/VM$Flag;>;
7 11 4 f I
34 54 4 genHeap Lsun/jvm/hotspot/gc/shared/GenCollectedHeap;
35 54 5 n I
37 52 6 gen Lsun/jvm/hotspot/gc/shared/Generation;
41 49 7 eden Lsun/jvm/hotspot/gc/shared/ContiguousSpace;
44 49 8 from Lsun/jvm/hotspot/gc/shared/ContiguousSpace;
47 49 9 to Lsun/jvm/hotspot/gc/shared/ContiguousSpace;
60 69 4 psh Lsun/jvm/hotspot/gc/parallel/ParallelScavengeHeap;
61 69 5 youngGen Lsun/jvm/hotspot/gc/parallel/PSYoungGen;
63 69 6 oldGen Lsun/jvm/hotspot/gc/parallel/PSOldGen;
64 69 7 oldFree J
72 78 4 sh Lsun/jvm/hotspot/gc/shenandoah/ShenandoahHeap;
73 78 5 num_regions J
81 82 4 eh Lsun/jvm/hotspot/gc/epsilon/EpsilonHeap;
85 86 4 zheap Lsun/jvm/hotspot/gc/z/ZCollectedHeap;
private void printGCAlgorithm(java.util.Map);
descriptor: (Ljava/util/Map;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
ldc "UseTLAB"
aload 1
invokevirtual sun.jvm.hotspot.tools.HeapSummary.getFlagValue:(Ljava/lang/String;Ljava/util/Map;)J
lstore 2
start local 2 1: lload 2
lconst_1
lcmp
ifne 3
2: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "using thread-local object allocation."
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
3: StackMap locals: long
StackMap stack:
aload 0
ldc "UseParallelGC"
aload 1
invokevirtual sun.jvm.hotspot.tools.HeapSummary.getFlagValue:(Ljava/lang/String;Ljava/util/Map;)J
lstore 2
4: lload 2
lconst_1
lcmp
ifne 9
5: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "Parallel GC "
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
6: aload 0
ldc "ParallelGCThreads"
aload 1
invokevirtual sun.jvm.hotspot.tools.HeapSummary.getFlagValue:(Ljava/lang/String;Ljava/util/Map;)J
lstore 2
7: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "with "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
lload 2
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc " thread(s)"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
8: return
9: StackMap locals:
StackMap stack:
aload 0
ldc "UseG1GC"
aload 1
invokevirtual sun.jvm.hotspot.tools.HeapSummary.getFlagValue:(Ljava/lang/String;Ljava/util/Map;)J
lstore 2
10: lload 2
lconst_1
lcmp
ifne 15
11: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "Garbage-First (G1) GC "
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
12: aload 0
ldc "ParallelGCThreads"
aload 1
invokevirtual sun.jvm.hotspot.tools.HeapSummary.getFlagValue:(Ljava/lang/String;Ljava/util/Map;)J
lstore 2
13: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "with "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
lload 2
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc " thread(s)"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
14: return
15: StackMap locals:
StackMap stack:
aload 0
ldc "UseEpsilonGC"
aload 1
invokevirtual sun.jvm.hotspot.tools.HeapSummary.getFlagValue:(Ljava/lang/String;Ljava/util/Map;)J
lstore 2
16: lload 2
lconst_1
lcmp
ifne 19
17: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "Epsilon (no-op) GC"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
18: return
19: StackMap locals:
StackMap stack:
aload 0
ldc "UseZGC"
aload 1
invokevirtual sun.jvm.hotspot.tools.HeapSummary.getFlagValue:(Ljava/lang/String;Ljava/util/Map;)J
lstore 2
20: lload 2
lconst_1
lcmp
ifne 25
21: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "ZGC "
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
22: aload 0
ldc "ParallelGCThreads"
aload 1
invokevirtual sun.jvm.hotspot.tools.HeapSummary.getFlagValue:(Ljava/lang/String;Ljava/util/Map;)J
lstore 2
23: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "with "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
lload 2
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc " thread(s)"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
24: return
25: StackMap locals:
StackMap stack:
aload 0
ldc "UseShenandoahGC"
aload 1
invokevirtual sun.jvm.hotspot.tools.HeapSummary.getFlagValue:(Ljava/lang/String;Ljava/util/Map;)J
lstore 2
26: lload 2
lconst_1
lcmp
ifne 31
27: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "Shenandoah GC "
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
28: aload 0
ldc "ParallelGCThreads"
aload 1
invokevirtual sun.jvm.hotspot.tools.HeapSummary.getFlagValue:(Ljava/lang/String;Ljava/util/Map;)J
lstore 2
29: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "with "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
lload 2
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc " thread(s)"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
30: return
31: StackMap locals:
StackMap stack:
getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "Mark Sweep Compact GC"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
32: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 33 0 this Lsun/jvm/hotspot/tools/HeapSummary;
0 33 1 flagMap Ljava/util/Map;
1 33 2 l J
MethodParameters:
Name Flags
flagMap
private void printPSYoungGen(sun.jvm.hotspot.gc.parallel.PSYoungGen);
descriptor: (Lsun/jvm/hotspot/gc/parallel/PSYoungGen;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "PS Young Generation"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
1: aload 1
invokevirtual sun.jvm.hotspot.gc.parallel.PSYoungGen.edenSpace:()Lsun/jvm/hotspot/gc/parallel/MutableSpace;
astore 2
start local 2 2: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "Eden Space:"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
3: aload 0
aload 2
invokevirtual sun.jvm.hotspot.tools.HeapSummary.printMutableSpace:(Lsun/jvm/hotspot/gc/parallel/MutableSpace;)V
4: aload 1
invokevirtual sun.jvm.hotspot.gc.parallel.PSYoungGen.fromSpace:()Lsun/jvm/hotspot/gc/parallel/MutableSpace;
astore 3
start local 3 5: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "From Space:"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
6: aload 0
aload 3
invokevirtual sun.jvm.hotspot.tools.HeapSummary.printMutableSpace:(Lsun/jvm/hotspot/gc/parallel/MutableSpace;)V
7: aload 1
invokevirtual sun.jvm.hotspot.gc.parallel.PSYoungGen.toSpace:()Lsun/jvm/hotspot/gc/parallel/MutableSpace;
astore 4
start local 4 8: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "To Space:"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
9: aload 0
aload 4
invokevirtual sun.jvm.hotspot.tools.HeapSummary.printMutableSpace:(Lsun/jvm/hotspot/gc/parallel/MutableSpace;)V
10: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/jvm/hotspot/tools/HeapSummary;
0 11 1 youngGen Lsun/jvm/hotspot/gc/parallel/PSYoungGen;
2 11 2 eden Lsun/jvm/hotspot/gc/parallel/MutableSpace;
5 11 3 from Lsun/jvm/hotspot/gc/parallel/MutableSpace;
8 11 4 to Lsun/jvm/hotspot/gc/parallel/MutableSpace;
MethodParameters:
Name Flags
youngGen
private void printMutableSpace(sun.jvm.hotspot.gc.parallel.MutableSpace);
descriptor: (Lsun/jvm/hotspot/gc/parallel/MutableSpace;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=4, args_size=2
start local 0 start local 1 0: aload 0
ldc "capacity = "
aload 1
invokevirtual sun.jvm.hotspot.gc.parallel.MutableSpace.capacity:()J
invokevirtual sun.jvm.hotspot.tools.HeapSummary.printValMB:(Ljava/lang/String;J)V
1: aload 0
ldc "used = "
aload 1
invokevirtual sun.jvm.hotspot.gc.parallel.MutableSpace.used:()J
invokevirtual sun.jvm.hotspot.tools.HeapSummary.printValMB:(Ljava/lang/String;J)V
2: aload 1
invokevirtual sun.jvm.hotspot.gc.parallel.MutableSpace.capacity:()J
aload 1
invokevirtual sun.jvm.hotspot.gc.parallel.MutableSpace.used:()J
lsub
lstore 2
start local 2 3: aload 0
ldc "free = "
lload 2
invokevirtual sun.jvm.hotspot.tools.HeapSummary.printValMB:(Ljava/lang/String;J)V
4: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
getstatic sun.jvm.hotspot.tools.HeapSummary.alignment:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual sun.jvm.hotspot.gc.parallel.MutableSpace.used:()J
l2d
ldc 100.0
dmul
aload 1
invokevirtual sun.jvm.hotspot.gc.parallel.MutableSpace.capacity:()J
l2d
ddiv
invokevirtual java.lang.StringBuilder.append:(D)Ljava/lang/StringBuilder;
ldc "% used"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/jvm/hotspot/tools/HeapSummary;
0 6 1 space Lsun/jvm/hotspot/gc/parallel/MutableSpace;
3 6 2 free J
MethodParameters:
Name Flags
space
private void printGen(sun.jvm.hotspot.gc.shared.Generation);
descriptor: (Lsun/jvm/hotspot/gc/shared/Generation;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ldc "capacity = "
aload 1
invokevirtual sun.jvm.hotspot.gc.shared.Generation.capacity:()J
invokevirtual sun.jvm.hotspot.tools.HeapSummary.printValMB:(Ljava/lang/String;J)V
1: aload 0
ldc "used = "
aload 1
invokevirtual sun.jvm.hotspot.gc.shared.Generation.used:()J
invokevirtual sun.jvm.hotspot.tools.HeapSummary.printValMB:(Ljava/lang/String;J)V
2: aload 0
ldc "free = "
aload 1
invokevirtual sun.jvm.hotspot.gc.shared.Generation.free:()J
invokevirtual sun.jvm.hotspot.tools.HeapSummary.printValMB:(Ljava/lang/String;J)V
3: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
getstatic sun.jvm.hotspot.tools.HeapSummary.alignment:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual sun.jvm.hotspot.gc.shared.Generation.used:()J
l2d
ldc 100.0
dmul
aload 1
invokevirtual sun.jvm.hotspot.gc.shared.Generation.capacity:()J
l2d
ddiv
invokevirtual java.lang.StringBuilder.append:(D)Ljava/lang/StringBuilder;
ldc "% used"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/jvm/hotspot/tools/HeapSummary;
0 5 1 gen Lsun/jvm/hotspot/gc/shared/Generation;
MethodParameters:
Name Flags
gen
private void printSpace(sun.jvm.hotspot.gc.shared.ContiguousSpace);
descriptor: (Lsun/jvm/hotspot/gc/shared/ContiguousSpace;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ldc "capacity = "
aload 1
invokevirtual sun.jvm.hotspot.gc.shared.ContiguousSpace.capacity:()J
invokevirtual sun.jvm.hotspot.tools.HeapSummary.printValMB:(Ljava/lang/String;J)V
1: aload 0
ldc "used = "
aload 1
invokevirtual sun.jvm.hotspot.gc.shared.ContiguousSpace.used:()J
invokevirtual sun.jvm.hotspot.tools.HeapSummary.printValMB:(Ljava/lang/String;J)V
2: aload 0
ldc "free = "
aload 1
invokevirtual sun.jvm.hotspot.gc.shared.ContiguousSpace.free:()J
invokevirtual sun.jvm.hotspot.tools.HeapSummary.printValMB:(Ljava/lang/String;J)V
3: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
getstatic sun.jvm.hotspot.tools.HeapSummary.alignment:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual sun.jvm.hotspot.gc.shared.ContiguousSpace.used:()J
l2d
ldc 100.0
dmul
aload 1
invokevirtual sun.jvm.hotspot.gc.shared.ContiguousSpace.capacity:()J
l2d
ddiv
invokevirtual java.lang.StringBuilder.append:(D)Ljava/lang/StringBuilder;
ldc "% used"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/jvm/hotspot/tools/HeapSummary;
0 5 1 space Lsun/jvm/hotspot/gc/shared/ContiguousSpace;
MethodParameters:
Name Flags
space
public void printG1HeapSummary(sun.jvm.hotspot.gc.g1.G1CollectedHeap);
descriptor: (Lsun/jvm/hotspot/gc/g1/G1CollectedHeap;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getstatic java.lang.System.out:Ljava/io/PrintStream;
aload 1
invokevirtual sun.jvm.hotspot.tools.HeapSummary.printG1HeapSummary:(Ljava/io/PrintStream;Lsun/jvm/hotspot/gc/g1/G1CollectedHeap;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/jvm/hotspot/tools/HeapSummary;
0 2 1 g1h Lsun/jvm/hotspot/gc/g1/G1CollectedHeap;
MethodParameters:
Name Flags
g1h
public void printG1HeapSummary(java.io.PrintStream, sun.jvm.hotspot.gc.g1.G1CollectedHeap);
descriptor: (Ljava/io/PrintStream;Lsun/jvm/hotspot/gc/g1/G1CollectedHeap;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=13, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokevirtual sun.jvm.hotspot.gc.g1.G1CollectedHeap.g1mm:()Lsun/jvm/hotspot/gc/g1/G1MonitoringSupport;
astore 3
start local 3 1: aload 3
invokevirtual sun.jvm.hotspot.gc.g1.G1MonitoringSupport.edenSpaceRegionNum:()J
lstore 4
start local 4 2: aload 3
invokevirtual sun.jvm.hotspot.gc.g1.G1MonitoringSupport.survivorSpaceRegionNum:()J
lstore 6
start local 6 3: aload 2
invokevirtual sun.jvm.hotspot.gc.g1.G1CollectedHeap.oldSet:()Lsun/jvm/hotspot/gc/g1/HeapRegionSetBase;
astore 8
start local 8 4: aload 2
invokevirtual sun.jvm.hotspot.gc.g1.G1CollectedHeap.archiveSet:()Lsun/jvm/hotspot/gc/g1/HeapRegionSetBase;
astore 9
start local 9 5: aload 2
invokevirtual sun.jvm.hotspot.gc.g1.G1CollectedHeap.humongousSet:()Lsun/jvm/hotspot/gc/g1/HeapRegionSetBase;
astore 10
start local 10 6: aload 8
invokevirtual sun.jvm.hotspot.gc.g1.HeapRegionSetBase.length:()J
aload 9
invokevirtual sun.jvm.hotspot.gc.g1.HeapRegionSetBase.length:()J
ladd
aload 10
invokevirtual sun.jvm.hotspot.gc.g1.HeapRegionSetBase.length:()J
ladd
lstore 11
start local 11 7: aload 0
aload 1
ldc "G1 Heap:"
aload 2
invokevirtual sun.jvm.hotspot.gc.g1.G1CollectedHeap.n_regions:()J
8: aload 2
invokevirtual sun.jvm.hotspot.gc.g1.G1CollectedHeap.used:()J
aload 2
invokevirtual sun.jvm.hotspot.gc.g1.G1CollectedHeap.capacity:()J
9: invokevirtual sun.jvm.hotspot.tools.HeapSummary.printG1Space:(Ljava/io/PrintStream;Ljava/lang/String;JJJ)V
10: aload 1
ldc "G1 Young Generation:"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
11: aload 0
aload 1
ldc "Eden Space:"
lload 4
12: aload 3
invokevirtual sun.jvm.hotspot.gc.g1.G1MonitoringSupport.edenSpaceUsed:()J
aload 3
invokevirtual sun.jvm.hotspot.gc.g1.G1MonitoringSupport.edenSpaceCommitted:()J
13: invokevirtual sun.jvm.hotspot.tools.HeapSummary.printG1Space:(Ljava/io/PrintStream;Ljava/lang/String;JJJ)V
14: aload 0
aload 1
ldc "Survivor Space:"
lload 6
15: aload 3
invokevirtual sun.jvm.hotspot.gc.g1.G1MonitoringSupport.survivorSpaceUsed:()J
aload 3
invokevirtual sun.jvm.hotspot.gc.g1.G1MonitoringSupport.survivorSpaceCommitted:()J
16: invokevirtual sun.jvm.hotspot.tools.HeapSummary.printG1Space:(Ljava/io/PrintStream;Ljava/lang/String;JJJ)V
17: aload 0
aload 1
ldc "G1 Old Generation:"
lload 11
18: aload 3
invokevirtual sun.jvm.hotspot.gc.g1.G1MonitoringSupport.oldGenUsed:()J
aload 3
invokevirtual sun.jvm.hotspot.gc.g1.G1MonitoringSupport.oldGenCommitted:()J
19: invokevirtual sun.jvm.hotspot.tools.HeapSummary.printG1Space:(Ljava/io/PrintStream;Ljava/lang/String;JJJ)V
20: return
end local 11 end local 10 end local 9 end local 8 end local 6 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lsun/jvm/hotspot/tools/HeapSummary;
0 21 1 tty Ljava/io/PrintStream;
0 21 2 g1h Lsun/jvm/hotspot/gc/g1/G1CollectedHeap;
1 21 3 g1mm Lsun/jvm/hotspot/gc/g1/G1MonitoringSupport;
2 21 4 edenSpaceRegionNum J
3 21 6 survivorSpaceRegionNum J
4 21 8 oldSet Lsun/jvm/hotspot/gc/g1/HeapRegionSetBase;
5 21 9 archiveSet Lsun/jvm/hotspot/gc/g1/HeapRegionSetBase;
6 21 10 humongousSet Lsun/jvm/hotspot/gc/g1/HeapRegionSetBase;
7 21 11 oldGenRegionNum J
MethodParameters:
Name Flags
tty
g1h
private void printG1Space(java.io.PrintStream, java.lang.String, long, long, long);
descriptor: (Ljava/io/PrintStream;Ljava/lang/String;JJJ)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=13, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 5 start local 7 0: lload 7
lload 5
lsub
lstore 9
start local 9 1: aload 1
aload 2
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
2: aload 0
aload 1
ldc "regions = "
lload 3
invokevirtual sun.jvm.hotspot.tools.HeapSummary.printValue:(Ljava/io/PrintStream;Ljava/lang/String;J)V
3: aload 0
aload 1
ldc "capacity = "
lload 7
invokevirtual sun.jvm.hotspot.tools.HeapSummary.printValMB:(Ljava/io/PrintStream;Ljava/lang/String;J)V
4: aload 0
aload 1
ldc "used = "
lload 5
invokevirtual sun.jvm.hotspot.tools.HeapSummary.printValMB:(Ljava/io/PrintStream;Ljava/lang/String;J)V
5: aload 0
aload 1
ldc "free = "
lload 9
invokevirtual sun.jvm.hotspot.tools.HeapSummary.printValMB:(Ljava/io/PrintStream;Ljava/lang/String;J)V
6: lload 7
lconst_0
lcmp
ifle 7
lload 5
l2d
ldc 100.0
dmul
lload 7
l2d
ddiv
goto 8
StackMap locals: long
StackMap stack:
7: dconst_0
StackMap locals:
StackMap stack: double
8: dstore 11
start local 11 9: aload 1
new java.lang.StringBuilder
dup
getstatic sun.jvm.hotspot.tools.HeapSummary.alignment:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
dload 11
invokevirtual java.lang.StringBuilder.append:(D)Ljava/lang/StringBuilder;
ldc "% used"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
10: return
end local 11 end local 9 end local 7 end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/jvm/hotspot/tools/HeapSummary;
0 11 1 tty Ljava/io/PrintStream;
0 11 2 spaceName Ljava/lang/String;
0 11 3 regionNum J
0 11 5 used J
0 11 7 capacity J
1 11 9 free J
9 11 11 occPerc D
MethodParameters:
Name Flags
tty
spaceName
regionNum
used
capacity
private void printValMB(java.lang.String, long);
descriptor: (Ljava/lang/String;J)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getstatic java.lang.System.out:Ljava/io/PrintStream;
aload 1
lload 2
invokevirtual sun.jvm.hotspot.tools.HeapSummary.printValMB:(Ljava/io/PrintStream;Ljava/lang/String;J)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/jvm/hotspot/tools/HeapSummary;
0 2 1 title Ljava/lang/String;
0 2 2 value J
MethodParameters:
Name Flags
title
value
private void printValMB(java.io.PrintStream, java.lang.String, long);
descriptor: (Ljava/io/PrintStream;Ljava/lang/String;J)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: lload 3
lconst_0
lcmp
ifge 3
1: aload 1
new java.lang.StringBuilder
dup
getstatic sun.jvm.hotspot.tools.HeapSummary.alignment:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
lload 3
bipush 20
lushr
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc " MB"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
2: goto 5
3: StackMap locals:
StackMap stack:
lload 3
l2d
ldc 1048576.0
ddiv
dstore 5
start local 5 4: aload 1
new java.lang.StringBuilder
dup
getstatic sun.jvm.hotspot.tools.HeapSummary.alignment:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
lload 3
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc " ("
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
dload 5
invokevirtual java.lang.StringBuilder.append:(D)Ljava/lang/StringBuilder;
ldc "MB)"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
end local 5 5: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/jvm/hotspot/tools/HeapSummary;
0 6 1 tty Ljava/io/PrintStream;
0 6 2 title Ljava/lang/String;
0 6 3 value J
4 5 5 mb D
MethodParameters:
Name Flags
tty
title
value
private void printValue(java.lang.String, long);
descriptor: (Ljava/lang/String;J)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getstatic java.lang.System.out:Ljava/io/PrintStream;
aload 1
lload 2
invokevirtual sun.jvm.hotspot.tools.HeapSummary.printValue:(Ljava/io/PrintStream;Ljava/lang/String;J)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/jvm/hotspot/tools/HeapSummary;
0 2 1 title Ljava/lang/String;
0 2 2 value J
MethodParameters:
Name Flags
title
value
private void printValue(java.io.PrintStream, java.lang.String, long);
descriptor: (Ljava/io/PrintStream;Ljava/lang/String;J)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
new java.lang.StringBuilder
dup
getstatic sun.jvm.hotspot.tools.HeapSummary.alignment:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
lload 3
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/jvm/hotspot/tools/HeapSummary;
0 2 1 tty Ljava/io/PrintStream;
0 2 2 title Ljava/lang/String;
0 2 3 value J
MethodParameters:
Name Flags
tty
title
value
private long getFlagValue(java.lang.String, java.util.Map);
descriptor: (Ljava/lang/String;Ljava/util/Map;)J
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 2
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.jvm.hotspot.runtime.VM$Flag
astore 3
start local 3 1: aload 3
ifnull 9
2: aload 3
invokevirtual sun.jvm.hotspot.runtime.VM$Flag.isBool:()Z
ifeq 6
3: aload 3
invokevirtual sun.jvm.hotspot.runtime.VM$Flag.getBool:()Z
ifeq 4
lconst_1
goto 5
StackMap locals: sun.jvm.hotspot.runtime.VM$Flag
StackMap stack:
4: lconst_0
StackMap locals:
StackMap stack: long
5: lreturn
6: StackMap locals:
StackMap stack:
aload 3
invokevirtual sun.jvm.hotspot.runtime.VM$Flag.isUIntx:()Z
ifne 7
aload 3
invokevirtual sun.jvm.hotspot.runtime.VM$Flag.isSizet:()Z
ifne 7
aload 3
invokevirtual sun.jvm.hotspot.runtime.VM$Flag.isUint64t:()Z
ifeq 8
7: StackMap locals:
StackMap stack:
aload 3
invokevirtual sun.jvm.hotspot.runtime.VM$Flag.getValue:()Ljava/lang/String;
invokestatic java.lang.Long.parseUnsignedLong:(Ljava/lang/String;)J
lreturn
8: StackMap locals:
StackMap stack:
aload 3
invokevirtual sun.jvm.hotspot.runtime.VM$Flag.getValue:()Ljava/lang/String;
invokestatic java.lang.Long.parseLong:(Ljava/lang/String;)J
lreturn
9: StackMap locals:
StackMap stack:
ldc -1
lreturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/jvm/hotspot/tools/HeapSummary;
0 10 1 name Ljava/lang/String;
0 10 2 flagMap Ljava/util/Map;
1 10 3 f Lsun/jvm/hotspot/runtime/VM$Flag;
MethodParameters:
Name Flags
name
flagMap
}
SourceFile: "HeapSummary.java"
InnerClasses:
public final Flag = sun.jvm.hotspot.runtime.VM$Flag of sun.jvm.hotspot.runtime.VM