public final class org.graalvm.compiler.hotspot.management.HotSpotGraalRuntimeMBean implements javax.management.DynamicMBean
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.graalvm.compiler.hotspot.management.HotSpotGraalRuntimeMBean
super_class: java.lang.Object
{
private final org.graalvm.compiler.hotspot.HotSpotGraalRuntime runtime;
descriptor: Lorg/graalvm/compiler/hotspot/HotSpotGraalRuntime;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final javax.management.ObjectName objectName;
descriptor: Ljavax/management/ObjectName;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static final boolean DEBUG;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic org.graalvm.compiler.hotspot.management.HotSpotGraalRuntimeMBean.initDebug:()Z
putstatic org.graalvm.compiler.hotspot.management.HotSpotGraalRuntimeMBean.DEBUG:Z
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(javax.management.ObjectName, org.graalvm.compiler.hotspot.HotSpotGraalRuntime);
descriptor: (Ljavax/management/ObjectName;Lorg/graalvm/compiler/hotspot/HotSpotGraalRuntime;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.graalvm.compiler.hotspot.management.HotSpotGraalRuntimeMBean.objectName:Ljavax/management/ObjectName;
2: aload 0
aload 2
putfield org.graalvm.compiler.hotspot.management.HotSpotGraalRuntimeMBean.runtime:Lorg/graalvm/compiler/hotspot/HotSpotGraalRuntime;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/compiler/hotspot/management/HotSpotGraalRuntimeMBean;
0 4 1 objectName Ljavax/management/ObjectName;
0 4 2 runtime Lorg/graalvm/compiler/hotspot/HotSpotGraalRuntime;
MethodParameters:
Name Flags
objectName
runtime
public javax.management.ObjectName getObjectName();
descriptor: ()Ljavax/management/ObjectName;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.hotspot.management.HotSpotGraalRuntimeMBean.objectName:Ljavax/management/ObjectName;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/management/HotSpotGraalRuntimeMBean;
public org.graalvm.compiler.hotspot.HotSpotGraalRuntime getRuntime();
descriptor: ()Lorg/graalvm/compiler/hotspot/HotSpotGraalRuntime;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.hotspot.management.HotSpotGraalRuntimeMBean.runtime:Lorg/graalvm/compiler/hotspot/HotSpotGraalRuntime;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/management/HotSpotGraalRuntimeMBean;
private static boolean initDebug();
descriptor: ()Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: invokestatic jdk.vm.ci.services.Services.getSavedProperties:()Ljava/util/Map;
new java.lang.StringBuilder
dup
ldc Lorg/graalvm/compiler/hotspot/management/HotSpotGraalRuntimeMBean;
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".debug"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
invokestatic java.lang.Boolean.parseBoolean:(Ljava/lang/String;)Z
1: ireturn
2: StackMap locals:
StackMap stack: java.lang.SecurityException
pop
3: iconst_0
ireturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
0 1 2 Class java.lang.SecurityException
public java.lang.Object getAttribute(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.compiler.hotspot.management.HotSpotGraalRuntimeMBean.runtime:Lorg/graalvm/compiler/hotspot/HotSpotGraalRuntime;
iconst_1
anewarray java.lang.String
dup
iconst_0
aload 1
aastore
invokevirtual org.graalvm.compiler.hotspot.HotSpotGraalRuntime.getOptionValues:([Ljava/lang/String;)[Ljava/lang/String;
astore 2
start local 2 1: aload 2
iconst_0
aaload
astore 3
start local 3 2: aload 3
ifnonnull 4
3: new javax.management.AttributeNotFoundException
dup
aload 1
invokespecial javax.management.AttributeNotFoundException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals: java.lang.String[] java.lang.String
StackMap stack:
getstatic org.graalvm.compiler.hotspot.management.HotSpotGraalRuntimeMBean.DEBUG:Z
ifeq 8
5: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "getAttribute: %s = %s (type: %s)%n"
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
dup
iconst_1
aload 3
aastore
dup
iconst_2
aload 3
ifnonnull 6
ldc "null"
goto 7
StackMap locals: org.graalvm.compiler.hotspot.management.HotSpotGraalRuntimeMBean java.lang.String java.lang.String[] java.lang.String
StackMap stack: java.io.PrintStream java.lang.String java.lang.Object[] java.lang.Object[] int
6: aload 3
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
StackMap locals: org.graalvm.compiler.hotspot.management.HotSpotGraalRuntimeMBean java.lang.String java.lang.String[] java.lang.String
StackMap stack: java.io.PrintStream java.lang.String java.lang.Object[] java.lang.Object[] int java.lang.String
7: aastore
invokevirtual java.io.PrintStream.printf:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/PrintStream;
pop
8: StackMap locals:
StackMap stack:
aload 2
iconst_0
aaload
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/graalvm/compiler/hotspot/management/HotSpotGraalRuntimeMBean;
0 9 1 name Ljava/lang/String;
1 9 2 result [Ljava/lang/String;
2 9 3 value Ljava/lang/String;
Exceptions:
throws javax.management.AttributeNotFoundException
MethodParameters:
Name Flags
name
public void setAttribute(javax.management.Attribute);
descriptor: (Ljavax/management/Attribute;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=6, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual javax.management.Attribute.getName:()Ljava/lang/String;
astore 2
start local 2 1: aload 1
invokevirtual javax.management.Attribute.getValue:()Ljava/lang/Object;
astore 3
start local 3 2: aload 3
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
astore 4
start local 4 3: getstatic org.graalvm.compiler.hotspot.management.HotSpotGraalRuntimeMBean.DEBUG:Z
ifeq 7
4: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "setAttribute: %s = %s (type: %s)%n"
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 2
aastore
dup
iconst_1
aload 4
aastore
dup
iconst_2
aload 3
ifnonnull 5
ldc "null"
goto 6
StackMap locals: org.graalvm.compiler.hotspot.management.HotSpotGraalRuntimeMBean javax.management.Attribute java.lang.String java.lang.Object java.lang.String
StackMap stack: java.io.PrintStream java.lang.String java.lang.Object[] java.lang.Object[] int
5: aload 3
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
StackMap locals: org.graalvm.compiler.hotspot.management.HotSpotGraalRuntimeMBean javax.management.Attribute java.lang.String java.lang.Object java.lang.String
StackMap stack: java.io.PrintStream java.lang.String java.lang.Object[] java.lang.Object[] int java.lang.String
6: aastore
invokevirtual java.io.PrintStream.printf:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/PrintStream;
pop
7: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.hotspot.management.HotSpotGraalRuntimeMBean.runtime:Lorg/graalvm/compiler/hotspot/HotSpotGraalRuntime;
iconst_1
anewarray java.lang.String
dup
iconst_0
aload 2
aastore
iconst_1
anewarray java.lang.String
dup
iconst_0
aload 4
aastore
invokevirtual org.graalvm.compiler.hotspot.HotSpotGraalRuntime.setOptionValues:([Ljava/lang/String;[Ljava/lang/String;)[Ljava/lang/String;
astore 5
start local 5 8: aload 5
iconst_0
aaload
aload 2
if_acmpeq 12
9: aload 5
iconst_0
aaload
ifnonnull 11
10: new javax.management.AttributeNotFoundException
dup
aload 2
invokespecial javax.management.AttributeNotFoundException.<init>:(Ljava/lang/String;)V
athrow
11: StackMap locals: java.lang.String[]
StackMap stack:
new javax.management.InvalidAttributeValueException
dup
aload 5
iconst_0
aaload
invokespecial javax.management.InvalidAttributeValueException.<init>:(Ljava/lang/String;)V
athrow
12: StackMap locals:
StackMap stack:
return
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 13 0 this Lorg/graalvm/compiler/hotspot/management/HotSpotGraalRuntimeMBean;
0 13 1 attribute Ljavax/management/Attribute;
1 13 2 name Ljava/lang/String;
2 13 3 value Ljava/lang/Object;
3 13 4 svalue Ljava/lang/String;
8 13 5 result [Ljava/lang/String;
Exceptions:
throws javax.management.AttributeNotFoundException, javax.management.InvalidAttributeValueException
RuntimeInvisibleAnnotations:
org.graalvm.compiler.core.common.SuppressFBWarnings(value = {"ES_COMPARING_STRINGS_WITH_EQ"}, justification = "reference equality on the receiver is what we want")
MethodParameters:
Name Flags
attribute
public javax.management.AttributeList getAttributes(java.lang.String[]);
descriptor: ([Ljava/lang/String;)Ljavax/management/AttributeList;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=7, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.compiler.hotspot.management.HotSpotGraalRuntimeMBean.runtime:Lorg/graalvm/compiler/hotspot/HotSpotGraalRuntime;
aload 1
invokevirtual org.graalvm.compiler.hotspot.HotSpotGraalRuntime.getOptionValues:([Ljava/lang/String;)[Ljava/lang/String;
astore 2
start local 2 1: new javax.management.AttributeList
dup
invokespecial javax.management.AttributeList.<init>:()V
astore 3
start local 3 2: iconst_0
istore 4
start local 4 3: goto 15
4: StackMap locals: java.lang.String[] javax.management.AttributeList int
StackMap stack:
aload 2
iload 4
aaload
astore 5
start local 5 5: aload 1
iload 4
aaload
astore 6
start local 6 6: aload 5
ifnonnull 9
7: ldc "No such option named %s%n"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 6
aastore
invokestatic org.graalvm.compiler.debug.TTY.printf:(Ljava/lang/String;[Ljava/lang/Object;)V
8: goto 14
9: StackMap locals: java.lang.String java.lang.String
StackMap stack:
getstatic org.graalvm.compiler.hotspot.management.HotSpotGraalRuntimeMBean.DEBUG:Z
ifeq 13
10: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "getAttributes: %s = %s (type: %s)%n"
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 6
aastore
dup
iconst_1
aload 5
aastore
dup
iconst_2
aload 5
ifnonnull 11
ldc "null"
goto 12
StackMap locals: org.graalvm.compiler.hotspot.management.HotSpotGraalRuntimeMBean java.lang.String[] java.lang.String[] javax.management.AttributeList int java.lang.String java.lang.String
StackMap stack: java.io.PrintStream java.lang.String java.lang.Object[] java.lang.Object[] int
11: aload 5
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
StackMap locals: org.graalvm.compiler.hotspot.management.HotSpotGraalRuntimeMBean java.lang.String[] java.lang.String[] javax.management.AttributeList int java.lang.String java.lang.String
StackMap stack: java.io.PrintStream java.lang.String java.lang.Object[] java.lang.Object[] int java.lang.String
12: aastore
invokevirtual java.io.PrintStream.printf:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/PrintStream;
pop
13: StackMap locals:
StackMap stack:
aload 3
new javax.management.Attribute
dup
aload 6
aload 5
invokespecial javax.management.Attribute.<init>:(Ljava/lang/String;Ljava/lang/Object;)V
invokevirtual javax.management.AttributeList.add:(Ljavax/management/Attribute;)V
end local 6 end local 5 14: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
15: iload 4
aload 1
arraylength
if_icmplt 4
end local 4 16: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/graalvm/compiler/hotspot/management/HotSpotGraalRuntimeMBean;
0 17 1 names [Ljava/lang/String;
1 17 2 values [Ljava/lang/String;
2 17 3 list Ljavax/management/AttributeList;
3 16 4 i I
5 14 5 value Ljava/lang/String;
6 14 6 name Ljava/lang/String;
MethodParameters:
Name Flags
names
public javax.management.AttributeList setAttributes(javax.management.AttributeList);
descriptor: (Ljavax/management/AttributeList;)Ljavax/management/AttributeList;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=10, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual javax.management.AttributeList.size:()I
anewarray java.lang.String
astore 2
start local 2 1: aload 1
invokevirtual javax.management.AttributeList.size:()I
anewarray java.lang.String
astore 3
start local 3 2: iconst_0
istore 4
start local 4 3: aload 1
invokevirtual javax.management.AttributeList.asList:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 15
StackMap locals: org.graalvm.compiler.hotspot.management.HotSpotGraalRuntimeMBean javax.management.AttributeList java.lang.String[] java.lang.String[] int top java.util.Iterator
StackMap stack:
4: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.management.Attribute
astore 5
start local 5 5: aload 5
invokevirtual javax.management.Attribute.getName:()Ljava/lang/String;
astore 7
start local 7 6: aload 2
iload 4
aload 7
aastore
7: aload 5
invokevirtual javax.management.Attribute.getValue:()Ljava/lang/Object;
astore 8
start local 8 8: aload 8
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
astore 9
start local 9 9: aload 3
iload 4
aload 9
aastore
10: getstatic org.graalvm.compiler.hotspot.management.HotSpotGraalRuntimeMBean.DEBUG:Z
ifeq 14
11: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "setAttributes: %s = %s (type: %s)%n"
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 7
aastore
dup
iconst_1
aload 9
aastore
dup
iconst_2
aload 8
ifnonnull 12
ldc "null"
goto 13
StackMap locals: org.graalvm.compiler.hotspot.management.HotSpotGraalRuntimeMBean javax.management.AttributeList java.lang.String[] java.lang.String[] int javax.management.Attribute java.util.Iterator java.lang.String java.lang.Object java.lang.String
StackMap stack: java.io.PrintStream java.lang.String java.lang.Object[] java.lang.Object[] int
12: aload 8
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
StackMap locals: org.graalvm.compiler.hotspot.management.HotSpotGraalRuntimeMBean javax.management.AttributeList java.lang.String[] java.lang.String[] int javax.management.Attribute java.util.Iterator java.lang.String java.lang.Object java.lang.String
StackMap stack: java.io.PrintStream java.lang.String java.lang.Object[] java.lang.Object[] int java.lang.String
13: aastore
invokevirtual java.io.PrintStream.printf:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/PrintStream;
pop
14: StackMap locals:
StackMap stack:
iinc 4 1
end local 9 end local 8 end local 7 end local 5 15: StackMap locals: org.graalvm.compiler.hotspot.management.HotSpotGraalRuntimeMBean javax.management.AttributeList java.lang.String[] java.lang.String[] int top java.util.Iterator
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
16: aload 0
getfield org.graalvm.compiler.hotspot.management.HotSpotGraalRuntimeMBean.runtime:Lorg/graalvm/compiler/hotspot/HotSpotGraalRuntime;
aload 2
aload 3
invokevirtual org.graalvm.compiler.hotspot.HotSpotGraalRuntime.setOptionValues:([Ljava/lang/String;[Ljava/lang/String;)[Ljava/lang/String;
astore 5
start local 5 17: new javax.management.AttributeList
dup
invokespecial javax.management.AttributeList.<init>:()V
astore 6
start local 6 18: iconst_0
istore 4
19: aload 1
invokevirtual javax.management.AttributeList.asList:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 8
goto 29
StackMap locals: org.graalvm.compiler.hotspot.management.HotSpotGraalRuntimeMBean javax.management.AttributeList java.lang.String[] java.lang.String[] int java.lang.String[] javax.management.AttributeList top java.util.Iterator
StackMap stack:
20: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.management.Attribute
astore 7
start local 7 21: aload 2
iload 4
aaload
aload 5
iload 4
aaload
if_acmpne 24
22: aload 6
aload 7
invokevirtual javax.management.AttributeList.add:(Ljavax/management/Attribute;)V
23: goto 28
StackMap locals: org.graalvm.compiler.hotspot.management.HotSpotGraalRuntimeMBean javax.management.AttributeList java.lang.String[] java.lang.String[] int java.lang.String[] javax.management.AttributeList javax.management.Attribute java.util.Iterator
StackMap stack:
24: aload 5
iload 4
aaload
ifnonnull 27
25: ldc "Error setting %s to %s: unknown option%n"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 7
invokevirtual javax.management.Attribute.getName:()Ljava/lang/String;
aastore
dup
iconst_1
aload 7
invokevirtual javax.management.Attribute.getValue:()Ljava/lang/Object;
aastore
invokestatic org.graalvm.compiler.debug.TTY.printf:(Ljava/lang/String;[Ljava/lang/Object;)V
26: goto 28
27: StackMap locals:
StackMap stack:
ldc "Error setting %s to %s: %s%n"
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 7
invokevirtual javax.management.Attribute.getName:()Ljava/lang/String;
aastore
dup
iconst_1
aload 7
invokevirtual javax.management.Attribute.getValue:()Ljava/lang/Object;
aastore
dup
iconst_2
aload 5
iload 4
aaload
aastore
invokestatic org.graalvm.compiler.debug.TTY.printf:(Ljava/lang/String;[Ljava/lang/Object;)V
28: StackMap locals:
StackMap stack:
iinc 4 1
end local 7 29: StackMap locals: org.graalvm.compiler.hotspot.management.HotSpotGraalRuntimeMBean javax.management.AttributeList java.lang.String[] java.lang.String[] int java.lang.String[] javax.management.AttributeList top java.util.Iterator
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 20
30: aload 6
areturn
end local 6 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 31 0 this Lorg/graalvm/compiler/hotspot/management/HotSpotGraalRuntimeMBean;
0 31 1 attributes Ljavax/management/AttributeList;
1 31 2 names [Ljava/lang/String;
2 31 3 values [Ljava/lang/String;
3 31 4 i I
5 15 5 attr Ljavax/management/Attribute;
6 15 7 name Ljava/lang/String;
8 15 8 value Ljava/lang/Object;
9 15 9 svalue Ljava/lang/String;
17 31 5 result [Ljava/lang/String;
18 31 6 setOk Ljavax/management/AttributeList;
21 29 7 attr Ljavax/management/Attribute;
RuntimeInvisibleAnnotations:
org.graalvm.compiler.core.common.SuppressFBWarnings(value = {"ES_COMPARING_STRINGS_WITH_EQ"}, justification = "reference equality on the receiver is what we want")
RuntimeInvisibleTypeAnnotations:
METHOD_RETURN
org.graalvm.compiler.core.common.SuppressFBWarnings(value = {"ES_COMPARING_STRINGS_WITH_EQ"}, justification = "reference equality on the receiver is what we want")
MethodParameters:
Name Flags
attributes
public java.lang.Object invoke(java.lang.String, java.lang.Object[], java.lang.String[]);
descriptor: (Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=11, args_size=4
start local 0 start local 1 start local 2 start local 3 0: getstatic org.graalvm.compiler.hotspot.management.HotSpotGraalRuntimeMBean.DEBUG:Z
ifeq 2
1: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "invoke: %s%s%n"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
dup
iconst_1
aload 2
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
aastore
invokevirtual java.io.PrintStream.printf:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/PrintStream;
pop
2: StackMap locals:
StackMap stack:
aconst_null
astore 4
start local 4 3: ldc "dumpMethod"
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
4: aload 0
getfield org.graalvm.compiler.hotspot.management.HotSpotGraalRuntimeMBean.runtime:Lorg/graalvm/compiler/hotspot/HotSpotGraalRuntime;
aload 1
aload 2
invokevirtual org.graalvm.compiler.hotspot.HotSpotGraalRuntime.invokeManagementAction:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/Object;
astore 4
5: goto 21
6: StackMap locals: java.lang.Object
StackMap stack:
iconst_0
istore 5
start local 5 7: ldc Lorg/graalvm/compiler/phases/common/jmx/HotSpotMBeanOperationProvider;
invokestatic org.graalvm.compiler.serviceprovider.GraalServices.load:(Ljava/lang/Class;)Ljava/lang/Iterable;
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 7
goto 18
StackMap locals: org.graalvm.compiler.hotspot.management.HotSpotGraalRuntimeMBean java.lang.String java.lang.Object[] java.lang.String[] java.lang.Object int top java.util.Iterator
StackMap stack:
8: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.phases.common.jmx.HotSpotMBeanOperationProvider
astore 6
start local 6 9: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 8
start local 8 10: aload 6
ldc Ljavax/management/MBeanOperationInfo;
aload 8
invokeinterface org.graalvm.compiler.phases.common.jmx.HotSpotMBeanOperationProvider.registerOperations:(Ljava/lang/Class;Ljava/util/Collection;)V
11: aload 8
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 10
goto 17
StackMap locals: org.graalvm.compiler.hotspot.management.HotSpotGraalRuntimeMBean java.lang.String java.lang.Object[] java.lang.String[] java.lang.Object int org.graalvm.compiler.phases.common.jmx.HotSpotMBeanOperationProvider java.util.Iterator java.util.List top java.util.Iterator
StackMap stack:
12: aload 10
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.management.MBeanOperationInfo
astore 9
start local 9 13: aload 1
aload 9
invokevirtual javax.management.MBeanOperationInfo.getName:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 17
14: aload 6
aload 1
aload 2
aload 3
invokeinterface org.graalvm.compiler.phases.common.jmx.HotSpotMBeanOperationProvider.invoke:(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object;
astore 4
15: iconst_1
istore 5
16: goto 18
end local 9 17: StackMap locals:
StackMap stack:
aload 10
invokeinterface java.util.Iterator.hasNext:()Z
ifne 12
end local 8 end local 6 18: StackMap locals: org.graalvm.compiler.hotspot.management.HotSpotGraalRuntimeMBean java.lang.String java.lang.Object[] java.lang.String[] java.lang.Object int top java.util.Iterator
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 8
19: iload 5
ifne 21
20: new javax.management.MBeanException
dup
new java.lang.IllegalStateException
dup
new java.lang.StringBuilder
dup
ldc "Cannot find operation "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
invokespecial javax.management.MBeanException.<init>:(Ljava/lang/Exception;)V
athrow
end local 5 21: StackMap locals: org.graalvm.compiler.hotspot.management.HotSpotGraalRuntimeMBean java.lang.String java.lang.Object[] java.lang.String[] java.lang.Object
StackMap stack:
getstatic org.graalvm.compiler.hotspot.management.HotSpotGraalRuntimeMBean.DEBUG:Z
ifeq 23
22: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "invoke: %s%s = %s%n"
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
dup
iconst_1
aload 2
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
aastore
dup
iconst_2
aload 4
aastore
invokevirtual java.io.PrintStream.printf:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/PrintStream;
pop
23: StackMap locals:
StackMap stack:
aload 4
24: areturn
end local 4 25: StackMap locals: org.graalvm.compiler.hotspot.management.HotSpotGraalRuntimeMBean java.lang.String java.lang.Object[] java.lang.String[]
StackMap stack: javax.management.MBeanException
astore 4
start local 4 26: aload 4
athrow
end local 4 27: StackMap locals:
StackMap stack: java.lang.Exception
astore 4
start local 4 28: new javax.management.ReflectionException
dup
aload 4
invokespecial javax.management.ReflectionException.<init>:(Ljava/lang/Exception;)V
athrow
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 this Lorg/graalvm/compiler/hotspot/management/HotSpotGraalRuntimeMBean;
0 29 1 actionName Ljava/lang/String;
0 29 2 params [Ljava/lang/Object;
0 29 3 signature [Ljava/lang/String;
3 25 4 retvalue Ljava/lang/Object;
7 21 5 found Z
9 18 6 p Lorg/graalvm/compiler/phases/common/jmx/HotSpotMBeanOperationProvider;
10 18 8 info Ljava/util/List<Ljavax/management/MBeanOperationInfo;>;
13 17 9 op Ljavax/management/MBeanOperationInfo;
26 27 4 ex Ljavax/management/MBeanException;
28 29 4 ex Ljava/lang/Exception;
Exception table:
from to target type
0 24 25 Class javax.management.MBeanException
0 24 27 Class java.lang.Exception
Exceptions:
throws javax.management.MBeanException, javax.management.ReflectionException
MethodParameters:
Name Flags
actionName
params
signature
public javax.management.MBeanInfo getMBeanInfo();
descriptor: ()Ljavax/management/MBeanInfo;
flags: (0x0001) ACC_PUBLIC
Code:
stack=13, locals=5, args_size=1
start local 0 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 1: invokestatic org.graalvm.compiler.hotspot.management.HotSpotGraalRuntimeMBean.getOptionDescriptors:()Ljdk/internal/vm/compiler/collections/EconomicMap;
invokeinterface jdk.internal.vm.compiler.collections.EconomicMap.getValues:()Ljava/lang/Iterable;
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 3
goto 7
StackMap locals: org.graalvm.compiler.hotspot.management.HotSpotGraalRuntimeMBean java.util.List top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.options.OptionDescriptor
astore 2
start local 2 3: aload 2
invokevirtual org.graalvm.compiler.options.OptionDescriptor.getOptionValueType:()Ljava/lang/Class;
astore 4
start local 4 4: ldc Ljava/lang/Enum;
aload 4
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifeq 6
5: ldc Ljava/lang/String;
astore 4
6: StackMap locals: org.graalvm.compiler.hotspot.management.HotSpotGraalRuntimeMBean java.util.List org.graalvm.compiler.options.OptionDescriptor java.util.Iterator java.lang.Class
StackMap stack:
aload 1
new javax.management.MBeanAttributeInfo
dup
aload 2
invokevirtual org.graalvm.compiler.options.OptionDescriptor.getName:()Ljava/lang/String;
aload 4
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aload 2
invokevirtual org.graalvm.compiler.options.OptionDescriptor.getHelp:()Ljava/lang/String;
iconst_1
iconst_1
iconst_0
invokespecial javax.management.MBeanAttributeInfo.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZZZ)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 4 end local 2 7: StackMap locals: org.graalvm.compiler.hotspot.management.HotSpotGraalRuntimeMBean java.util.List top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
8: aload 1
new org.graalvm.compiler.hotspot.management.HotSpotGraalRuntimeMBean$1
dup
aload 0
invokespecial org.graalvm.compiler.hotspot.management.HotSpotGraalRuntimeMBean$1.<init>:(Lorg/graalvm/compiler/hotspot/management/HotSpotGraalRuntimeMBean;)V
invokeinterface java.util.List.sort:(Ljava/util/Comparator;)V
9: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 10: aload 2
new javax.management.MBeanOperationInfo
dup
ldc "dumpMethod"
ldc "Enable IGV dumps for provided method"
iconst_2
anewarray javax.management.MBeanParameterInfo
dup
iconst_0
11: new javax.management.MBeanParameterInfo
dup
ldc "className"
ldc "java.lang.String"
ldc "Class to observe"
invokespecial javax.management.MBeanParameterInfo.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
aastore
dup
iconst_1
12: new javax.management.MBeanParameterInfo
dup
ldc "methodName"
ldc "java.lang.String"
ldc "Method to observe"
invokespecial javax.management.MBeanParameterInfo.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
aastore
13: ldc "void"
iconst_1
invokespecial javax.management.MBeanOperationInfo.<init>:(Ljava/lang/String;Ljava/lang/String;[Ljavax/management/MBeanParameterInfo;Ljava/lang/String;I)V
14: invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
15: aload 2
new javax.management.MBeanOperationInfo
dup
ldc "dumpMethod"
ldc "Enable IGV dumps for provided method"
iconst_3
anewarray javax.management.MBeanParameterInfo
dup
iconst_0
16: new javax.management.MBeanParameterInfo
dup
ldc "className"
ldc "java.lang.String"
ldc "Class to observe"
invokespecial javax.management.MBeanParameterInfo.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
aastore
dup
iconst_1
17: new javax.management.MBeanParameterInfo
dup
ldc "methodName"
ldc "java.lang.String"
ldc "Method to observe"
invokespecial javax.management.MBeanParameterInfo.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
aastore
dup
iconst_2
18: new javax.management.MBeanParameterInfo
dup
ldc "filter"
ldc "java.lang.String"
ldc "The parameter for Dump option"
invokespecial javax.management.MBeanParameterInfo.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
aastore
19: ldc "void"
iconst_1
invokespecial javax.management.MBeanOperationInfo.<init>:(Ljava/lang/String;Ljava/lang/String;[Ljavax/management/MBeanParameterInfo;Ljava/lang/String;I)V
20: invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
21: aload 2
new javax.management.MBeanOperationInfo
dup
ldc "dumpMethod"
ldc "Enable IGV dumps for provided method"
iconst_5
anewarray javax.management.MBeanParameterInfo
dup
iconst_0
22: new javax.management.MBeanParameterInfo
dup
ldc "className"
ldc "java.lang.String"
ldc "Class to observe"
invokespecial javax.management.MBeanParameterInfo.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
aastore
dup
iconst_1
23: new javax.management.MBeanParameterInfo
dup
ldc "methodName"
ldc "java.lang.String"
ldc "Method to observe"
invokespecial javax.management.MBeanParameterInfo.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
aastore
dup
iconst_2
24: new javax.management.MBeanParameterInfo
dup
ldc "filter"
ldc "java.lang.String"
ldc "The parameter for Dump option"
invokespecial javax.management.MBeanParameterInfo.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
aastore
dup
iconst_3
25: new javax.management.MBeanParameterInfo
dup
ldc "host"
ldc "java.lang.String"
ldc "The host where the IGV tool is running at"
invokespecial javax.management.MBeanParameterInfo.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
aastore
dup
iconst_4
26: new javax.management.MBeanParameterInfo
dup
ldc "port"
ldc "int"
ldc "The port where the IGV tool is listening at"
invokespecial javax.management.MBeanParameterInfo.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
aastore
27: ldc "void"
iconst_1
invokespecial javax.management.MBeanOperationInfo.<init>:(Ljava/lang/String;Ljava/lang/String;[Ljavax/management/MBeanParameterInfo;Ljava/lang/String;I)V
28: invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
29: ldc Lorg/graalvm/compiler/phases/common/jmx/HotSpotMBeanOperationProvider;
invokestatic org.graalvm.compiler.serviceprovider.GraalServices.load:(Ljava/lang/Class;)Ljava/lang/Iterable;
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 4
goto 32
StackMap locals: org.graalvm.compiler.hotspot.management.HotSpotGraalRuntimeMBean java.util.List java.util.List top java.util.Iterator
StackMap stack:
30: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.phases.common.jmx.HotSpotMBeanOperationProvider
astore 3
start local 3 31: aload 3
ldc Ljavax/management/MBeanOperationInfo;
aload 2
invokeinterface org.graalvm.compiler.phases.common.jmx.HotSpotMBeanOperationProvider.registerOperations:(Ljava/lang/Class;Ljava/util/Collection;)V
end local 3 32: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 30
33: new javax.management.MBeanInfo
dup
34: ldc Lorg/graalvm/compiler/hotspot/management/HotSpotGraalRuntimeMBean;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
35: ldc "Graal"
36: aload 1
aload 1
invokeinterface java.util.List.size:()I
anewarray javax.management.MBeanAttributeInfo
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast javax.management.MBeanAttributeInfo[]
37: aconst_null
38: aload 2
aload 2
invokeinterface java.util.List.size:()I
anewarray javax.management.MBeanOperationInfo
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast javax.management.MBeanOperationInfo[]
39: aconst_null
40: invokespecial javax.management.MBeanInfo.<init>:(Ljava/lang/String;Ljava/lang/String;[Ljavax/management/MBeanAttributeInfo;[Ljavax/management/MBeanConstructorInfo;[Ljavax/management/MBeanOperationInfo;[Ljavax/management/MBeanNotificationInfo;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 41 0 this Lorg/graalvm/compiler/hotspot/management/HotSpotGraalRuntimeMBean;
1 41 1 attrs Ljava/util/List<Ljavax/management/MBeanAttributeInfo;>;
3 7 2 option Lorg/graalvm/compiler/options/OptionDescriptor;
4 7 4 optionValueType Ljava/lang/Class<*>;
10 41 2 opts Ljava/util/List<Ljavax/management/MBeanOperationInfo;>;
31 32 3 p Lorg/graalvm/compiler/phases/common/jmx/HotSpotMBeanOperationProvider;
private static jdk.internal.vm.compiler.collections.EconomicMap<java.lang.String, org.graalvm.compiler.options.OptionDescriptor> getOptionDescriptors();
descriptor: ()Ljdk/internal/vm/compiler/collections/EconomicMap;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=5, args_size=0
0: invokestatic jdk.internal.vm.compiler.collections.EconomicMap.create:()Ljdk/internal/vm/compiler/collections/EconomicMap;
astore 0
start local 0 1: invokestatic org.graalvm.compiler.options.OptionsParser.getOptionsLoader:()Ljava/lang/Iterable;
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 2
goto 7
StackMap locals: jdk.internal.vm.compiler.collections.EconomicMap top java.util.Iterator
StackMap stack:
2: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.options.OptionDescriptors
astore 1
start local 1 3: aload 1
invokeinterface org.graalvm.compiler.options.OptionDescriptors.iterator:()Ljava/util/Iterator;
astore 4
goto 6
StackMap locals: jdk.internal.vm.compiler.collections.EconomicMap org.graalvm.compiler.options.OptionDescriptors java.util.Iterator top java.util.Iterator
StackMap stack:
4: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.options.OptionDescriptor
astore 3
start local 3 5: aload 0
aload 3
invokevirtual org.graalvm.compiler.options.OptionDescriptor.getName:()Ljava/lang/String;
aload 3
invokeinterface jdk.internal.vm.compiler.collections.EconomicMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 3 6: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
end local 1 7: StackMap locals: jdk.internal.vm.compiler.collections.EconomicMap top java.util.Iterator
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
8: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 9 0 result Ljdk/internal/vm/compiler/collections/EconomicMap<Ljava/lang/String;Lorg/graalvm/compiler/options/OptionDescriptor;>;
3 7 1 set Lorg/graalvm/compiler/options/OptionDescriptors;
5 6 3 option Lorg/graalvm/compiler/options/OptionDescriptor;
Signature: ()Ljdk/internal/vm/compiler/collections/EconomicMap<Ljava/lang/String;Lorg/graalvm/compiler/options/OptionDescriptor;>;
}
SourceFile: "HotSpotGraalRuntimeMBean.java"
NestMembers:
org.graalvm.compiler.hotspot.management.HotSpotGraalRuntimeMBean$1
InnerClasses:
org.graalvm.compiler.hotspot.management.HotSpotGraalRuntimeMBean$1