public class sun.management.MemoryUsageCompositeData extends sun.management.LazyCompositeData
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.management.MemoryUsageCompositeData
super_class: sun.management.LazyCompositeData
{
private final java.lang.management.MemoryUsage usage;
descriptor: Ljava/lang/management/MemoryUsage;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static final javax.management.openmbean.CompositeType memoryUsageCompositeType;
descriptor: Ljavax/management/openmbean/CompositeType;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.String INIT;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "init"
private static final java.lang.String USED;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "used"
private static final java.lang.String COMMITTED;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "committed"
private static final java.lang.String MAX;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "max"
private static final java.lang.String[] memoryUsageItemNames;
descriptor: [Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=1, args_size=0
0: ldc Ljava/lang/management/MemoryUsage;
invokestatic sun.management.MappedMXBeanType.toOpenType:(Ljava/lang/reflect/Type;)Ljavax/management/openmbean/OpenType;
1: checkcast javax.management.openmbean.CompositeType
putstatic sun.management.MemoryUsageCompositeData.memoryUsageCompositeType:Ljavax/management/openmbean/CompositeType;
2: goto 5
StackMap locals:
StackMap stack: javax.management.openmbean.OpenDataException
3: astore 0
start local 0 4: aload 0
invokestatic sun.management.Util.newInternalError:(Ljava/lang/Exception;)Ljava/lang/InternalError;
athrow
end local 0 5: StackMap locals:
StackMap stack:
iconst_4
anewarray java.lang.String
dup
iconst_0
6: ldc "init"
aastore
dup
iconst_1
7: ldc "used"
aastore
dup
iconst_2
8: ldc "committed"
aastore
dup
iconst_3
9: ldc "max"
aastore
10: putstatic sun.management.MemoryUsageCompositeData.memoryUsageItemNames:[Ljava/lang/String;
11: return
LocalVariableTable:
Start End Slot Name Signature
4 5 0 e Ljavax/management/openmbean/OpenDataException;
Exception table:
from to target type
0 2 3 Class javax.management.openmbean.OpenDataException
private void <init>(java.lang.management.MemoryUsage);
descriptor: (Ljava/lang/management/MemoryUsage;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial sun.management.LazyCompositeData.<init>:()V
1: aload 0
aload 1
putfield sun.management.MemoryUsageCompositeData.usage:Ljava/lang/management/MemoryUsage;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/management/MemoryUsageCompositeData;
0 3 1 u Ljava/lang/management/MemoryUsage;
MethodParameters:
Name Flags
u
public java.lang.management.MemoryUsage getMemoryUsage();
descriptor: ()Ljava/lang/management/MemoryUsage;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.management.MemoryUsageCompositeData.usage:Ljava/lang/management/MemoryUsage;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/management/MemoryUsageCompositeData;
public static javax.management.openmbean.CompositeData toCompositeData(java.lang.management.MemoryUsage);
descriptor: (Ljava/lang/management/MemoryUsage;)Ljavax/management/openmbean/CompositeData;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: new sun.management.MemoryUsageCompositeData
dup
aload 0
invokespecial sun.management.MemoryUsageCompositeData.<init>:(Ljava/lang/management/MemoryUsage;)V
astore 1
start local 1 1: aload 1
invokevirtual sun.management.MemoryUsageCompositeData.getCompositeData:()Ljavax/management/openmbean/CompositeData;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 u Ljava/lang/management/MemoryUsage;
1 2 1 mucd Lsun/management/MemoryUsageCompositeData;
MethodParameters:
Name Flags
u
protected javax.management.openmbean.CompositeData getCompositeData();
descriptor: ()Ljavax/management/openmbean/CompositeData;
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=3, args_size=1
start local 0 0: iconst_4
anewarray java.lang.Object
dup
iconst_0
1: new java.lang.Long
dup
aload 0
getfield sun.management.MemoryUsageCompositeData.usage:Ljava/lang/management/MemoryUsage;
invokevirtual java.lang.management.MemoryUsage.getInit:()J
invokespecial java.lang.Long.<init>:(J)V
aastore
dup
iconst_1
2: new java.lang.Long
dup
aload 0
getfield sun.management.MemoryUsageCompositeData.usage:Ljava/lang/management/MemoryUsage;
invokevirtual java.lang.management.MemoryUsage.getUsed:()J
invokespecial java.lang.Long.<init>:(J)V
aastore
dup
iconst_2
3: new java.lang.Long
dup
aload 0
getfield sun.management.MemoryUsageCompositeData.usage:Ljava/lang/management/MemoryUsage;
invokevirtual java.lang.management.MemoryUsage.getCommitted:()J
invokespecial java.lang.Long.<init>:(J)V
aastore
dup
iconst_3
4: new java.lang.Long
dup
aload 0
getfield sun.management.MemoryUsageCompositeData.usage:Ljava/lang/management/MemoryUsage;
invokevirtual java.lang.management.MemoryUsage.getMax:()J
invokespecial java.lang.Long.<init>:(J)V
aastore
5: astore 1
start local 1 6: new javax.management.openmbean.CompositeDataSupport
dup
getstatic sun.management.MemoryUsageCompositeData.memoryUsageCompositeType:Ljavax/management/openmbean/CompositeType;
7: getstatic sun.management.MemoryUsageCompositeData.memoryUsageItemNames:[Ljava/lang/String;
8: aload 1
9: invokespecial javax.management.openmbean.CompositeDataSupport.<init>:(Ljavax/management/openmbean/CompositeType;[Ljava/lang/String;[Ljava/lang/Object;)V
10: areturn
11: StackMap locals: sun.management.MemoryUsageCompositeData java.lang.Object[]
StackMap stack: javax.management.openmbean.OpenDataException
astore 2
start local 2 12: aload 2
invokestatic sun.management.Util.newInternalError:(Ljava/lang/Exception;)Ljava/lang/InternalError;
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lsun/management/MemoryUsageCompositeData;
6 13 1 memoryUsageItemValues [Ljava/lang/Object;
12 13 2 e Ljavax/management/openmbean/OpenDataException;
Exception table:
from to target type
6 10 11 Class javax.management.openmbean.OpenDataException
static javax.management.openmbean.CompositeType getMemoryUsageCompositeType();
descriptor: ()Ljavax/management/openmbean/CompositeType;
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic sun.management.MemoryUsageCompositeData.memoryUsageCompositeType:Ljavax/management/openmbean/CompositeType;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static long getInit(javax.management.openmbean.CompositeData);
descriptor: (Ljavax/management/openmbean/CompositeData;)J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc "init"
invokestatic sun.management.MemoryUsageCompositeData.getLong:(Ljavax/management/openmbean/CompositeData;Ljava/lang/String;)J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 cd Ljavax/management/openmbean/CompositeData;
MethodParameters:
Name Flags
cd
public static long getUsed(javax.management.openmbean.CompositeData);
descriptor: (Ljavax/management/openmbean/CompositeData;)J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc "used"
invokestatic sun.management.MemoryUsageCompositeData.getLong:(Ljavax/management/openmbean/CompositeData;Ljava/lang/String;)J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 cd Ljavax/management/openmbean/CompositeData;
MethodParameters:
Name Flags
cd
public static long getCommitted(javax.management.openmbean.CompositeData);
descriptor: (Ljavax/management/openmbean/CompositeData;)J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc "committed"
invokestatic sun.management.MemoryUsageCompositeData.getLong:(Ljavax/management/openmbean/CompositeData;Ljava/lang/String;)J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 cd Ljavax/management/openmbean/CompositeData;
MethodParameters:
Name Flags
cd
public static long getMax(javax.management.openmbean.CompositeData);
descriptor: (Ljavax/management/openmbean/CompositeData;)J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc "max"
invokestatic sun.management.MemoryUsageCompositeData.getLong:(Ljavax/management/openmbean/CompositeData;Ljava/lang/String;)J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 cd Ljavax/management/openmbean/CompositeData;
MethodParameters:
Name Flags
cd
public static void validateCompositeData(javax.management.openmbean.CompositeData);
descriptor: (Ljavax/management/openmbean/CompositeData;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: new java.lang.NullPointerException
dup
ldc "Null CompositeData"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
getstatic sun.management.MemoryUsageCompositeData.memoryUsageCompositeType:Ljavax/management/openmbean/CompositeType;
aload 0
invokeinterface javax.management.openmbean.CompositeData.getCompositeType:()Ljavax/management/openmbean/CompositeType;
invokestatic sun.management.MemoryUsageCompositeData.isTypeMatched:(Ljavax/management/openmbean/CompositeType;Ljavax/management/openmbean/CompositeType;)Z
ifne 6
3: new java.lang.IllegalArgumentException
dup
4: ldc "Unexpected composite type for MemoryUsage"
5: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 cd Ljavax/management/openmbean/CompositeData;
MethodParameters:
Name Flags
cd
}
SourceFile: "MemoryUsageCompositeData.java"