class sun.management.ManagementFactoryHelper$1 implements java.lang.management.BufferPoolMXBean
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.management.ManagementFactoryHelper$1
super_class: java.lang.Object
{
private volatile javax.management.ObjectName objname;
descriptor: Ljavax/management/ObjectName;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private final jdk.internal.misc.JavaNioAccess$BufferPool val$pool;
descriptor: Ljdk/internal/misc/JavaNioAccess$BufferPool;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(jdk.internal.misc.JavaNioAccess$BufferPool);
descriptor: (Ljdk/internal/misc/JavaNioAccess$BufferPool;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield sun.management.ManagementFactoryHelper$1.val$pool:Ljdk/internal/misc/JavaNioAccess$BufferPool;
aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/management/ManagementFactoryHelper$1;
MethodParameters:
Name Flags
val$pool final
public javax.management.ObjectName getObjectName();
descriptor: ()Ljavax/management/ObjectName;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
getfield sun.management.ManagementFactoryHelper$1.objname:Ljavax/management/ObjectName;
astore 1
start local 1 1: aload 1
ifnonnull 13
2: aload 0
dup
astore 2
monitorenter
3: aload 0
getfield sun.management.ManagementFactoryHelper$1.objname:Ljavax/management/ObjectName;
astore 1
4: aload 1
ifnonnull 9
5: new java.lang.StringBuilder
dup
ldc "java.nio:type=BufferPool,name="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
6: aload 0
getfield sun.management.ManagementFactoryHelper$1.val$pool:Ljdk/internal/misc/JavaNioAccess$BufferPool;
invokeinterface jdk.internal.misc.JavaNioAccess$BufferPool.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
7: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic sun.management.Util.newObjectName:(Ljava/lang/String;)Ljavax/management/ObjectName;
astore 1
8: aload 0
aload 1
putfield sun.management.ManagementFactoryHelper$1.objname:Ljavax/management/ObjectName;
9: StackMap locals: javax.management.ObjectName sun.management.ManagementFactoryHelper$1
StackMap stack:
aload 2
monitorexit
10: goto 13
StackMap locals:
StackMap stack: java.lang.Throwable
11: aload 2
monitorexit
12: athrow
13: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lsun/management/ManagementFactoryHelper$1;
1 14 1 result Ljavax/management/ObjectName;
Exception table:
from to target type
3 10 11 any
11 12 11 any
public java.lang.String getName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.management.ManagementFactoryHelper$1.val$pool:Ljdk/internal/misc/JavaNioAccess$BufferPool;
invokeinterface jdk.internal.misc.JavaNioAccess$BufferPool.getName:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/management/ManagementFactoryHelper$1;
public long getCount();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.management.ManagementFactoryHelper$1.val$pool:Ljdk/internal/misc/JavaNioAccess$BufferPool;
invokeinterface jdk.internal.misc.JavaNioAccess$BufferPool.getCount:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/management/ManagementFactoryHelper$1;
public long getTotalCapacity();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.management.ManagementFactoryHelper$1.val$pool:Ljdk/internal/misc/JavaNioAccess$BufferPool;
invokeinterface jdk.internal.misc.JavaNioAccess$BufferPool.getTotalCapacity:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/management/ManagementFactoryHelper$1;
public long getMemoryUsed();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.management.ManagementFactoryHelper$1.val$pool:Ljdk/internal/misc/JavaNioAccess$BufferPool;
invokeinterface jdk.internal.misc.JavaNioAccess$BufferPool.getMemoryUsed:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/management/ManagementFactoryHelper$1;
}
SourceFile: "ManagementFactoryHelper.java"
EnclosingMethod: sun.management.ManagementFactoryHelper.createBufferPoolMXBean:(Ljdk/internal/misc/JavaNioAccess$BufferPool;)Ljava/lang/management/BufferPoolMXBean;
NestHost: sun.management.ManagementFactoryHelper
InnerClasses:
public abstract BufferPool = jdk.internal.misc.JavaNioAccess$BufferPool of jdk.internal.misc.JavaNioAccess
sun.management.ManagementFactoryHelper$1