public class sun.jvmstat.perfdata.monitor.protocol.rmi.PerfDataBuffer extends sun.jvmstat.perfdata.monitor.AbstractPerfDataBuffer
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.jvmstat.perfdata.monitor.protocol.rmi.PerfDataBuffer
super_class: sun.jvmstat.perfdata.monitor.AbstractPerfDataBuffer
{
private sun.jvmstat.monitor.remote.RemoteVm rvm;
descriptor: Lsun/jvmstat/monitor/remote/RemoteVm;
flags: (0x0002) ACC_PRIVATE
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lsun/jvmstat/perfdata/monitor/protocol/rmi/PerfDataBuffer;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic sun.jvmstat.perfdata.monitor.protocol.rmi.PerfDataBuffer.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(sun.jvmstat.monitor.remote.RemoteVm, int);
descriptor: (Lsun/jvmstat/monitor/remote/RemoteVm;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial sun.jvmstat.perfdata.monitor.AbstractPerfDataBuffer.<init>:()V
1: aload 0
aload 1
putfield sun.jvmstat.perfdata.monitor.protocol.rmi.PerfDataBuffer.rvm:Lsun/jvmstat/monitor/remote/RemoteVm;
2: aload 1
invokeinterface sun.jvmstat.monitor.remote.RemoteVm.getCapacity:()I
invokestatic java.nio.ByteBuffer.allocate:(I)Ljava/nio/ByteBuffer;
astore 3
start local 3 3: aload 0
aload 3
invokevirtual sun.jvmstat.perfdata.monitor.protocol.rmi.PerfDataBuffer.sample:(Ljava/nio/ByteBuffer;)V
4: aload 0
aload 3
iload 2
invokevirtual sun.jvmstat.perfdata.monitor.protocol.rmi.PerfDataBuffer.createPerfDataBuffer:(Ljava/nio/ByteBuffer;I)V
end local 3 5: goto 10
StackMap locals: sun.jvmstat.perfdata.monitor.protocol.rmi.PerfDataBuffer sun.jvmstat.monitor.remote.RemoteVm int
StackMap stack: java.rmi.RemoteException
6: astore 3
start local 3 7: new sun.jvmstat.monitor.MonitorException
dup
new java.lang.StringBuilder
dup
ldc "Could not read data for remote JVM "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
8: iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 3
9: invokespecial sun.jvmstat.monitor.MonitorException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 3 10: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/jvmstat/perfdata/monitor/protocol/rmi/PerfDataBuffer;
0 11 1 rvm Lsun/jvmstat/monitor/remote/RemoteVm;
0 11 2 lvmid I
3 5 3 buffer Ljava/nio/ByteBuffer;
7 10 3 e Ljava/rmi/RemoteException;
Exception table:
from to target type
2 5 6 Class java.rmi.RemoteException
Exceptions:
throws sun.jvmstat.monitor.MonitorException
MethodParameters:
Name Flags
rvm
lvmid
public void sample(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: getstatic sun.jvmstat.perfdata.monitor.protocol.rmi.PerfDataBuffer.$assertionsDisabled:Z
ifne 1
aload 1
ifnonnull 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
getstatic sun.jvmstat.perfdata.monitor.protocol.rmi.PerfDataBuffer.$assertionsDisabled:Z
ifne 2
aload 0
getfield sun.jvmstat.perfdata.monitor.protocol.rmi.PerfDataBuffer.rvm:Lsun/jvmstat/monitor/remote/RemoteVm;
ifnonnull 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 1
dup
astore 2
monitorenter
3: aload 1
invokevirtual java.nio.ByteBuffer.clear:()Ljava/nio/ByteBuffer;
pop
4: aload 1
aload 0
getfield sun.jvmstat.perfdata.monitor.protocol.rmi.PerfDataBuffer.rvm:Lsun/jvmstat/monitor/remote/RemoteVm;
invokeinterface sun.jvmstat.monitor.remote.RemoteVm.getBytes:()[B
invokevirtual java.nio.ByteBuffer.put:([B)Ljava/nio/ByteBuffer;
pop
5: aload 2
monitorexit
6: goto 9
StackMap locals: sun.jvmstat.perfdata.monitor.protocol.rmi.PerfDataBuffer java.nio.ByteBuffer java.nio.ByteBuffer
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/rmi/PerfDataBuffer;
0 10 1 buffer Ljava/nio/ByteBuffer;
Exception table:
from to target type
3 6 7 any
7 8 7 any
Exceptions:
throws java.rmi.RemoteException
MethodParameters:
Name Flags
buffer
}
SourceFile: "PerfDataBuffer.java"