public class sun.tools.jstatd.RemoteHostImpl implements sun.jvmstat.monitor.remote.RemoteHost, sun.jvmstat.monitor.event.HostListener
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.tools.jstatd.RemoteHostImpl
super_class: java.lang.Object
{
private sun.jvmstat.monitor.MonitoredHost monitoredHost;
descriptor: Lsun/jvmstat/monitor/MonitoredHost;
flags: (0x0002) ACC_PRIVATE
private java.util.Set<java.lang.Integer> activeVms;
descriptor: Ljava/util/Set;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Set<Ljava/lang/Integer;>;
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
ldc "localhost"
invokestatic sun.jvmstat.monitor.MonitoredHost.getMonitoredHost:(Ljava/lang/String;)Lsun/jvmstat/monitor/MonitoredHost;
putfield sun.tools.jstatd.RemoteHostImpl.monitoredHost:Lsun/jvmstat/monitor/MonitoredHost;
2: goto 4
StackMap locals: sun.tools.jstatd.RemoteHostImpl
StackMap stack: java.net.URISyntaxException
3: pop
4: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield sun.tools.jstatd.RemoteHostImpl.monitoredHost:Lsun/jvmstat/monitor/MonitoredHost;
invokevirtual sun.jvmstat.monitor.MonitoredHost.activeVms:()Ljava/util/Set;
putfield sun.tools.jstatd.RemoteHostImpl.activeVms:Ljava/util/Set;
5: aload 0
getfield sun.tools.jstatd.RemoteHostImpl.monitoredHost:Lsun/jvmstat/monitor/MonitoredHost;
aload 0
invokevirtual sun.jvmstat.monitor.MonitoredHost.addHostListener:(Lsun/jvmstat/monitor/event/HostListener;)V
6: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/tools/jstatd/RemoteHostImpl;
Exception table:
from to target type
1 2 3 Class java.net.URISyntaxException
Exceptions:
throws sun.jvmstat.monitor.MonitorException
public sun.jvmstat.monitor.remote.RemoteVm attachVm(int, java.lang.String);
descriptor: (ILjava/lang/String;)Lsun/jvmstat/monitor/remote/RemoteVm;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=9, args_size=3
start local 0 start local 1 start local 2 0: new java.lang.Integer
iload 1
invokespecial java.lang.Integer.<init>:(I)V
1: aconst_null
astore 3
start local 3 2: new java.lang.StringBuffer
dup
invokespecial java.lang.StringBuffer.<init>:()V
astore 4
start local 4 3: aload 4
ldc "local://"
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
iload 1
invokevirtual java.lang.StringBuffer.append:(I)Ljava/lang/StringBuffer;
ldc "@localhost"
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
4: aload 2
ifnull 6
5: aload 4
new java.lang.StringBuilder
dup
ldc "?mode="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
6: StackMap locals: sun.jvmstat.monitor.remote.RemoteVm java.lang.StringBuffer
StackMap stack:
aload 4
invokevirtual java.lang.StringBuffer.toString:()Ljava/lang/String;
astore 5
start local 5 7: new sun.jvmstat.monitor.VmIdentifier
dup
aload 5
invokespecial sun.jvmstat.monitor.VmIdentifier.<init>:(Ljava/lang/String;)V
astore 6
start local 6 8: aload 0
getfield sun.tools.jstatd.RemoteHostImpl.monitoredHost:Lsun/jvmstat/monitor/MonitoredHost;
aload 6
invokevirtual sun.jvmstat.monitor.MonitoredHost.getMonitoredVm:(Lsun/jvmstat/monitor/VmIdentifier;)Lsun/jvmstat/monitor/MonitoredVm;
astore 7
start local 7 9: new sun.tools.jstatd.RemoteVmImpl
dup
aload 7
checkcast sun.jvmstat.monitor.remote.BufferedMonitoredVm
invokespecial sun.tools.jstatd.RemoteVmImpl.<init>:(Lsun/jvmstat/monitor/remote/BufferedMonitoredVm;)V
astore 8
start local 8 10: aload 8
iconst_0
invokestatic java.rmi.server.UnicastRemoteObject.exportObject:(Ljava/rmi/Remote;I)Ljava/rmi/Remote;
checkcast sun.jvmstat.monitor.remote.RemoteVm
astore 3
end local 8 end local 7 end local 6 11: goto 16
12: StackMap locals: sun.tools.jstatd.RemoteHostImpl int java.lang.String sun.jvmstat.monitor.remote.RemoteVm java.lang.StringBuffer java.lang.String
StackMap stack: java.net.URISyntaxException
astore 6
start local 6 13: new java.lang.RuntimeException
dup
new java.lang.StringBuilder
dup
ldc "Malformed VmIdentifier URI: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
14: aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 6
15: invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 6 16: StackMap locals:
StackMap stack:
aload 3
areturn
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 17 0 this Lsun/tools/jstatd/RemoteHostImpl;
0 17 1 lvmid I
0 17 2 mode Ljava/lang/String;
2 17 3 stub Lsun/jvmstat/monitor/remote/RemoteVm;
3 17 4 sb Ljava/lang/StringBuffer;
7 17 5 vmidStr Ljava/lang/String;
8 11 6 vmid Lsun/jvmstat/monitor/VmIdentifier;
9 11 7 mvm Lsun/jvmstat/monitor/MonitoredVm;
10 11 8 rvm Lsun/tools/jstatd/RemoteVmImpl;
13 16 6 e Ljava/net/URISyntaxException;
Exception table:
from to target type
7 11 12 Class java.net.URISyntaxException
Exceptions:
throws java.rmi.RemoteException, sun.jvmstat.monitor.MonitorException
MethodParameters:
Name Flags
lvmid
mode
public void detachVm(sun.jvmstat.monitor.remote.RemoteVm);
descriptor: (Lsun/jvmstat/monitor/remote/RemoteVm;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface sun.jvmstat.monitor.remote.RemoteVm.detach:()V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/tools/jstatd/RemoteHostImpl;
0 2 1 rvm Lsun/jvmstat/monitor/remote/RemoteVm;
Exceptions:
throws java.rmi.RemoteException
MethodParameters:
Name Flags
rvm
public int[] activeVms();
descriptor: ()[I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, 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.tools.jstatd.RemoteHostImpl.monitoredHost:Lsun/jvmstat/monitor/MonitoredHost;
invokevirtual sun.jvmstat.monitor.MonitoredHost.activeVms:()Ljava/util/Set;
invokeinterface java.util.Set.toArray:()[Ljava/lang/Object;
astore 1
3: aload 1
arraylength
newarray 10
astore 2
4: iconst_0
istore 3
start local 3 5: goto 8
6: StackMap locals: java.lang.Object[] int[] int
StackMap stack:
aload 2
iload 3
aload 1
iload 3
aaload
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
iastore
7: iinc 3 1
StackMap locals:
StackMap stack:
8: iload 3
aload 2
arraylength
if_icmplt 6
end local 3 9: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/tools/jstatd/RemoteHostImpl;
1 10 1 vms [Ljava/lang/Object;
2 10 2 vmids [I
5 9 3 i I
Exceptions:
throws sun.jvmstat.monitor.MonitorException
public void vmStatusChanged(sun.jvmstat.monitor.event.VmStatusChangeEvent);
descriptor: (Lsun/jvmstat/monitor/event/VmStatusChangeEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.tools.jstatd.RemoteHostImpl.activeVms:Ljava/util/Set;
dup
astore 2
monitorenter
1: aload 0
getfield sun.tools.jstatd.RemoteHostImpl.activeVms:Ljava/util/Set;
aload 1
invokevirtual sun.jvmstat.monitor.event.VmStatusChangeEvent.getActive:()Ljava/util/Set;
invokeinterface java.util.Set.retainAll:(Ljava/util/Collection;)Z
pop
2: aload 2
monitorexit
3: goto 6
StackMap locals: sun.tools.jstatd.RemoteHostImpl sun.jvmstat.monitor.event.VmStatusChangeEvent java.util.Set
StackMap stack: java.lang.Throwable
4: aload 2
monitorexit
5: athrow
6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/tools/jstatd/RemoteHostImpl;
0 7 1 ev Lsun/jvmstat/monitor/event/VmStatusChangeEvent;
Exception table:
from to target type
1 3 4 any
4 5 4 any
MethodParameters:
Name Flags
ev
public void disconnected(sun.jvmstat.monitor.event.HostEvent);
descriptor: (Lsun/jvmstat/monitor/event/HostEvent;)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/jstatd/RemoteHostImpl;
0 1 1 ev Lsun/jvmstat/monitor/event/HostEvent;
MethodParameters:
Name Flags
ev
}
SourceFile: "RemoteHostImpl.java"