public class java.lang.management.MemoryUsage
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: java.lang.management.MemoryUsage
super_class: java.lang.Object
{
private final long init;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final long used;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final long committed;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final long max;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(long, long, long, long);
descriptor: (JJJJ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=9, args_size=5
start local 0 start local 1 start local 3 start local 5 start local 7 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: lload 1
ldc -1
lcmp
ifge 5
2: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "init parameter = "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
3: lload 1
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc " is negative but not -1."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
4: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals: java.lang.management.MemoryUsage long long long long
StackMap stack:
lload 7
ldc -1
lcmp
ifge 9
6: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "max parameter = "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
7: lload 7
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc " is negative but not -1."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
8: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals:
StackMap stack:
lload 3
lconst_0
lcmp
ifge 13
10: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "used parameter = "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
11: lload 3
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc " is negative."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
12: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
13: StackMap locals:
StackMap stack:
lload 5
lconst_0
lcmp
ifge 17
14: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "committed parameter = "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
15: lload 5
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc " is negative."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
16: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
17: StackMap locals:
StackMap stack:
lload 3
lload 5
lcmp
ifle 21
18: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "used = "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
lload 3
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
19: ldc " should be <= committed = "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
lload 5
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
20: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
21: StackMap locals:
StackMap stack:
lload 7
lconst_0
lcmp
iflt 25
lload 5
lload 7
lcmp
ifle 25
22: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "committed = "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
lload 5
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
23: ldc " should be < max = "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
lload 7
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
24: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
25: StackMap locals:
StackMap stack:
aload 0
lload 1
putfield java.lang.management.MemoryUsage.init:J
26: aload 0
lload 3
putfield java.lang.management.MemoryUsage.used:J
27: aload 0
lload 5
putfield java.lang.management.MemoryUsage.committed:J
28: aload 0
lload 7
putfield java.lang.management.MemoryUsage.max:J
29: return
end local 7 end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 30 0 this Ljava/lang/management/MemoryUsage;
0 30 1 init J
0 30 3 used J
0 30 5 committed J
0 30 7 max J
MethodParameters:
Name Flags
init
used
committed
max
private void <init>(javax.management.openmbean.CompositeData);
descriptor: (Ljavax/management/openmbean/CompositeData;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 1
invokestatic sun.management.MemoryUsageCompositeData.validateCompositeData:(Ljavax/management/openmbean/CompositeData;)V
2: aload 0
aload 1
invokestatic sun.management.MemoryUsageCompositeData.getInit:(Ljavax/management/openmbean/CompositeData;)J
putfield java.lang.management.MemoryUsage.init:J
3: aload 0
aload 1
invokestatic sun.management.MemoryUsageCompositeData.getUsed:(Ljavax/management/openmbean/CompositeData;)J
putfield java.lang.management.MemoryUsage.used:J
4: aload 0
aload 1
invokestatic sun.management.MemoryUsageCompositeData.getCommitted:(Ljavax/management/openmbean/CompositeData;)J
putfield java.lang.management.MemoryUsage.committed:J
5: aload 0
aload 1
invokestatic sun.management.MemoryUsageCompositeData.getMax:(Ljavax/management/openmbean/CompositeData;)J
putfield java.lang.management.MemoryUsage.max:J
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljava/lang/management/MemoryUsage;
0 7 1 cd Ljavax/management/openmbean/CompositeData;
MethodParameters:
Name Flags
cd
public long getInit();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield java.lang.management.MemoryUsage.init:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/lang/management/MemoryUsage;
public long getUsed();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield java.lang.management.MemoryUsage.used:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/lang/management/MemoryUsage;
public long getCommitted();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield java.lang.management.MemoryUsage.committed:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/lang/management/MemoryUsage;
public long getMax();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield java.lang.management.MemoryUsage.max:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/lang/management/MemoryUsage;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 1: aload 1
new java.lang.StringBuilder
dup
ldc "init = "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield java.lang.management.MemoryUsage.init:J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc "("
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield java.lang.management.MemoryUsage.init:J
bipush 10
lshr
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc "K) "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
2: aload 1
new java.lang.StringBuilder
dup
ldc "used = "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield java.lang.management.MemoryUsage.used:J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc "("
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield java.lang.management.MemoryUsage.used:J
bipush 10
lshr
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc "K) "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
3: aload 1
new java.lang.StringBuilder
dup
ldc "committed = "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield java.lang.management.MemoryUsage.committed:J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc "("
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
4: aload 0
getfield java.lang.management.MemoryUsage.committed:J
bipush 10
lshr
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc "K) "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
5: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
6: aload 1
new java.lang.StringBuilder
dup
ldc "max = "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield java.lang.management.MemoryUsage.max:J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc "("
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield java.lang.management.MemoryUsage.max:J
bipush 10
lshr
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc "K)"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
7: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljava/lang/management/MemoryUsage;
1 8 1 buf Ljava/lang/StringBuilder;
public static java.lang.management.MemoryUsage from(javax.management.openmbean.CompositeData);
descriptor: (Ljavax/management/openmbean/CompositeData;)Ljava/lang/management/MemoryUsage;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
instanceof sun.management.MemoryUsageCompositeData
ifeq 4
3: aload 0
checkcast sun.management.MemoryUsageCompositeData
invokevirtual sun.management.MemoryUsageCompositeData.getMemoryUsage:()Ljava/lang/management/MemoryUsage;
areturn
4: StackMap locals:
StackMap stack:
new java.lang.management.MemoryUsage
dup
aload 0
invokespecial java.lang.management.MemoryUsage.<init>:(Ljavax/management/openmbean/CompositeData;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 cd Ljavax/management/openmbean/CompositeData;
MethodParameters:
Name Flags
cd
}
SourceFile: "MemoryUsage.java"