public class sun.jvm.hotspot.ui.ProcessListPanel extends javax.swing.JPanel
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.jvm.hotspot.ui.ProcessListPanel
super_class: javax.swing.JPanel
{
private sun.jvm.hotspot.debugger.Debugger dbg;
descriptor: Lsun/jvm/hotspot/debugger/Debugger;
flags: (0x0002) ACC_PRIVATE
private javax.swing.table.AbstractTableModel dataModel;
descriptor: Ljavax/swing/table/AbstractTableModel;
flags: (0x0002) ACC_PRIVATE
private java.util.List<sun.jvm.hotspot.debugger.ProcessInfo> els;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/List<Lsun/jvm/hotspot/debugger/ProcessInfo;>;
private boolean sortByName;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean sortReversed;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private javax.swing.Timer timer;
descriptor: Ljavax/swing/Timer;
flags: (0x0002) ACC_PRIVATE
private javax.swing.JTable table;
descriptor: Ljavax/swing/JTable;
flags: (0x0002) ACC_PRIVATE
public void <init>(sun.jvm.hotspot.debugger.Debugger);
descriptor: (Lsun/jvm/hotspot/debugger/Debugger;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokespecial javax.swing.JPanel.<init>:()V
1: aload 0
iconst_1
putfield sun.jvm.hotspot.ui.ProcessListPanel.sortByName:Z
2: aload 0
iconst_0
putfield sun.jvm.hotspot.ui.ProcessListPanel.sortReversed:Z
3: aload 0
aload 1
putfield sun.jvm.hotspot.ui.ProcessListPanel.dbg:Lsun/jvm/hotspot/debugger/Debugger;
4: aload 0
invokevirtual sun.jvm.hotspot.ui.ProcessListPanel.update:()V
5: aload 0
new sun.jvm.hotspot.ui.ProcessListPanel$1
dup
aload 0
invokespecial sun.jvm.hotspot.ui.ProcessListPanel$1.<init>:(Lsun/jvm/hotspot/ui/ProcessListPanel;)V
putfield sun.jvm.hotspot.ui.ProcessListPanel.dataModel:Ljavax/swing/table/AbstractTableModel;
6: aload 0
new java.awt.BorderLayout
dup
invokespecial java.awt.BorderLayout.<init>:()V
invokevirtual sun.jvm.hotspot.ui.ProcessListPanel.setLayout:(Ljava/awt/LayoutManager;)V
7: aload 0
new javax.swing.JTable
dup
aload 0
getfield sun.jvm.hotspot.ui.ProcessListPanel.dataModel:Ljavax/swing/table/AbstractTableModel;
invokespecial javax.swing.JTable.<init>:(Ljavax/swing/table/TableModel;)V
putfield sun.jvm.hotspot.ui.ProcessListPanel.table:Ljavax/swing/JTable;
8: aload 0
getfield sun.jvm.hotspot.ui.ProcessListPanel.table:Ljavax/swing/JTable;
iconst_0
invokevirtual javax.swing.JTable.setSelectionMode:(I)V
9: aload 0
getfield sun.jvm.hotspot.ui.ProcessListPanel.table:Ljavax/swing/JTable;
invokevirtual javax.swing.JTable.getTableHeader:()Ljavax/swing/table/JTableHeader;
astore 2
start local 2 10: aload 2
iconst_0
invokevirtual javax.swing.table.JTableHeader.setReorderingAllowed:(Z)V
11: aload 0
getfield sun.jvm.hotspot.ui.ProcessListPanel.table:Ljavax/swing/JTable;
iconst_1
invokevirtual javax.swing.JTable.setRowSelectionAllowed:(Z)V
12: aload 0
getfield sun.jvm.hotspot.ui.ProcessListPanel.table:Ljavax/swing/JTable;
iconst_0
invokevirtual javax.swing.JTable.setColumnSelectionAllowed:(Z)V
13: aload 2
new sun.jvm.hotspot.ui.ProcessListPanel$2
dup
aload 0
invokespecial sun.jvm.hotspot.ui.ProcessListPanel$2.<init>:(Lsun/jvm/hotspot/ui/ProcessListPanel;)V
invokevirtual javax.swing.table.JTableHeader.addMouseListener:(Ljava/awt/event/MouseListener;)V
14: new javax.swing.JScrollPane
dup
aload 0
getfield sun.jvm.hotspot.ui.ProcessListPanel.table:Ljavax/swing/JTable;
invokespecial javax.swing.JScrollPane.<init>:(Ljava/awt/Component;)V
astore 3
start local 3 15: aload 0
aload 3
ldc "Center"
invokevirtual sun.jvm.hotspot.ui.ProcessListPanel.add:(Ljava/awt/Component;Ljava/lang/Object;)V
16: aload 0
getfield sun.jvm.hotspot.ui.ProcessListPanel.els:Ljava/util/List;
invokeinterface java.util.List.size:()I
ifle 18
17: aload 0
getfield sun.jvm.hotspot.ui.ProcessListPanel.table:Ljavax/swing/JTable;
iconst_0
iconst_0
invokevirtual javax.swing.JTable.setRowSelectionInterval:(II)V
18: StackMap locals: sun.jvm.hotspot.ui.ProcessListPanel sun.jvm.hotspot.debugger.Debugger javax.swing.table.JTableHeader javax.swing.JScrollPane
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lsun/jvm/hotspot/ui/ProcessListPanel;
0 19 1 dbg Lsun/jvm/hotspot/debugger/Debugger;
10 19 2 header Ljavax/swing/table/JTableHeader;
15 19 3 scrollPane Ljavax/swing/JScrollPane;
MethodParameters:
Name Flags
dbg
public void setAutoUpdateInterval(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.jvm.hotspot.ui.ProcessListPanel.getTimer:()Ljavax/swing/Timer;
iload 1
invokevirtual javax.swing.Timer.setDelay:(I)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/jvm/hotspot/ui/ProcessListPanel;
0 2 1 millis I
MethodParameters:
Name Flags
millis
public void start();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.jvm.hotspot.ui.ProcessListPanel.getTimer:()Ljavax/swing/Timer;
invokevirtual javax.swing.Timer.start:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/jvm/hotspot/ui/ProcessListPanel;
public void stop();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.jvm.hotspot.ui.ProcessListPanel.getTimer:()Ljavax/swing/Timer;
invokevirtual javax.swing.Timer.stop:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/jvm/hotspot/ui/ProcessListPanel;
public synchronized void update();
descriptor: ()V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=4, args_size=1
start local 0 0: aload 0
getfield sun.jvm.hotspot.ui.ProcessListPanel.dbg:Lsun/jvm/hotspot/debugger/Debugger;
invokeinterface sun.jvm.hotspot.debugger.Debugger.hasProcessList:()Z
ifne 2
1: new java.lang.RuntimeException
dup
ldc "ProcessListPanel requires that debugger supports getProcessList()"
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.jvm.hotspot.ui.ProcessListPanel.dbg:Lsun/jvm/hotspot/debugger/Debugger;
invokeinterface sun.jvm.hotspot.debugger.Debugger.getProcessList:()Ljava/util/List;
astore 1
start local 1 3: aload 0
aload 1
invokevirtual sun.jvm.hotspot.ui.ProcessListPanel.sort:(Ljava/util/List;)V
4: aload 0
getfield sun.jvm.hotspot.ui.ProcessListPanel.table:Ljavax/swing/JTable;
ifnull 16
5: aload 0
getfield sun.jvm.hotspot.ui.ProcessListPanel.table:Ljavax/swing/JTable;
invokevirtual javax.swing.JTable.getSelectedRow:()I
istore 2
start local 2 6: aload 0
aload 0
getfield sun.jvm.hotspot.ui.ProcessListPanel.els:Ljava/util/List;
iload 2
invokevirtual sun.jvm.hotspot.ui.ProcessListPanel.getPid:(Ljava/util/List;I)I
istore 3
start local 3 7: aload 0
aload 1
iload 3
invokevirtual sun.jvm.hotspot.ui.ProcessListPanel.findPid:(Ljava/util/List;I)I
istore 2
8: aload 0
aload 1
putfield sun.jvm.hotspot.ui.ProcessListPanel.els:Ljava/util/List;
9: aload 0
getfield sun.jvm.hotspot.ui.ProcessListPanel.dataModel:Ljavax/swing/table/AbstractTableModel;
invokevirtual javax.swing.table.AbstractTableModel.fireTableDataChanged:()V
10: iload 2
ifge 11
aload 0
getfield sun.jvm.hotspot.ui.ProcessListPanel.els:Ljava/util/List;
invokeinterface java.util.List.size:()I
ifle 17
11: StackMap locals: java.util.List int int
StackMap stack:
iload 2
iflt 14
12: aload 0
getfield sun.jvm.hotspot.ui.ProcessListPanel.table:Ljavax/swing/JTable;
iload 2
iload 2
invokevirtual javax.swing.JTable.setRowSelectionInterval:(II)V
13: goto 17
14: StackMap locals:
StackMap stack:
aload 0
getfield sun.jvm.hotspot.ui.ProcessListPanel.table:Ljavax/swing/JTable;
iconst_0
iconst_0
invokevirtual javax.swing.JTable.setRowSelectionInterval:(II)V
end local 3 end local 2 15: goto 17
16: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield sun.jvm.hotspot.ui.ProcessListPanel.els:Ljava/util/List;
17: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lsun/jvm/hotspot/ui/ProcessListPanel;
3 18 1 newEls Ljava/util/List<Lsun/jvm/hotspot/debugger/ProcessInfo;>;
6 15 2 i I
7 15 3 pid I
public synchronized sun.jvm.hotspot.debugger.ProcessInfo getSelectedProcess();
descriptor: ()Lsun/jvm/hotspot/debugger/ProcessInfo;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield sun.jvm.hotspot.ui.ProcessListPanel.table:Ljavax/swing/JTable;
invokevirtual javax.swing.JTable.getSelectedRow:()I
istore 1
start local 1 1: iload 1
ifge 3
2: aconst_null
areturn
3: StackMap locals: int
StackMap stack:
aload 0
getfield sun.jvm.hotspot.ui.ProcessListPanel.els:Ljava/util/List;
iload 1
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast sun.jvm.hotspot.debugger.ProcessInfo
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/jvm/hotspot/ui/ProcessListPanel;
1 4 1 i I
private synchronized void sort(java.util.List<sun.jvm.hotspot.debugger.ProcessInfo>);
descriptor: (Ljava/util/List;)V
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.jvm.hotspot.ui.ProcessListPanel.sortByName:Z
ifeq 3
1: new sun.jvm.hotspot.ui.ProcessListPanel$3
dup
aload 0
invokespecial sun.jvm.hotspot.ui.ProcessListPanel$3.<init>:(Lsun/jvm/hotspot/ui/ProcessListPanel;)V
astore 2
start local 2 2: goto 4
end local 2 3: StackMap locals:
StackMap stack:
new sun.jvm.hotspot.ui.ProcessListPanel$4
dup
aload 0
invokespecial sun.jvm.hotspot.ui.ProcessListPanel$4.<init>:(Lsun/jvm/hotspot/ui/ProcessListPanel;)V
astore 2
start local 2 4: StackMap locals: java.util.Comparator
StackMap stack:
aload 1
aload 2
invokestatic java.util.Collections.sort:(Ljava/util/List;Ljava/util/Comparator;)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/ui/ProcessListPanel;
0 6 1 els Ljava/util/List<Lsun/jvm/hotspot/debugger/ProcessInfo;>;
2 3 2 c Ljava/util/Comparator<Lsun/jvm/hotspot/debugger/ProcessInfo;>;
4 6 2 c Ljava/util/Comparator<Lsun/jvm/hotspot/debugger/ProcessInfo;>;
Signature: (Ljava/util/List<Lsun/jvm/hotspot/debugger/ProcessInfo;>;)V
MethodParameters:
Name Flags
els
private javax.swing.Timer getTimer();
descriptor: ()Ljavax/swing/Timer;
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.jvm.hotspot.ui.ProcessListPanel.timer:Ljavax/swing/Timer;
ifnonnull 2
1: aload 0
new javax.swing.Timer
dup
sipush 1000
new sun.jvm.hotspot.ui.ProcessListPanel$5
dup
aload 0
invokespecial sun.jvm.hotspot.ui.ProcessListPanel$5.<init>:(Lsun/jvm/hotspot/ui/ProcessListPanel;)V
invokespecial javax.swing.Timer.<init>:(ILjava/awt/event/ActionListener;)V
putfield sun.jvm.hotspot.ui.ProcessListPanel.timer:Ljavax/swing/Timer;
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.jvm.hotspot.ui.ProcessListPanel.timer:Ljavax/swing/Timer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/jvm/hotspot/ui/ProcessListPanel;
private synchronized int getPid(java.util.List<sun.jvm.hotspot.debugger.ProcessInfo>, );
descriptor: (Ljava/util/List;I)I
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
iload 2
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast sun.jvm.hotspot.debugger.ProcessInfo
invokevirtual sun.jvm.hotspot.debugger.ProcessInfo.getPid:()I
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/ui/ProcessListPanel;
0 1 1 els Ljava/util/List<Lsun/jvm/hotspot/debugger/ProcessInfo;>;
0 1 2 index I
Signature: (Ljava/util/List<Lsun/jvm/hotspot/debugger/ProcessInfo;>;I)I
MethodParameters:
Name Flags
els
index
private synchronized int findPid(java.util.List<sun.jvm.hotspot.debugger.ProcessInfo>, );
descriptor: (Ljava/util/List;I)I
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=2, locals=5, args_size=3
start local 0 start local 1 start local 2 0: iconst_0
istore 3
start local 3 1: goto 6
2: StackMap locals: int
StackMap stack:
aload 1
iload 3
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast sun.jvm.hotspot.debugger.ProcessInfo
astore 4
start local 4 3: aload 4
invokevirtual sun.jvm.hotspot.debugger.ProcessInfo.getPid:()I
iload 2
if_icmpne 5
4: iload 3
ireturn
end local 4 5: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
6: iload 3
aload 1
invokeinterface java.util.List.size:()I
if_icmplt 2
end local 3 7: iconst_m1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/jvm/hotspot/ui/ProcessListPanel;
0 8 1 els Ljava/util/List<Lsun/jvm/hotspot/debugger/ProcessInfo;>;
0 8 2 pid I
1 7 3 i I
3 5 4 info Lsun/jvm/hotspot/debugger/ProcessInfo;
Signature: (Ljava/util/List<Lsun/jvm/hotspot/debugger/ProcessInfo;>;I)I
MethodParameters:
Name Flags
els
pid
}
SourceFile: "ProcessListPanel.java"
NestMembers:
sun.jvm.hotspot.ui.ProcessListPanel$1 sun.jvm.hotspot.ui.ProcessListPanel$2 sun.jvm.hotspot.ui.ProcessListPanel$3 sun.jvm.hotspot.ui.ProcessListPanel$4 sun.jvm.hotspot.ui.ProcessListPanel$5
InnerClasses:
sun.jvm.hotspot.ui.ProcessListPanel$1
sun.jvm.hotspot.ui.ProcessListPanel$2
sun.jvm.hotspot.ui.ProcessListPanel$3
sun.jvm.hotspot.ui.ProcessListPanel$4
sun.jvm.hotspot.ui.ProcessListPanel$5