class sun.tools.jconsole.MemoryTab$PoolChart extends sun.tools.jconsole.BorderedComponent implements javax.accessibility.Accessible, java.awt.event.MouseListener
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.tools.jconsole.MemoryTab$PoolChart
super_class: sun.tools.jconsole.BorderedComponent
{
final int height;
descriptor: I
flags: (0x0010) ACC_FINAL
ConstantValue: 150
final int leftMargin;
descriptor: I
flags: (0x0010) ACC_FINAL
ConstantValue: 50
final int rightMargin;
descriptor: I
flags: (0x0010) ACC_FINAL
ConstantValue: 23
final int bottomMargin;
descriptor: I
flags: (0x0010) ACC_FINAL
ConstantValue: 35
final int barWidth;
descriptor: I
flags: (0x0010) ACC_FINAL
ConstantValue: 22
final int barGap;
descriptor: I
flags: (0x0010) ACC_FINAL
ConstantValue: 3
final int groupGap;
descriptor: I
flags: (0x0010) ACC_FINAL
ConstantValue: 8
final int barHeight;
descriptor: I
flags: (0x0010) ACC_FINAL
ConstantValue: 100
final java.awt.Color greenBar;
descriptor: Ljava/awt/Color;
flags: (0x0010) ACC_FINAL
final java.awt.Color greenBarBackground;
descriptor: Ljava/awt/Color;
flags: (0x0010) ACC_FINAL
final java.awt.Color redBarBackground;
descriptor: Ljava/awt/Color;
flags: (0x0010) ACC_FINAL
java.awt.Font smallFont;
descriptor: Ljava/awt/Font;
flags: (0x0000)
java.util.ArrayList<sun.tools.jconsole.MemoryTab$PoolPlotter> poolPlotters;
descriptor: Ljava/util/ArrayList;
flags: (0x0000)
Signature: Ljava/util/ArrayList<Lsun/tools/jconsole/MemoryTab$PoolPlotter;>;
int nHeapPools;
descriptor: I
flags: (0x0000)
int nNonHeapPools;
descriptor: I
flags: (0x0000)
java.awt.Rectangle heapRect;
descriptor: Ljava/awt/Rectangle;
flags: (0x0000)
java.awt.Rectangle nonHeapRect;
descriptor: Ljava/awt/Rectangle;
flags: (0x0000)
final sun.tools.jconsole.MemoryTab this$0;
descriptor: Lsun/tools/jconsole/MemoryTab;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
public void <init>(sun.tools.jconsole.MemoryTab);
descriptor: (Lsun/tools/jconsole/MemoryTab;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield sun.tools.jconsole.MemoryTab$PoolChart.this$0:Lsun/tools/jconsole/MemoryTab;
1: aload 0
aconst_null
aconst_null
invokespecial sun.tools.jconsole.BorderedComponent.<init>:(Ljava/lang/String;Ljavax/swing/JComponent;)V
2: aload 0
sipush 150
putfield sun.tools.jconsole.MemoryTab$PoolChart.height:I
3: aload 0
bipush 50
putfield sun.tools.jconsole.MemoryTab$PoolChart.leftMargin:I
4: aload 0
bipush 23
putfield sun.tools.jconsole.MemoryTab$PoolChart.rightMargin:I
5: aload 0
bipush 35
putfield sun.tools.jconsole.MemoryTab$PoolChart.bottomMargin:I
6: aload 0
bipush 22
putfield sun.tools.jconsole.MemoryTab$PoolChart.barWidth:I
7: aload 0
iconst_3
putfield sun.tools.jconsole.MemoryTab$PoolChart.barGap:I
8: aload 0
bipush 8
putfield sun.tools.jconsole.MemoryTab$PoolChart.groupGap:I
9: aload 0
bipush 100
putfield sun.tools.jconsole.MemoryTab$PoolChart.barHeight:I
10: aload 0
new java.awt.Color
dup
bipush 100
sipush 255
bipush 100
invokespecial java.awt.Color.<init>:(III)V
putfield sun.tools.jconsole.MemoryTab$PoolChart.greenBar:Ljava/awt/Color;
11: aload 0
new java.awt.Color
dup
sipush 210
sipush 255
sipush 210
invokespecial java.awt.Color.<init>:(III)V
putfield sun.tools.jconsole.MemoryTab$PoolChart.greenBarBackground:Ljava/awt/Color;
12: aload 0
new java.awt.Color
dup
sipush 255
sipush 210
sipush 210
invokespecial java.awt.Color.<init>:(III)V
putfield sun.tools.jconsole.MemoryTab$PoolChart.redBarBackground:Ljava/awt/Color;
13: aload 0
aconst_null
putfield sun.tools.jconsole.MemoryTab$PoolChart.smallFont:Ljava/awt/Font;
14: aload 0
new java.util.ArrayList
dup
iconst_5
invokespecial java.util.ArrayList.<init>:(I)V
putfield sun.tools.jconsole.MemoryTab$PoolChart.poolPlotters:Ljava/util/ArrayList;
15: aload 0
iconst_0
putfield sun.tools.jconsole.MemoryTab$PoolChart.nHeapPools:I
16: aload 0
iconst_0
putfield sun.tools.jconsole.MemoryTab$PoolChart.nNonHeapPools:I
17: aload 0
new java.awt.Rectangle
dup
bipush 50
bipush 121
bipush 22
bipush 20
invokespecial java.awt.Rectangle.<init>:(IIII)V
putfield sun.tools.jconsole.MemoryTab$PoolChart.heapRect:Ljava/awt/Rectangle;
18: aload 0
new java.awt.Rectangle
dup
bipush 58
bipush 121
bipush 22
bipush 20
invokespecial java.awt.Rectangle.<init>:(IIII)V
putfield sun.tools.jconsole.MemoryTab$PoolChart.nonHeapRect:Ljava/awt/Rectangle;
19: aload 0
iconst_1
invokevirtual sun.tools.jconsole.MemoryTab$PoolChart.setFocusable:(Z)V
20: aload 0
aload 0
invokevirtual sun.tools.jconsole.MemoryTab$PoolChart.addMouseListener:(Ljava/awt/event/MouseListener;)V
21: invokestatic javax.swing.ToolTipManager.sharedInstance:()Ljavax/swing/ToolTipManager;
aload 0
invokevirtual javax.swing.ToolTipManager.registerComponent:(Ljavax/swing/JComponent;)V
22: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Lsun/tools/jconsole/MemoryTab$PoolChart;
MethodParameters:
Name Flags
this$0 final
public void setValue(int, sun.tools.jconsole.MemoryTab$PoolPlotter, long, long, long);
descriptor: (ILsun/tools/jconsole/MemoryTab$PoolPlotter;JJJ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=9, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 5 start local 7 0: aload 2
lload 3
putfield sun.tools.jconsole.MemoryTab$PoolPlotter.value:J
1: aload 2
lload 5
putfield sun.tools.jconsole.MemoryTab$PoolPlotter.threshold:J
2: aload 2
lload 7
putfield sun.tools.jconsole.MemoryTab$PoolPlotter.max:J
3: iload 1
aload 0
getfield sun.tools.jconsole.MemoryTab$PoolChart.poolPlotters:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
if_icmpne 15
4: aload 0
getfield sun.tools.jconsole.MemoryTab$PoolChart.poolPlotters:Ljava/util/ArrayList;
aload 2
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
5: aload 2
getfield sun.tools.jconsole.MemoryTab$PoolPlotter.isHeap:Z
ifeq 11
6: aload 2
aload 0
getfield sun.tools.jconsole.MemoryTab$PoolChart.nHeapPools:I
bipush 25
imul
putfield sun.tools.jconsole.MemoryTab$PoolPlotter.barX:I
7: aload 0
dup
getfield sun.tools.jconsole.MemoryTab$PoolChart.nHeapPools:I
iconst_1
iadd
putfield sun.tools.jconsole.MemoryTab$PoolChart.nHeapPools:I
8: aload 0
getfield sun.tools.jconsole.MemoryTab$PoolChart.heapRect:Ljava/awt/Rectangle;
aload 0
getfield sun.tools.jconsole.MemoryTab$PoolChart.nHeapPools:I
bipush 22
imul
aload 0
getfield sun.tools.jconsole.MemoryTab$PoolChart.nHeapPools:I
iconst_1
isub
iconst_3
imul
iadd
putfield java.awt.Rectangle.width:I
9: aload 0
getfield sun.tools.jconsole.MemoryTab$PoolChart.nonHeapRect:Ljava/awt/Rectangle;
bipush 50
aload 0
getfield sun.tools.jconsole.MemoryTab$PoolChart.heapRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.width:I
iadd
bipush 8
iadd
putfield java.awt.Rectangle.x:I
10: goto 16
11: StackMap locals:
StackMap stack:
aload 2
aload 0
getfield sun.tools.jconsole.MemoryTab$PoolChart.nonHeapRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.x:I
bipush 50
isub
aload 0
getfield sun.tools.jconsole.MemoryTab$PoolChart.nNonHeapPools:I
bipush 25
imul
iadd
putfield sun.tools.jconsole.MemoryTab$PoolPlotter.barX:I
12: aload 0
dup
getfield sun.tools.jconsole.MemoryTab$PoolChart.nNonHeapPools:I
iconst_1
iadd
putfield sun.tools.jconsole.MemoryTab$PoolChart.nNonHeapPools:I
13: aload 0
getfield sun.tools.jconsole.MemoryTab$PoolChart.nonHeapRect:Ljava/awt/Rectangle;
aload 0
getfield sun.tools.jconsole.MemoryTab$PoolChart.nNonHeapPools:I
bipush 22
imul
aload 0
getfield sun.tools.jconsole.MemoryTab$PoolChart.nNonHeapPools:I
iconst_1
isub
iconst_3
imul
iadd
putfield java.awt.Rectangle.width:I
14: goto 16
15: StackMap locals:
StackMap stack:
aload 0
getfield sun.tools.jconsole.MemoryTab$PoolChart.poolPlotters:Ljava/util/ArrayList;
iload 1
aload 2
invokevirtual java.util.ArrayList.set:(ILjava/lang/Object;)Ljava/lang/Object;
pop
16: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.tools.jconsole.MemoryTab$PoolChart.repaint:()V
17: return
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 18 0 this Lsun/tools/jconsole/MemoryTab$PoolChart;
0 18 1 poolIndex I
0 18 2 poolPlotter Lsun/tools/jconsole/MemoryTab$PoolPlotter;
0 18 3 value J
0 18 5 threshold J
0 18 7 max J
MethodParameters:
Name Flags
poolIndex
poolPlotter
value
threshold
max
private void paintPoolBar(java.awt.Graphics, sun.tools.jconsole.MemoryTab$PoolPlotter);
descriptor: (Ljava/awt/Graphics;Lsun/tools/jconsole/MemoryTab$PoolPlotter;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=12, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 2
invokevirtual sun.tools.jconsole.MemoryTab$PoolChart.getBarRect:(Lsun/tools/jconsole/MemoryTab$PoolPlotter;)Ljava/awt/Rectangle;
astore 3
start local 3 1: aload 1
getstatic java.awt.Color.gray:Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
2: aload 1
aload 3
getfield java.awt.Rectangle.x:I
aload 3
getfield java.awt.Rectangle.y:I
aload 3
getfield java.awt.Rectangle.width:I
aload 3
getfield java.awt.Rectangle.height:I
invokevirtual java.awt.Graphics.drawRect:(IIII)V
3: aload 2
getfield sun.tools.jconsole.MemoryTab$PoolPlotter.value:J
lstore 4
start local 4 4: aload 2
getfield sun.tools.jconsole.MemoryTab$PoolPlotter.max:J
lstore 6
start local 6 5: lload 6
lconst_0
lcmp
ifle 26
6: aload 1
aload 3
getfield java.awt.Rectangle.x:I
aload 3
getfield java.awt.Rectangle.y:I
invokevirtual java.awt.Graphics.translate:(II)V
7: aload 1
aload 0
getfield sun.tools.jconsole.MemoryTab$PoolChart.greenBarBackground:Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
8: aload 1
iconst_1
iconst_1
aload 3
getfield java.awt.Rectangle.width:I
iconst_1
isub
aload 3
getfield java.awt.Rectangle.height:I
iconst_1
isub
invokevirtual java.awt.Graphics.fillRect:(IIII)V
9: lload 4
aload 3
getfield java.awt.Rectangle.height:I
i2l
lmul
lload 6
ldiv
l2i
istore 8
start local 8 10: aload 2
getfield sun.tools.jconsole.MemoryTab$PoolPlotter.threshold:J
lstore 9
start local 9 11: lload 9
lconst_0
lcmp
ifle 21
12: lload 9
aload 3
getfield java.awt.Rectangle.height:I
i2l
lmul
lload 6
ldiv
l2i
istore 11
start local 11 13: aload 1
aload 0
getfield sun.tools.jconsole.MemoryTab$PoolChart.redBarBackground:Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
14: aload 1
iconst_1
iconst_1
aload 3
getfield java.awt.Rectangle.width:I
iconst_1
isub
aload 3
getfield java.awt.Rectangle.height:I
iload 11
isub
invokevirtual java.awt.Graphics.fillRect:(IIII)V
15: lload 4
lload 9
lcmp
ifle 21
16: aload 1
getstatic sun.tools.jconsole.MemoryTab.thresholdColor:Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
17: aload 1
iconst_1
aload 3
getfield java.awt.Rectangle.height:I
iload 8
isub
18: aload 3
getfield java.awt.Rectangle.width:I
iconst_1
isub
iload 8
iload 11
isub
19: invokevirtual java.awt.Graphics.fillRect:(IIII)V
20: iload 11
istore 8
end local 11 21: StackMap locals: sun.tools.jconsole.MemoryTab$PoolChart java.awt.Graphics sun.tools.jconsole.MemoryTab$PoolPlotter java.awt.Rectangle long long int long
StackMap stack:
aload 1
aload 0
getfield sun.tools.jconsole.MemoryTab$PoolChart.greenBar:Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
22: aload 1
iconst_1
aload 3
getfield java.awt.Rectangle.height:I
iload 8
isub
23: aload 3
getfield java.awt.Rectangle.width:I
iconst_1
isub
iload 8
24: invokevirtual java.awt.Graphics.fillRect:(IIII)V
25: aload 1
aload 3
getfield java.awt.Rectangle.x:I
ineg
aload 3
getfield java.awt.Rectangle.y:I
ineg
invokevirtual java.awt.Graphics.translate:(II)V
end local 9 end local 8 26: StackMap locals:
StackMap stack:
return
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 27 0 this Lsun/tools/jconsole/MemoryTab$PoolChart;
0 27 1 g Ljava/awt/Graphics;
0 27 2 poolPlotter Lsun/tools/jconsole/MemoryTab$PoolPlotter;
1 27 3 barRect Ljava/awt/Rectangle;
4 27 4 value J
5 27 6 max J
10 26 8 greenHeight I
11 26 9 threshold J
13 21 11 redHeight I
MethodParameters:
Name Flags
g
poolPlotter
public void paintComponent(java.awt.Graphics);
descriptor: (Ljava/awt/Graphics;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=12, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial sun.tools.jconsole.BorderedComponent.paintComponent:(Ljava/awt/Graphics;)V
1: aload 0
getfield sun.tools.jconsole.MemoryTab$PoolChart.poolPlotters:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
ifne 3
2: return
3: StackMap locals:
StackMap stack:
aload 0
getfield sun.tools.jconsole.MemoryTab$PoolChart.smallFont:Ljava/awt/Font;
ifnonnull 5
4: aload 0
aload 1
invokevirtual java.awt.Graphics.getFont:()Ljava/awt/Font;
ldc 9.0
invokevirtual java.awt.Font.deriveFont:(F)Ljava/awt/Font;
putfield sun.tools.jconsole.MemoryTab$PoolChart.smallFont:Ljava/awt/Font;
5: StackMap locals:
StackMap stack:
aload 1
aload 0
invokevirtual sun.tools.jconsole.MemoryTab$PoolChart.getBackground:()Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
6: aload 1
invokevirtual java.awt.Graphics.getClipBounds:()Ljava/awt/Rectangle;
astore 2
start local 2 7: aload 1
aload 2
getfield java.awt.Rectangle.x:I
aload 2
getfield java.awt.Rectangle.y:I
aload 2
getfield java.awt.Rectangle.width:I
aload 2
getfield java.awt.Rectangle.height:I
invokevirtual java.awt.Graphics.fillRect:(IIII)V
8: aload 1
aload 0
getfield sun.tools.jconsole.MemoryTab$PoolChart.smallFont:Ljava/awt/Font;
invokevirtual java.awt.Graphics.setFont:(Ljava/awt/Font;)V
9: aload 1
invokevirtual java.awt.Graphics.getFontMetrics:()Ljava/awt/FontMetrics;
astore 3
start local 3 10: aload 3
invokevirtual java.awt.FontMetrics.getDescent:()I
istore 4
start local 4 11: aload 1
aload 0
invokevirtual sun.tools.jconsole.MemoryTab$PoolChart.getForeground:()Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
12: iconst_5
newarray 10
dup
iconst_1
bipush 25
iastore
dup
iconst_2
bipush 50
iastore
dup
iconst_3
bipush 75
iastore
dup
iconst_4
bipush 100
iastore
dup
astore 8
arraylength
istore 7
iconst_0
istore 6
goto 20
StackMap locals: sun.tools.jconsole.MemoryTab$PoolChart java.awt.Graphics java.awt.Rectangle java.awt.FontMetrics int top int int int[]
StackMap stack:
13: aload 8
iload 6
iaload
istore 5
start local 5 14: new java.lang.StringBuilder
dup
iload 5
invokestatic java.lang.String.valueOf:(I)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;
astore 9
start local 9 15: aload 1
aload 9
16: bipush 50
aload 3
aload 9
invokevirtual java.awt.FontMetrics.stringWidth:(Ljava/lang/String;)I
isub
iconst_4
isub
17: bipush 115
iload 5
bipush 100
imul
bipush 100
idiv
isub
iload 4
iadd
iconst_1
iadd
18: invokevirtual java.awt.Graphics.drawString:(Ljava/lang/String;II)V
end local 9 end local 5 19: iinc 6 1
StackMap locals:
StackMap stack:
20: iload 6
iload 7
if_icmplt 13
21: aload 0
getfield sun.tools.jconsole.MemoryTab$PoolChart.poolPlotters:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.iterator:()Ljava/util/Iterator;
astore 6
goto 24
StackMap locals: sun.tools.jconsole.MemoryTab$PoolChart java.awt.Graphics java.awt.Rectangle java.awt.FontMetrics int top java.util.Iterator
StackMap stack:
22: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.tools.jconsole.MemoryTab$PoolPlotter
astore 5
start local 5 23: aload 0
aload 1
aload 5
invokevirtual sun.tools.jconsole.MemoryTab$PoolChart.paintPoolBar:(Ljava/awt/Graphics;Lsun/tools/jconsole/MemoryTab$PoolPlotter;)V
end local 5 24: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 22
25: aload 1
getstatic java.awt.Color.gray:Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
26: aload 1
aload 0
getfield sun.tools.jconsole.MemoryTab$PoolChart.heapRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.x:I
aload 0
getfield sun.tools.jconsole.MemoryTab$PoolChart.heapRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.y:I
aload 0
getfield sun.tools.jconsole.MemoryTab$PoolChart.heapRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.width:I
aload 0
getfield sun.tools.jconsole.MemoryTab$PoolChart.heapRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.height:I
invokevirtual java.awt.Graphics.drawRect:(IIII)V
27: aload 1
aload 0
getfield sun.tools.jconsole.MemoryTab$PoolChart.nonHeapRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.x:I
aload 0
getfield sun.tools.jconsole.MemoryTab$PoolChart.nonHeapRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.y:I
aload 0
getfield sun.tools.jconsole.MemoryTab$PoolChart.nonHeapRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.width:I
aload 0
getfield sun.tools.jconsole.MemoryTab$PoolChart.nonHeapRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.height:I
invokevirtual java.awt.Graphics.drawRect:(IIII)V
28: aload 0
getfield sun.tools.jconsole.MemoryTab$PoolChart.greenBar:Ljava/awt/Color;
astore 5
start local 5 29: aload 0
getfield sun.tools.jconsole.MemoryTab$PoolChart.greenBar:Ljava/awt/Color;
astore 6
start local 6 30: aload 0
getfield sun.tools.jconsole.MemoryTab$PoolChart.poolPlotters:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.iterator:()Ljava/util/Iterator;
astore 8
goto 37
StackMap locals: sun.tools.jconsole.MemoryTab$PoolChart java.awt.Graphics java.awt.Rectangle java.awt.FontMetrics int java.awt.Color java.awt.Color top java.util.Iterator
StackMap stack:
31: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.tools.jconsole.MemoryTab$PoolPlotter
astore 7
start local 7 32: aload 7
getfield sun.tools.jconsole.MemoryTab$PoolPlotter.threshold:J
lconst_0
lcmp
ifle 37
aload 7
getfield sun.tools.jconsole.MemoryTab$PoolPlotter.value:J
aload 7
getfield sun.tools.jconsole.MemoryTab$PoolPlotter.threshold:J
lcmp
ifle 37
33: aload 7
getfield sun.tools.jconsole.MemoryTab$PoolPlotter.isHeap:Z
ifeq 36
34: getstatic sun.tools.jconsole.MemoryTab.thresholdColor:Ljava/awt/Color;
astore 5
35: goto 37
36: StackMap locals: sun.tools.jconsole.MemoryTab$PoolChart java.awt.Graphics java.awt.Rectangle java.awt.FontMetrics int java.awt.Color java.awt.Color sun.tools.jconsole.MemoryTab$PoolPlotter java.util.Iterator
StackMap stack:
getstatic sun.tools.jconsole.MemoryTab.thresholdColor:Ljava/awt/Color;
astore 6
end local 7 37: StackMap locals: sun.tools.jconsole.MemoryTab$PoolChart java.awt.Graphics java.awt.Rectangle java.awt.FontMetrics int java.awt.Color java.awt.Color top java.util.Iterator
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 31
38: aload 1
aload 5
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
39: aload 1
aload 0
getfield sun.tools.jconsole.MemoryTab$PoolChart.heapRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.x:I
iconst_1
iadd
aload 0
getfield sun.tools.jconsole.MemoryTab$PoolChart.heapRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.y:I
iconst_1
iadd
aload 0
getfield sun.tools.jconsole.MemoryTab$PoolChart.heapRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.width:I
iconst_1
isub
aload 0
getfield sun.tools.jconsole.MemoryTab$PoolChart.heapRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.height:I
iconst_1
isub
invokevirtual java.awt.Graphics.fillRect:(IIII)V
40: aload 1
aload 6
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
41: aload 1
aload 0
getfield sun.tools.jconsole.MemoryTab$PoolChart.nonHeapRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.x:I
iconst_1
iadd
aload 0
getfield sun.tools.jconsole.MemoryTab$PoolChart.nonHeapRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.y:I
iconst_1
iadd
aload 0
getfield sun.tools.jconsole.MemoryTab$PoolChart.nonHeapRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.width:I
iconst_1
isub
aload 0
getfield sun.tools.jconsole.MemoryTab$PoolChart.nonHeapRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.height:I
iconst_1
isub
invokevirtual java.awt.Graphics.fillRect:(IIII)V
42: getstatic sun.tools.jconsole.Messages.HEAP:Ljava/lang/String;
astore 7
start local 7 43: aload 3
aload 7
invokevirtual java.awt.FontMetrics.stringWidth:(Ljava/lang/String;)I
istore 8
start local 8 44: aload 0
getfield sun.tools.jconsole.MemoryTab$PoolChart.heapRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.x:I
aload 0
getfield sun.tools.jconsole.MemoryTab$PoolChart.heapRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.width:I
iload 8
isub
iconst_2
idiv
iadd
istore 9
start local 9 45: aload 0
getfield sun.tools.jconsole.MemoryTab$PoolChart.heapRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.y:I
aload 0
getfield sun.tools.jconsole.MemoryTab$PoolChart.heapRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.height:I
iadd
bipush 6
isub
istore 10
start local 10 46: aload 1
getstatic java.awt.Color.white:Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
47: aload 1
aload 7
iload 9
iconst_1
isub
iload 10
iconst_1
isub
invokevirtual java.awt.Graphics.drawString:(Ljava/lang/String;II)V
48: aload 1
aload 7
iload 9
iconst_1
iadd
iload 10
iconst_1
isub
invokevirtual java.awt.Graphics.drawString:(Ljava/lang/String;II)V
49: aload 1
aload 7
iload 9
iconst_1
isub
iload 10
iconst_1
iadd
invokevirtual java.awt.Graphics.drawString:(Ljava/lang/String;II)V
50: aload 1
aload 7
iload 9
iconst_1
iadd
iload 10
iconst_1
iadd
invokevirtual java.awt.Graphics.drawString:(Ljava/lang/String;II)V
51: aload 1
getstatic java.awt.Color.black:Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
52: aload 1
aload 7
iload 9
iload 10
invokevirtual java.awt.Graphics.drawString:(Ljava/lang/String;II)V
53: getstatic sun.tools.jconsole.Messages.NON_HEAP:Ljava/lang/String;
astore 7
54: aload 3
aload 7
invokevirtual java.awt.FontMetrics.stringWidth:(Ljava/lang/String;)I
istore 8
55: aload 0
getfield sun.tools.jconsole.MemoryTab$PoolChart.nonHeapRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.x:I
aload 0
getfield sun.tools.jconsole.MemoryTab$PoolChart.nonHeapRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.width:I
iload 8
isub
iconst_2
idiv
iadd
istore 9
56: aload 0
getfield sun.tools.jconsole.MemoryTab$PoolChart.nonHeapRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.y:I
aload 0
getfield sun.tools.jconsole.MemoryTab$PoolChart.nonHeapRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.height:I
iadd
bipush 6
isub
istore 10
57: aload 1
getstatic java.awt.Color.white:Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
58: aload 1
aload 7
iload 9
iconst_1
isub
iload 10
iconst_1
isub
invokevirtual java.awt.Graphics.drawString:(Ljava/lang/String;II)V
59: aload 1
aload 7
iload 9
iconst_1
iadd
iload 10
iconst_1
isub
invokevirtual java.awt.Graphics.drawString:(Ljava/lang/String;II)V
60: aload 1
aload 7
iload 9
iconst_1
isub
iload 10
iconst_1
iadd
invokevirtual java.awt.Graphics.drawString:(Ljava/lang/String;II)V
61: aload 1
aload 7
iload 9
iconst_1
iadd
iload 10
iconst_1
iadd
invokevirtual java.awt.Graphics.drawString:(Ljava/lang/String;II)V
62: aload 1
getstatic java.awt.Color.black:Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
63: aload 1
aload 7
iload 9
iload 10
invokevirtual java.awt.Graphics.drawString:(Ljava/lang/String;II)V
64: aload 1
getstatic java.awt.Color.blue:Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
65: aconst_null
astore 2
66: aload 0
getfield sun.tools.jconsole.MemoryTab$PoolChart.this$0:Lsun/tools/jconsole/MemoryTab;
getfield sun.tools.jconsole.MemoryTab.plotterChoice:Ljavax/swing/JComboBox;
invokevirtual javax.swing.JComboBox.getSelectedItem:()Ljava/lang/Object;
checkcast sun.tools.jconsole.Plotter
astore 11
start local 11 67: aload 11
aload 0
getfield sun.tools.jconsole.MemoryTab$PoolChart.this$0:Lsun/tools/jconsole/MemoryTab;
getfield sun.tools.jconsole.MemoryTab.heapPlotter:Lsun/tools/jconsole/Plotter;
if_acmpne 70
68: aload 0
getfield sun.tools.jconsole.MemoryTab$PoolChart.heapRect:Ljava/awt/Rectangle;
astore 2
69: goto 75
StackMap locals: sun.tools.jconsole.MemoryTab$PoolChart java.awt.Graphics java.awt.Rectangle java.awt.FontMetrics int java.awt.Color java.awt.Color java.lang.String int int int sun.tools.jconsole.Plotter
StackMap stack:
70: aload 11
aload 0
getfield sun.tools.jconsole.MemoryTab$PoolChart.this$0:Lsun/tools/jconsole/MemoryTab;
getfield sun.tools.jconsole.MemoryTab.nonHeapPlotter:Lsun/tools/jconsole/Plotter;
if_acmpne 73
71: aload 0
getfield sun.tools.jconsole.MemoryTab$PoolChart.nonHeapRect:Ljava/awt/Rectangle;
astore 2
72: goto 75
StackMap locals:
StackMap stack:
73: aload 11
instanceof sun.tools.jconsole.MemoryTab$PoolPlotter
ifeq 75
74: aload 0
aload 11
checkcast sun.tools.jconsole.MemoryTab$PoolPlotter
invokevirtual sun.tools.jconsole.MemoryTab$PoolChart.getBarRect:(Lsun/tools/jconsole/MemoryTab$PoolPlotter;)Ljava/awt/Rectangle;
astore 2
75: StackMap locals:
StackMap stack:
aload 2
ifnull 77
76: aload 1
aload 2
getfield java.awt.Rectangle.x:I
iconst_1
isub
aload 2
getfield java.awt.Rectangle.y:I
iconst_1
isub
aload 2
getfield java.awt.Rectangle.width:I
iconst_2
iadd
aload 2
getfield java.awt.Rectangle.height:I
iconst_2
iadd
invokevirtual java.awt.Graphics.drawRect:(IIII)V
77: StackMap locals:
StackMap stack:
return
end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 78 0 this Lsun/tools/jconsole/MemoryTab$PoolChart;
0 78 1 g Ljava/awt/Graphics;
7 78 2 r Ljava/awt/Rectangle;
10 78 3 fm Ljava/awt/FontMetrics;
11 78 4 fontDescent I
14 19 5 pc I
15 19 9 str Ljava/lang/String;
23 24 5 poolPlotter Lsun/tools/jconsole/MemoryTab$PoolPlotter;
29 78 5 heapColor Ljava/awt/Color;
30 78 6 nonHeapColor Ljava/awt/Color;
32 37 7 poolPlotter Lsun/tools/jconsole/MemoryTab$PoolPlotter;
43 78 7 str Ljava/lang/String;
44 78 8 stringWidth I
45 78 9 x I
46 78 10 y I
67 78 11 plotter Lsun/tools/jconsole/Plotter;
MethodParameters:
Name Flags
g
private java.awt.Rectangle getBarRect(sun.tools.jconsole.MemoryTab$PoolPlotter);
descriptor: (Lsun/tools/jconsole/MemoryTab$PoolPlotter;)Ljava/awt/Rectangle;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: new java.awt.Rectangle
dup
bipush 50
aload 1
getfield sun.tools.jconsole.MemoryTab$PoolPlotter.barX:I
iadd
1: bipush 15
2: bipush 22
bipush 100
3: invokespecial java.awt.Rectangle.<init>:(IIII)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/tools/jconsole/MemoryTab$PoolChart;
0 4 1 poolPlotter Lsun/tools/jconsole/MemoryTab$PoolPlotter;
MethodParameters:
Name Flags
poolPlotter
public java.awt.Dimension getPreferredSize();
descriptor: ()Ljava/awt/Dimension;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new java.awt.Dimension
dup
aload 0
getfield sun.tools.jconsole.MemoryTab$PoolChart.nonHeapRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.x:I
aload 0
getfield sun.tools.jconsole.MemoryTab$PoolChart.nonHeapRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.width:I
iadd
bipush 23
iadd
1: sipush 150
2: invokespecial java.awt.Dimension.<init>:(II)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/tools/jconsole/MemoryTab$PoolChart;
public void mouseClicked(java.awt.event.MouseEvent);
descriptor: (Ljava/awt/event/MouseEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.tools.jconsole.MemoryTab$PoolChart.requestFocusInWindow:()Z
pop
1: aload 0
aload 1
invokevirtual sun.tools.jconsole.MemoryTab$PoolChart.getPlotter:(Ljava/awt/event/MouseEvent;)Lsun/tools/jconsole/Plotter;
astore 2
start local 2 2: aload 2
ifnull 5
aload 2
aload 0
getfield sun.tools.jconsole.MemoryTab$PoolChart.this$0:Lsun/tools/jconsole/MemoryTab;
getfield sun.tools.jconsole.MemoryTab.plotterChoice:Ljavax/swing/JComboBox;
invokevirtual javax.swing.JComboBox.getSelectedItem:()Ljava/lang/Object;
if_acmpeq 5
3: aload 0
getfield sun.tools.jconsole.MemoryTab$PoolChart.this$0:Lsun/tools/jconsole/MemoryTab;
getfield sun.tools.jconsole.MemoryTab.plotterChoice:Ljavax/swing/JComboBox;
aload 2
invokevirtual javax.swing.JComboBox.setSelectedItem:(Ljava/lang/Object;)V
4: aload 0
invokevirtual sun.tools.jconsole.MemoryTab$PoolChart.repaint:()V
5: StackMap locals: sun.tools.jconsole.Plotter
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/tools/jconsole/MemoryTab$PoolChart;
0 6 1 e Ljava/awt/event/MouseEvent;
2 6 2 plotter Lsun/tools/jconsole/Plotter;
MethodParameters:
Name Flags
e
public java.lang.String getToolTipText(java.awt.event.MouseEvent);
descriptor: (Ljava/awt/event/MouseEvent;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual sun.tools.jconsole.MemoryTab$PoolChart.getPlotter:(Ljava/awt/event/MouseEvent;)Lsun/tools/jconsole/Plotter;
astore 2
start local 2 1: aload 2
ifnull 2
aload 2
invokevirtual sun.tools.jconsole.Plotter.toString:()Ljava/lang/String;
goto 3
StackMap locals: sun.tools.jconsole.Plotter
StackMap stack:
2: aconst_null
StackMap locals:
StackMap stack: java.lang.String
3: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/tools/jconsole/MemoryTab$PoolChart;
0 4 1 e Ljava/awt/event/MouseEvent;
1 4 2 plotter Lsun/tools/jconsole/Plotter;
MethodParameters:
Name Flags
e
private sun.tools.jconsole.Plotter getPlotter(java.awt.event.MouseEvent);
descriptor: (Ljava/awt/event/MouseEvent;)Lsun/tools/jconsole/Plotter;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=6, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.awt.event.MouseEvent.getPoint:()Ljava/awt/Point;
astore 2
start local 2 1: aconst_null
astore 3
start local 3 2: aload 0
getfield sun.tools.jconsole.MemoryTab$PoolChart.heapRect:Ljava/awt/Rectangle;
aload 2
invokevirtual java.awt.Rectangle.contains:(Ljava/awt/Point;)Z
ifeq 5
3: aload 0
getfield sun.tools.jconsole.MemoryTab$PoolChart.this$0:Lsun/tools/jconsole/MemoryTab;
getfield sun.tools.jconsole.MemoryTab.heapPlotter:Lsun/tools/jconsole/Plotter;
astore 3
4: goto 14
StackMap locals: java.awt.Point sun.tools.jconsole.Plotter
StackMap stack:
5: aload 0
getfield sun.tools.jconsole.MemoryTab$PoolChart.nonHeapRect:Ljava/awt/Rectangle;
aload 2
invokevirtual java.awt.Rectangle.contains:(Ljava/awt/Point;)Z
ifeq 8
6: aload 0
getfield sun.tools.jconsole.MemoryTab$PoolChart.this$0:Lsun/tools/jconsole/MemoryTab;
getfield sun.tools.jconsole.MemoryTab.nonHeapPlotter:Lsun/tools/jconsole/Plotter;
astore 3
7: goto 14
8: StackMap locals:
StackMap stack:
aload 0
getfield sun.tools.jconsole.MemoryTab$PoolChart.poolPlotters:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.iterator:()Ljava/util/Iterator;
astore 5
goto 13
StackMap locals: sun.tools.jconsole.MemoryTab$PoolChart java.awt.event.MouseEvent java.awt.Point sun.tools.jconsole.Plotter top java.util.Iterator
StackMap stack:
9: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.tools.jconsole.MemoryTab$PoolPlotter
astore 4
start local 4 10: aload 0
aload 4
invokevirtual sun.tools.jconsole.MemoryTab$PoolChart.getBarRect:(Lsun/tools/jconsole/MemoryTab$PoolPlotter;)Ljava/awt/Rectangle;
aload 2
invokevirtual java.awt.Rectangle.contains:(Ljava/awt/Point;)Z
ifeq 13
11: aload 4
astore 3
12: goto 14
end local 4 13: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 9
14: StackMap locals: sun.tools.jconsole.MemoryTab$PoolChart java.awt.event.MouseEvent java.awt.Point sun.tools.jconsole.Plotter
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lsun/tools/jconsole/MemoryTab$PoolChart;
0 15 1 e Ljava/awt/event/MouseEvent;
1 15 2 p Ljava/awt/Point;
2 15 3 plotter Lsun/tools/jconsole/Plotter;
10 13 4 poolPlotter Lsun/tools/jconsole/MemoryTab$PoolPlotter;
MethodParameters:
Name Flags
e
public void mousePressed(java.awt.event.MouseEvent);
descriptor: (Ljava/awt/event/MouseEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/jconsole/MemoryTab$PoolChart;
0 1 1 e Ljava/awt/event/MouseEvent;
MethodParameters:
Name Flags
e
public void mouseReleased(java.awt.event.MouseEvent);
descriptor: (Ljava/awt/event/MouseEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/jconsole/MemoryTab$PoolChart;
0 1 1 e Ljava/awt/event/MouseEvent;
MethodParameters:
Name Flags
e
public void mouseEntered(java.awt.event.MouseEvent);
descriptor: (Ljava/awt/event/MouseEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/jconsole/MemoryTab$PoolChart;
0 1 1 e Ljava/awt/event/MouseEvent;
MethodParameters:
Name Flags
e
public void mouseExited(java.awt.event.MouseEvent);
descriptor: (Ljava/awt/event/MouseEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/jconsole/MemoryTab$PoolChart;
0 1 1 e Ljava/awt/event/MouseEvent;
MethodParameters:
Name Flags
e
public javax.accessibility.AccessibleContext getAccessibleContext();
descriptor: ()Ljavax/accessibility/AccessibleContext;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.tools.jconsole.MemoryTab$PoolChart.accessibleContext:Ljavax/accessibility/AccessibleContext;
ifnonnull 2
1: aload 0
new sun.tools.jconsole.MemoryTab$PoolChart$AccessiblePoolChart
dup
aload 0
invokespecial sun.tools.jconsole.MemoryTab$PoolChart$AccessiblePoolChart.<init>:(Lsun/tools/jconsole/MemoryTab$PoolChart;)V
putfield sun.tools.jconsole.MemoryTab$PoolChart.accessibleContext:Ljavax/accessibility/AccessibleContext;
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.tools.jconsole.MemoryTab$PoolChart.accessibleContext:Ljavax/accessibility/AccessibleContext;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/tools/jconsole/MemoryTab$PoolChart;
}
SourceFile: "MemoryTab.java"
NestHost: sun.tools.jconsole.MemoryTab
InnerClasses:
private PoolChart = sun.tools.jconsole.MemoryTab$PoolChart of sun.tools.jconsole.MemoryTab
protected AccessiblePoolChart = sun.tools.jconsole.MemoryTab$PoolChart$AccessiblePoolChart of sun.tools.jconsole.MemoryTab$PoolChart
private PoolPlotter = sun.tools.jconsole.MemoryTab$PoolPlotter of sun.tools.jconsole.MemoryTab