public class sun.jvm.hotspot.ui.ObjectHistogramPanel extends javax.swing.JPanel implements java.awt.event.ActionListener
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.jvm.hotspot.ui.ObjectHistogramPanel
super_class: javax.swing.JPanel
{
private sun.jvm.hotspot.ui.ObjectHistogramPanel$ObjectHistogramTableModel dataModel;
descriptor: Lsun/jvm/hotspot/ui/ObjectHistogramPanel$ObjectHistogramTableModel;
flags: (0x0002) ACC_PRIVATE
private sun.jvm.hotspot.ui.ObjectHistogramPanel$ObjectHistogramToolBar toolbar;
descriptor: Lsun/jvm/hotspot/ui/ObjectHistogramPanel$ObjectHistogramToolBar;
flags: (0x0002) ACC_PRIVATE
private com.sun.java.swing.ui.StatusBar statusBar;
descriptor: Lcom/sun/java/swing/ui/StatusBar;
flags: (0x0002) ACC_PRIVATE
private javax.swing.JTable table;
descriptor: Ljavax/swing/JTable;
flags: (0x0002) ACC_PRIVATE
private java.util.List listeners;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
public void <init>(sun.jvm.hotspot.oops.ObjectHistogram);
descriptor: (Lsun/jvm/hotspot/oops/ObjectHistogram;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokespecial javax.swing.JPanel.<init>:()V
1: aload 0
new sun.jvm.hotspot.ui.ObjectHistogramPanel$ObjectHistogramTableModel
dup
aload 0
aload 1
invokespecial sun.jvm.hotspot.ui.ObjectHistogramPanel$ObjectHistogramTableModel.<init>:(Lsun/jvm/hotspot/ui/ObjectHistogramPanel;Lsun/jvm/hotspot/oops/ObjectHistogram;)V
putfield sun.jvm.hotspot.ui.ObjectHistogramPanel.dataModel:Lsun/jvm/hotspot/ui/ObjectHistogramPanel$ObjectHistogramTableModel;
2: aload 0
new com.sun.java.swing.ui.StatusBar
dup
invokespecial com.sun.java.swing.ui.StatusBar.<init>:()V
putfield sun.jvm.hotspot.ui.ObjectHistogramPanel.statusBar:Lcom/sun/java/swing/ui/StatusBar;
3: aload 0
new javax.swing.JTable
dup
aload 0
getfield sun.jvm.hotspot.ui.ObjectHistogramPanel.dataModel:Lsun/jvm/hotspot/ui/ObjectHistogramPanel$ObjectHistogramTableModel;
new sun.jvm.hotspot.ui.ObjectHistogramPanel$ObjectHistogramColummModel
dup
aload 0
invokespecial sun.jvm.hotspot.ui.ObjectHistogramPanel$ObjectHistogramColummModel.<init>:(Lsun/jvm/hotspot/ui/ObjectHistogramPanel;)V
invokespecial javax.swing.JTable.<init>:(Ljavax/swing/table/TableModel;Ljavax/swing/table/TableColumnModel;)V
putfield sun.jvm.hotspot.ui.ObjectHistogramPanel.table:Ljavax/swing/JTable;
4: aload 0
getfield sun.jvm.hotspot.ui.ObjectHistogramPanel.table:Ljavax/swing/JTable;
iconst_0
invokevirtual javax.swing.JTable.setSelectionMode:(I)V
5: aload 0
getfield sun.jvm.hotspot.ui.ObjectHistogramPanel.table:Ljavax/swing/JTable;
new sun.jvm.hotspot.ui.ObjectHistogramPanel$1
dup
aload 0
invokespecial sun.jvm.hotspot.ui.ObjectHistogramPanel$1.<init>:(Lsun/jvm/hotspot/ui/ObjectHistogramPanel;)V
invokevirtual javax.swing.JTable.addMouseListener:(Ljava/awt/event/MouseListener;)V
6: aload 0
getfield sun.jvm.hotspot.ui.ObjectHistogramPanel.table:Ljavax/swing/JTable;
invokevirtual javax.swing.JTable.getTableHeader:()Ljavax/swing/table/JTableHeader;
astore 2
start local 2 7: aload 2
new sun.jvm.hotspot.ui.table.SortHeaderCellRenderer
dup
aload 2
aload 0
getfield sun.jvm.hotspot.ui.ObjectHistogramPanel.dataModel:Lsun/jvm/hotspot/ui/ObjectHistogramPanel$ObjectHistogramTableModel;
invokespecial sun.jvm.hotspot.ui.table.SortHeaderCellRenderer.<init>:(Ljavax/swing/table/JTableHeader;Lsun/jvm/hotspot/ui/table/SortableTableModel;)V
invokevirtual javax.swing.table.JTableHeader.setDefaultRenderer:(Ljavax/swing/table/TableCellRenderer;)V
8: aload 2
new sun.jvm.hotspot.ui.table.SortHeaderMouseAdapter
dup
aload 0
getfield sun.jvm.hotspot.ui.ObjectHistogramPanel.table:Ljavax/swing/JTable;
aload 0
getfield sun.jvm.hotspot.ui.ObjectHistogramPanel.dataModel:Lsun/jvm/hotspot/ui/ObjectHistogramPanel$ObjectHistogramTableModel;
invokespecial sun.jvm.hotspot.ui.table.SortHeaderMouseAdapter.<init>:(Ljavax/swing/JTable;Lsun/jvm/hotspot/ui/table/SortableTableModel;)V
invokevirtual javax.swing.table.JTableHeader.addMouseListener:(Ljava/awt/event/MouseListener;)V
9: aload 0
new java.awt.BorderLayout
dup
invokespecial java.awt.BorderLayout.<init>:()V
invokevirtual sun.jvm.hotspot.ui.ObjectHistogramPanel.setLayout:(Ljava/awt/LayoutManager;)V
10: aload 0
new sun.jvm.hotspot.ui.ObjectHistogramPanel$ObjectHistogramToolBar
dup
aload 0
aload 0
getfield sun.jvm.hotspot.ui.ObjectHistogramPanel.statusBar:Lcom/sun/java/swing/ui/StatusBar;
invokespecial sun.jvm.hotspot.ui.ObjectHistogramPanel$ObjectHistogramToolBar.<init>:(Lsun/jvm/hotspot/ui/ObjectHistogramPanel;Lcom/sun/java/swing/ui/StatusBar;)V
putfield sun.jvm.hotspot.ui.ObjectHistogramPanel.toolbar:Lsun/jvm/hotspot/ui/ObjectHistogramPanel$ObjectHistogramToolBar;
11: aload 0
aload 0
getfield sun.jvm.hotspot.ui.ObjectHistogramPanel.toolbar:Lsun/jvm/hotspot/ui/ObjectHistogramPanel$ObjectHistogramToolBar;
ldc "North"
invokevirtual sun.jvm.hotspot.ui.ObjectHistogramPanel.add:(Ljava/awt/Component;Ljava/lang/Object;)V
12: aload 0
new javax.swing.JScrollPane
dup
aload 0
getfield sun.jvm.hotspot.ui.ObjectHistogramPanel.table:Ljavax/swing/JTable;
invokespecial javax.swing.JScrollPane.<init>:(Ljava/awt/Component;)V
ldc "Center"
invokevirtual sun.jvm.hotspot.ui.ObjectHistogramPanel.add:(Ljava/awt/Component;Ljava/lang/Object;)V
13: aload 0
aload 0
getfield sun.jvm.hotspot.ui.ObjectHistogramPanel.statusBar:Lcom/sun/java/swing/ui/StatusBar;
ldc "South"
invokevirtual sun.jvm.hotspot.ui.ObjectHistogramPanel.add:(Ljava/awt/Component;Ljava/lang/Object;)V
14: aload 0
invokevirtual sun.jvm.hotspot.ui.ObjectHistogramPanel.registerActions:()V
15: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lsun/jvm/hotspot/ui/ObjectHistogramPanel;
0 16 1 histo Lsun/jvm/hotspot/oops/ObjectHistogram;
7 16 2 header Ljavax/swing/table/JTableHeader;
MethodParameters:
Name Flags
histo
public void actionPerformed(java.awt.event.ActionEvent);
descriptor: (Ljava/awt/event/ActionEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.awt.event.ActionEvent.getActionCommand:()Ljava/lang/String;
astore 2
start local 2 1: aload 2
ldc "show-command"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 4
2: aload 0
invokevirtual sun.jvm.hotspot.ui.ObjectHistogramPanel.fireShowObjectsOfType:()V
3: goto 6
StackMap locals: java.lang.String
StackMap stack:
4: aload 2
ldc "find-command"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
5: aload 0
invokevirtual sun.jvm.hotspot.ui.ObjectHistogramPanel.findObject:()V
6: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/jvm/hotspot/ui/ObjectHistogramPanel;
0 7 1 evt Ljava/awt/event/ActionEvent;
1 7 2 command Ljava/lang/String;
MethodParameters:
Name Flags
evt
protected void registerActions();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc "find-command"
invokevirtual sun.jvm.hotspot.ui.ObjectHistogramPanel.registerAction:(Ljava/lang/String;)V
1: aload 0
ldc "show-command"
invokevirtual sun.jvm.hotspot.ui.ObjectHistogramPanel.registerAction:(Ljava/lang/String;)V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/jvm/hotspot/ui/ObjectHistogramPanel;
private void registerAction(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: invokestatic com.sun.java.swing.action.ActionManager.getInstance:()Lcom/sun/java/swing/action/ActionManager;
astore 2
start local 2 1: aload 2
aload 1
invokevirtual com.sun.java.swing.action.ActionManager.getDelegateAction:(Ljava/lang/String;)Lcom/sun/java/swing/action/DelegateAction;
astore 3
start local 3 2: aload 3
aload 0
invokevirtual com.sun.java.swing.action.DelegateAction.addActionListener:(Ljava/awt/event/ActionListener;)V
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/jvm/hotspot/ui/ObjectHistogramPanel;
0 4 1 actionName Ljava/lang/String;
1 4 2 manager Lcom/sun/java/swing/action/ActionManager;
2 4 3 action Lcom/sun/java/swing/action/DelegateAction;
MethodParameters:
Name Flags
actionName
public void addPanelListener(sun.jvm.hotspot.ui.ObjectHistogramPanel$Listener);
descriptor: (Lsun/jvm/hotspot/ui/ObjectHistogramPanel$Listener;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.jvm.hotspot.ui.ObjectHistogramPanel.listeners:Ljava/util/List;
ifnonnull 2
1: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield sun.jvm.hotspot.ui.ObjectHistogramPanel.listeners:Ljava/util/List;
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.jvm.hotspot.ui.ObjectHistogramPanel.listeners: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 Lsun/jvm/hotspot/ui/ObjectHistogramPanel;
0 4 1 listener Lsun/jvm/hotspot/ui/ObjectHistogramPanel$Listener;
MethodParameters:
Name Flags
listener
public void removePanelListener(sun.jvm.hotspot.ui.ObjectHistogramPanel$Listener);
descriptor: (Lsun/jvm/hotspot/ui/ObjectHistogramPanel$Listener;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.jvm.hotspot.ui.ObjectHistogramPanel.listeners:Ljava/util/List;
ifnull 2
1: aload 0
getfield sun.jvm.hotspot.ui.ObjectHistogramPanel.listeners:Ljava/util/List;
aload 1
invokeinterface java.util.List.remove:(Ljava/lang/Object;)Z
pop
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/jvm/hotspot/ui/ObjectHistogramPanel;
0 3 1 listener Lsun/jvm/hotspot/ui/ObjectHistogramPanel$Listener;
MethodParameters:
Name Flags
listener
private void findObject();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=7, args_size=1
start local 0 0: aload 0
getfield sun.jvm.hotspot.ui.ObjectHistogramPanel.toolbar:Lsun/jvm/hotspot/ui/ObjectHistogramPanel$ObjectHistogramToolBar;
invokevirtual sun.jvm.hotspot.ui.ObjectHistogramPanel$ObjectHistogramToolBar.getFindText:()Ljava/lang/String;
astore 1
start local 1 1: aload 1
ifnull 2
aload 1
ldc ""
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 3
2: StackMap locals: java.lang.String
StackMap stack:
return
3: StackMap locals:
StackMap stack:
aload 0
getfield sun.jvm.hotspot.ui.ObjectHistogramPanel.table:Ljavax/swing/JTable;
invokevirtual javax.swing.JTable.getModel:()Ljavax/swing/table/TableModel;
astore 2
start local 2 4: aload 0
getfield sun.jvm.hotspot.ui.ObjectHistogramPanel.table:Ljavax/swing/JTable;
invokevirtual javax.swing.JTable.getSelectedRow:()I
istore 3
start local 3 5: iload 3
aload 2
invokeinterface javax.swing.table.TableModel.getRowCount:()I
if_icmpne 8
6: iconst_0
istore 3
7: goto 9
8: StackMap locals: javax.swing.table.TableModel int
StackMap stack:
iinc 3 1
9: StackMap locals:
StackMap stack:
iload 3
istore 5
start local 5 10: goto 18
11: StackMap locals: sun.jvm.hotspot.ui.ObjectHistogramPanel java.lang.String javax.swing.table.TableModel int top int
StackMap stack:
aload 2
iload 5
iconst_2
invokeinterface javax.swing.table.TableModel.getValueAt:(II)Ljava/lang/Object;
checkcast java.lang.String
astore 4
start local 4 12: aload 4
ifnull 17
aload 4
aload 1
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 17
13: aload 0
getfield sun.jvm.hotspot.ui.ObjectHistogramPanel.table:Ljavax/swing/JTable;
iload 5
iload 5
invokevirtual javax.swing.JTable.setRowSelectionInterval:(II)V
14: aload 0
getfield sun.jvm.hotspot.ui.ObjectHistogramPanel.table:Ljavax/swing/JTable;
iload 5
iconst_0
iconst_1
invokevirtual javax.swing.JTable.getCellRect:(IIZ)Ljava/awt/Rectangle;
astore 6
start local 6 15: aload 0
getfield sun.jvm.hotspot.ui.ObjectHistogramPanel.table:Ljavax/swing/JTable;
aload 6
invokevirtual javax.swing.JTable.scrollRectToVisible:(Ljava/awt/Rectangle;)V
16: return
end local 6 17: StackMap locals: sun.jvm.hotspot.ui.ObjectHistogramPanel java.lang.String javax.swing.table.TableModel int java.lang.String int
StackMap stack:
iinc 5 1
end local 4 StackMap locals: sun.jvm.hotspot.ui.ObjectHistogramPanel java.lang.String javax.swing.table.TableModel int top int
StackMap stack:
18: iload 5
aload 2
invokeinterface javax.swing.table.TableModel.getRowCount:()I
if_icmplt 11
end local 5 19: iconst_0
istore 5
start local 5 20: goto 28
21: StackMap locals:
StackMap stack:
aload 2
iload 5
iconst_2
invokeinterface javax.swing.table.TableModel.getValueAt:(II)Ljava/lang/Object;
checkcast java.lang.String
astore 4
start local 4 22: aload 4
ifnull 27
aload 4
aload 1
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 27
23: aload 0
getfield sun.jvm.hotspot.ui.ObjectHistogramPanel.table:Ljavax/swing/JTable;
iload 5
iload 5
invokevirtual javax.swing.JTable.setRowSelectionInterval:(II)V
24: aload 0
getfield sun.jvm.hotspot.ui.ObjectHistogramPanel.table:Ljavax/swing/JTable;
iload 5
iconst_0
iconst_1
invokevirtual javax.swing.JTable.getCellRect:(IIZ)Ljava/awt/Rectangle;
astore 6
start local 6 25: aload 0
getfield sun.jvm.hotspot.ui.ObjectHistogramPanel.table:Ljavax/swing/JTable;
aload 6
invokevirtual javax.swing.JTable.scrollRectToVisible:(Ljava/awt/Rectangle;)V
26: return
end local 6 27: StackMap locals: sun.jvm.hotspot.ui.ObjectHistogramPanel java.lang.String javax.swing.table.TableModel int java.lang.String int
StackMap stack:
iinc 5 1
end local 4 StackMap locals: sun.jvm.hotspot.ui.ObjectHistogramPanel java.lang.String javax.swing.table.TableModel int top int
StackMap stack:
28: iload 5
iload 3
if_icmplt 21
end local 5 29: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 30 0 this Lsun/jvm/hotspot/ui/ObjectHistogramPanel;
1 30 1 findText Ljava/lang/String;
4 30 2 model Ljavax/swing/table/TableModel;
5 30 3 row I
12 18 4 value Ljava/lang/String;
22 28 4 value Ljava/lang/String;
10 19 5 i I
15 17 6 cellBounds Ljava/awt/Rectangle;
20 29 5 i I
25 27 6 cellBounds Ljava/awt/Rectangle;
private void fireShowObjectsOfType();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=5, args_size=1
start local 0 0: aload 0
getfield sun.jvm.hotspot.ui.ObjectHistogramPanel.table:Ljavax/swing/JTable;
invokevirtual javax.swing.JTable.getSelectedRow:()I
istore 1
start local 1 1: iload 1
ifge 3
2: return
3: StackMap locals: int
StackMap stack:
aload 0
getfield sun.jvm.hotspot.ui.ObjectHistogramPanel.dataModel:Lsun/jvm/hotspot/ui/ObjectHistogramPanel$ObjectHistogramTableModel;
iload 1
invokevirtual sun.jvm.hotspot.ui.ObjectHistogramPanel$ObjectHistogramTableModel.getElement:(I)Lsun/jvm/hotspot/oops/ObjectHistogramElement;
astore 2
start local 2 4: aload 0
getfield sun.jvm.hotspot.ui.ObjectHistogramPanel.listeners:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
start local 3 5: goto 8
6: StackMap locals: sun.jvm.hotspot.oops.ObjectHistogramElement java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.jvm.hotspot.ui.ObjectHistogramPanel$Listener
astore 4
start local 4 7: aload 4
aload 2
invokevirtual sun.jvm.hotspot.oops.ObjectHistogramElement.getKlass:()Lsun/jvm/hotspot/oops/Klass;
invokeinterface sun.jvm.hotspot.ui.ObjectHistogramPanel$Listener.showObjectsOfType:(Lsun/jvm/hotspot/oops/Klass;)V
end local 4 8: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
end local 3 9: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/jvm/hotspot/ui/ObjectHistogramPanel;
1 10 1 i I
4 10 2 el Lsun/jvm/hotspot/oops/ObjectHistogramElement;
5 9 3 iter Ljava/util/Iterator;
7 8 4 listener Lsun/jvm/hotspot/ui/ObjectHistogramPanel$Listener;
public static void main(java.lang.String[]);
descriptor: ([Ljava/lang/String;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 args [Ljava/lang/String;
MethodParameters:
Name Flags
args
}
SourceFile: "ObjectHistogramPanel.java"
NestMembers:
sun.jvm.hotspot.ui.ObjectHistogramPanel$1 sun.jvm.hotspot.ui.ObjectHistogramPanel$Listener sun.jvm.hotspot.ui.ObjectHistogramPanel$ObjectHistogramColummModel sun.jvm.hotspot.ui.ObjectHistogramPanel$ObjectHistogramTableModel sun.jvm.hotspot.ui.ObjectHistogramPanel$ObjectHistogramTableModel$ObjectHistogramComparator sun.jvm.hotspot.ui.ObjectHistogramPanel$ObjectHistogramToolBar
InnerClasses:
sun.jvm.hotspot.ui.ObjectHistogramPanel$1
public abstract Listener = sun.jvm.hotspot.ui.ObjectHistogramPanel$Listener of sun.jvm.hotspot.ui.ObjectHistogramPanel
private ObjectHistogramColummModel = sun.jvm.hotspot.ui.ObjectHistogramPanel$ObjectHistogramColummModel of sun.jvm.hotspot.ui.ObjectHistogramPanel
private ObjectHistogramTableModel = sun.jvm.hotspot.ui.ObjectHistogramPanel$ObjectHistogramTableModel of sun.jvm.hotspot.ui.ObjectHistogramPanel
private ObjectHistogramToolBar = sun.jvm.hotspot.ui.ObjectHistogramPanel$ObjectHistogramToolBar of sun.jvm.hotspot.ui.ObjectHistogramPanel