public class sun.jvmstat.perfdata.monitor.protocol.local.LocalMonitoredVm extends sun.jvmstat.perfdata.monitor.AbstractMonitoredVm
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.jvmstat.perfdata.monitor.protocol.local.LocalMonitoredVm
super_class: sun.jvmstat.perfdata.monitor.AbstractMonitoredVm
{
private java.util.ArrayList<sun.jvmstat.monitor.event.VmListener> listeners;
descriptor: Ljava/util/ArrayList;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/ArrayList<Lsun/jvmstat/monitor/event/VmListener;>;
private sun.jvmstat.perfdata.monitor.protocol.local.LocalMonitoredVm$NotifierTask task;
descriptor: Lsun/jvmstat/perfdata/monitor/protocol/local/LocalMonitoredVm$NotifierTask;
flags: (0x0002) ACC_PRIVATE
public void <init>(sun.jvmstat.monitor.VmIdentifier, int);
descriptor: (Lsun/jvmstat/monitor/VmIdentifier;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
iload 2
invokespecial sun.jvmstat.perfdata.monitor.AbstractMonitoredVm.<init>:(Lsun/jvmstat/monitor/VmIdentifier;I)V
1: aload 0
new sun.jvmstat.perfdata.monitor.protocol.local.PerfDataBuffer
dup
aload 1
invokespecial sun.jvmstat.perfdata.monitor.protocol.local.PerfDataBuffer.<init>:(Lsun/jvmstat/monitor/VmIdentifier;)V
putfield sun.jvmstat.perfdata.monitor.protocol.local.LocalMonitoredVm.pdb:Lsun/jvmstat/perfdata/monitor/AbstractPerfDataBuffer;
2: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield sun.jvmstat.perfdata.monitor.protocol.local.LocalMonitoredVm.listeners:Ljava/util/ArrayList;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/jvmstat/perfdata/monitor/protocol/local/LocalMonitoredVm;
0 4 1 vmid Lsun/jvmstat/monitor/VmIdentifier;
0 4 2 interval I
Exceptions:
throws sun.jvmstat.monitor.MonitorException
MethodParameters:
Name Flags
vmid
interval
public void detach();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.jvmstat.perfdata.monitor.protocol.local.LocalMonitoredVm.interval:I
ifle 4
1: aload 0
getfield sun.jvmstat.perfdata.monitor.protocol.local.LocalMonitoredVm.task:Lsun/jvmstat/perfdata/monitor/protocol/local/LocalMonitoredVm$NotifierTask;
ifnull 4
2: aload 0
getfield sun.jvmstat.perfdata.monitor.protocol.local.LocalMonitoredVm.task:Lsun/jvmstat/perfdata/monitor/protocol/local/LocalMonitoredVm$NotifierTask;
invokevirtual sun.jvmstat.perfdata.monitor.protocol.local.LocalMonitoredVm$NotifierTask.cancel:()Z
pop
3: aload 0
aconst_null
putfield sun.jvmstat.perfdata.monitor.protocol.local.LocalMonitoredVm.task:Lsun/jvmstat/perfdata/monitor/protocol/local/LocalMonitoredVm$NotifierTask;
4: StackMap locals:
StackMap stack:
aload 0
invokespecial sun.jvmstat.perfdata.monitor.AbstractMonitoredVm.detach:()V
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/jvmstat/perfdata/monitor/protocol/local/LocalMonitoredVm;
public void addVmListener(sun.jvmstat.monitor.event.VmListener);
descriptor: (Lsun/jvmstat/monitor/event/VmListener;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.jvmstat.perfdata.monitor.protocol.local.LocalMonitoredVm.listeners:Ljava/util/ArrayList;
dup
astore 2
monitorenter
1: aload 0
getfield sun.jvmstat.perfdata.monitor.protocol.local.LocalMonitoredVm.listeners:Ljava/util/ArrayList;
aload 1
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
2: aload 0
getfield sun.jvmstat.perfdata.monitor.protocol.local.LocalMonitoredVm.task:Lsun/jvmstat/perfdata/monitor/protocol/local/LocalMonitoredVm$NotifierTask;
ifnonnull 6
3: aload 0
new sun.jvmstat.perfdata.monitor.protocol.local.LocalMonitoredVm$NotifierTask
dup
aload 0
invokespecial sun.jvmstat.perfdata.monitor.protocol.local.LocalMonitoredVm$NotifierTask.<init>:(Lsun/jvmstat/perfdata/monitor/protocol/local/LocalMonitoredVm;)V
putfield sun.jvmstat.perfdata.monitor.protocol.local.LocalMonitoredVm.task:Lsun/jvmstat/perfdata/monitor/protocol/local/LocalMonitoredVm$NotifierTask;
4: invokestatic sun.jvmstat.perfdata.monitor.protocol.local.LocalEventTimer.getInstance:()Lsun/jvmstat/perfdata/monitor/protocol/local/LocalEventTimer;
astore 3
start local 3 5: aload 3
aload 0
getfield sun.jvmstat.perfdata.monitor.protocol.local.LocalMonitoredVm.task:Lsun/jvmstat/perfdata/monitor/protocol/local/LocalMonitoredVm$NotifierTask;
aload 0
getfield sun.jvmstat.perfdata.monitor.protocol.local.LocalMonitoredVm.interval:I
i2l
aload 0
getfield sun.jvmstat.perfdata.monitor.protocol.local.LocalMonitoredVm.interval:I
i2l
invokevirtual sun.jvmstat.perfdata.monitor.protocol.local.LocalEventTimer.schedule:(Ljava/util/TimerTask;JJ)V
end local 3 6: StackMap locals: java.util.ArrayList
StackMap stack:
aload 2
monitorexit
7: goto 10
StackMap locals:
StackMap stack: java.lang.Throwable
8: aload 2
monitorexit
9: athrow
10: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/jvmstat/perfdata/monitor/protocol/local/LocalMonitoredVm;
0 11 1 l Lsun/jvmstat/monitor/event/VmListener;
5 6 3 timer Lsun/jvmstat/perfdata/monitor/protocol/local/LocalEventTimer;
Exception table:
from to target type
1 7 8 any
8 9 8 any
MethodParameters:
Name Flags
l
public void removeVmListener(sun.jvmstat.monitor.event.VmListener);
descriptor: (Lsun/jvmstat/monitor/event/VmListener;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.jvmstat.perfdata.monitor.protocol.local.LocalMonitoredVm.listeners:Ljava/util/ArrayList;
dup
astore 2
monitorenter
1: aload 0
getfield sun.jvmstat.perfdata.monitor.protocol.local.LocalMonitoredVm.listeners:Ljava/util/ArrayList;
aload 1
invokevirtual java.util.ArrayList.remove:(Ljava/lang/Object;)Z
pop
2: aload 0
getfield sun.jvmstat.perfdata.monitor.protocol.local.LocalMonitoredVm.listeners:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.isEmpty:()Z
ifeq 5
aload 0
getfield sun.jvmstat.perfdata.monitor.protocol.local.LocalMonitoredVm.task:Lsun/jvmstat/perfdata/monitor/protocol/local/LocalMonitoredVm$NotifierTask;
ifnull 5
3: aload 0
getfield sun.jvmstat.perfdata.monitor.protocol.local.LocalMonitoredVm.task:Lsun/jvmstat/perfdata/monitor/protocol/local/LocalMonitoredVm$NotifierTask;
invokevirtual sun.jvmstat.perfdata.monitor.protocol.local.LocalMonitoredVm$NotifierTask.cancel:()Z
pop
4: aload 0
aconst_null
putfield sun.jvmstat.perfdata.monitor.protocol.local.LocalMonitoredVm.task:Lsun/jvmstat/perfdata/monitor/protocol/local/LocalMonitoredVm$NotifierTask;
5: StackMap locals: java.util.ArrayList
StackMap stack:
aload 2
monitorexit
6: goto 9
StackMap locals:
StackMap stack: java.lang.Throwable
7: aload 2
monitorexit
8: athrow
9: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/jvmstat/perfdata/monitor/protocol/local/LocalMonitoredVm;
0 10 1 l Lsun/jvmstat/monitor/event/VmListener;
Exception table:
from to target type
1 6 7 any
7 8 7 any
MethodParameters:
Name Flags
l
public void setInterval(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.jvmstat.perfdata.monitor.protocol.local.LocalMonitoredVm.listeners:Ljava/util/ArrayList;
dup
astore 2
monitorenter
1: iload 1
aload 0
getfield sun.jvmstat.perfdata.monitor.protocol.local.LocalMonitoredVm.interval:I
if_icmpne 4
2: aload 2
monitorexit
3: return
4: StackMap locals: java.util.ArrayList
StackMap stack:
aload 0
getfield sun.jvmstat.perfdata.monitor.protocol.local.LocalMonitoredVm.interval:I
istore 3
start local 3 5: aload 0
iload 1
invokespecial sun.jvmstat.perfdata.monitor.AbstractMonitoredVm.setInterval:(I)V
6: aload 0
getfield sun.jvmstat.perfdata.monitor.protocol.local.LocalMonitoredVm.task:Lsun/jvmstat/perfdata/monitor/protocol/local/LocalMonitoredVm$NotifierTask;
ifnull 14
7: aload 0
getfield sun.jvmstat.perfdata.monitor.protocol.local.LocalMonitoredVm.task:Lsun/jvmstat/perfdata/monitor/protocol/local/LocalMonitoredVm$NotifierTask;
invokevirtual sun.jvmstat.perfdata.monitor.protocol.local.LocalMonitoredVm$NotifierTask.cancel:()Z
pop
8: aload 0
getfield sun.jvmstat.perfdata.monitor.protocol.local.LocalMonitoredVm.task:Lsun/jvmstat/perfdata/monitor/protocol/local/LocalMonitoredVm$NotifierTask;
astore 4
start local 4 9: aload 0
new sun.jvmstat.perfdata.monitor.protocol.local.LocalMonitoredVm$NotifierTask
dup
aload 0
invokespecial sun.jvmstat.perfdata.monitor.protocol.local.LocalMonitoredVm$NotifierTask.<init>:(Lsun/jvmstat/perfdata/monitor/protocol/local/LocalMonitoredVm;)V
putfield sun.jvmstat.perfdata.monitor.protocol.local.LocalMonitoredVm.task:Lsun/jvmstat/perfdata/monitor/protocol/local/LocalMonitoredVm$NotifierTask;
10: invokestatic sun.jvmstat.perfdata.monitor.protocol.local.LocalEventTimer.getInstance:()Lsun/jvmstat/perfdata/monitor/protocol/local/LocalEventTimer;
astore 5
start local 5 11: aload 5
aload 4
aload 0
getfield sun.jvmstat.perfdata.monitor.protocol.local.LocalMonitoredVm.task:Lsun/jvmstat/perfdata/monitor/protocol/local/LocalMonitoredVm$NotifierTask;
12: iload 3
iload 1
13: invokestatic sun.jvmstat.perfdata.monitor.CountedTimerTaskUtils.reschedule:(Ljava/util/Timer;Lsun/jvmstat/perfdata/monitor/CountedTimerTask;Lsun/jvmstat/perfdata/monitor/CountedTimerTask;II)V
end local 5 end local 4 end local 3 14: StackMap locals:
StackMap stack:
aload 2
monitorexit
15: goto 18
StackMap locals:
StackMap stack: java.lang.Throwable
16: aload 2
monitorexit
17: athrow
18: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lsun/jvmstat/perfdata/monitor/protocol/local/LocalMonitoredVm;
0 19 1 newInterval I
5 14 3 oldInterval I
9 14 4 oldTask Lsun/jvmstat/perfdata/monitor/protocol/local/LocalMonitoredVm$NotifierTask;
11 14 5 timer Lsun/jvmstat/perfdata/monitor/protocol/local/LocalEventTimer;
Exception table:
from to target type
1 3 16 any
4 15 16 any
16 17 16 any
MethodParameters:
Name Flags
newInterval
void fireMonitorStatusChangedEvents(java.util.List<sun.jvmstat.monitor.Monitor>, java.util.List<sun.jvmstat.monitor.Monitor>);
descriptor: (Ljava/util/List;Ljava/util/List;)V
flags: (0x0000)
Code:
stack=5, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aconst_null
astore 3
start local 3 1: aconst_null
astore 4
start local 4 2: aload 0
getfield sun.jvmstat.perfdata.monitor.protocol.local.LocalMonitoredVm.listeners:Ljava/util/ArrayList;
dup
astore 5
monitorenter
3: aload 0
getfield sun.jvmstat.perfdata.monitor.protocol.local.LocalMonitoredVm.listeners:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.clone:()Ljava/lang/Object;
checkcast java.util.ArrayList
astore 4
4: aload 5
monitorexit
5: goto 8
StackMap locals: sun.jvmstat.perfdata.monitor.protocol.local.LocalMonitoredVm java.util.List java.util.List sun.jvmstat.monitor.event.MonitorStatusChangeEvent java.util.ArrayList java.util.ArrayList
StackMap stack: java.lang.Throwable
6: aload 5
monitorexit
7: athrow
8: StackMap locals:
StackMap stack:
aload 4
invokevirtual java.util.ArrayList.iterator:()Ljava/util/Iterator;
astore 5
start local 5 9: goto 14
10: StackMap locals: java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.jvmstat.monitor.event.VmListener
astore 6
start local 6 11: aload 3
ifnonnull 13
12: new sun.jvmstat.monitor.event.MonitorStatusChangeEvent
dup
aload 0
aload 1
aload 2
invokespecial sun.jvmstat.monitor.event.MonitorStatusChangeEvent.<init>:(Lsun/jvmstat/monitor/MonitoredVm;Ljava/util/List;Ljava/util/List;)V
astore 3
13: StackMap locals: sun.jvmstat.monitor.event.VmListener
StackMap stack:
aload 6
aload 3
invokeinterface sun.jvmstat.monitor.event.VmListener.monitorStatusChanged:(Lsun/jvmstat/monitor/event/MonitorStatusChangeEvent;)V
end local 6 14: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 10
end local 5 15: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lsun/jvmstat/perfdata/monitor/protocol/local/LocalMonitoredVm;
0 16 1 inserted Ljava/util/List<Lsun/jvmstat/monitor/Monitor;>;
0 16 2 removed Ljava/util/List<Lsun/jvmstat/monitor/Monitor;>;
1 16 3 ev Lsun/jvmstat/monitor/event/MonitorStatusChangeEvent;
2 16 4 registered Ljava/util/ArrayList<Lsun/jvmstat/monitor/event/VmListener;>;
9 15 5 i Ljava/util/Iterator<Lsun/jvmstat/monitor/event/VmListener;>;
11 14 6 l Lsun/jvmstat/monitor/event/VmListener;
Exception table:
from to target type
3 5 6 any
6 7 6 any
Signature: (Ljava/util/List<Lsun/jvmstat/monitor/Monitor;>;Ljava/util/List<Lsun/jvmstat/monitor/Monitor;>;)V
MethodParameters:
Name Flags
inserted
removed
void fireMonitorsUpdatedEvents();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=5, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: aconst_null
astore 2
start local 2 2: aload 0
getfield sun.jvmstat.perfdata.monitor.protocol.local.LocalMonitoredVm.listeners:Ljava/util/ArrayList;
dup
astore 3
monitorenter
3: aload 0
getfield sun.jvmstat.perfdata.monitor.protocol.local.LocalMonitoredVm.listeners:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.clone:()Ljava/lang/Object;
invokestatic sun.jvmstat.perfdata.monitor.protocol.local.LocalMonitoredVm.cast:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.ArrayList
astore 2
4: aload 3
monitorexit
5: goto 8
StackMap locals: sun.jvmstat.perfdata.monitor.protocol.local.LocalMonitoredVm sun.jvmstat.monitor.event.VmEvent java.util.ArrayList java.util.ArrayList
StackMap stack: java.lang.Throwable
6: aload 3
monitorexit
7: athrow
8: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.util.ArrayList.iterator:()Ljava/util/Iterator;
astore 4
goto 13
StackMap locals: sun.jvmstat.perfdata.monitor.protocol.local.LocalMonitoredVm sun.jvmstat.monitor.event.VmEvent java.util.ArrayList top java.util.Iterator
StackMap stack:
9: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.jvmstat.monitor.event.VmListener
astore 3
start local 3 10: aload 1
ifnonnull 12
11: new sun.jvmstat.monitor.event.VmEvent
dup
aload 0
invokespecial sun.jvmstat.monitor.event.VmEvent.<init>:(Lsun/jvmstat/monitor/MonitoredVm;)V
astore 1
12: StackMap locals: sun.jvmstat.perfdata.monitor.protocol.local.LocalMonitoredVm sun.jvmstat.monitor.event.VmEvent java.util.ArrayList sun.jvmstat.monitor.event.VmListener java.util.Iterator
StackMap stack:
aload 3
aload 1
invokeinterface sun.jvmstat.monitor.event.VmListener.monitorsUpdated:(Lsun/jvmstat/monitor/event/VmEvent;)V
end local 3 13: StackMap locals: sun.jvmstat.perfdata.monitor.protocol.local.LocalMonitoredVm sun.jvmstat.monitor.event.VmEvent java.util.ArrayList top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 9
14: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lsun/jvmstat/perfdata/monitor/protocol/local/LocalMonitoredVm;
1 15 1 ev Lsun/jvmstat/monitor/event/VmEvent;
2 15 2 registered Ljava/util/ArrayList<Lsun/jvmstat/monitor/event/VmListener;>;
10 13 3 l Lsun/jvmstat/monitor/event/VmListener;
Exception table:
from to target type
3 5 6 any
6 7 6 any
static <T> T cast();
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 x Ljava/lang/Object;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Object;)TT;
MethodParameters:
Name Flags
x
}
SourceFile: "LocalMonitoredVm.java"
NestMembers:
sun.jvmstat.perfdata.monitor.protocol.local.LocalMonitoredVm$NotifierTask
InnerClasses:
private NotifierTask = sun.jvmstat.perfdata.monitor.protocol.local.LocalMonitoredVm$NotifierTask of sun.jvmstat.perfdata.monitor.protocol.local.LocalMonitoredVm