final class org.graalvm.compiler.hotspot.management.HotSpotGraalManagement$RegistrationThread extends java.lang.Thread
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.graalvm.compiler.hotspot.management.HotSpotGraalManagement$RegistrationThread
super_class: java.lang.Thread
{
private javax.management.MBeanServer platformMBeanServer;
descriptor: Ljavax/management/MBeanServer;
flags: (0x0002) ACC_PRIVATE
private org.graalvm.compiler.hotspot.management.HotSpotGraalManagement deferred;
descriptor: Lorg/graalvm/compiler/hotspot/management/HotSpotGraalManagement;
flags: (0x0002) ACC_PRIVATE
private static final int POLL_INTERVAL_MS;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 2000
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc "HotSpotGraalManagement Bean Registration"
invokespecial java.lang.Thread.<init>:(Ljava/lang/String;)V
1: aload 0
iconst_1
invokevirtual org.graalvm.compiler.hotspot.management.HotSpotGraalManagement$RegistrationThread.setPriority:(I)V
2: aload 0
iconst_1
invokevirtual org.graalvm.compiler.hotspot.management.HotSpotGraalManagement$RegistrationThread.setDaemon:(Z)V
3: aload 0
invokevirtual org.graalvm.compiler.hotspot.management.HotSpotGraalManagement$RegistrationThread.start:()V
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/graalvm/compiler/hotspot/management/HotSpotGraalManagement$RegistrationThread;
synchronized void add(org.graalvm.compiler.hotspot.management.HotSpotGraalManagement);
descriptor: (Lorg/graalvm/compiler/hotspot/management/HotSpotGraalManagement;)V
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.compiler.hotspot.management.HotSpotGraalManagement$RegistrationThread.deferred:Lorg/graalvm/compiler/hotspot/management/HotSpotGraalManagement;
ifnull 2
1: aload 1
aload 0
getfield org.graalvm.compiler.hotspot.management.HotSpotGraalManagement$RegistrationThread.deferred:Lorg/graalvm/compiler/hotspot/management/HotSpotGraalManagement;
putfield org.graalvm.compiler.hotspot.management.HotSpotGraalManagement.nextDeferred:Lorg/graalvm/compiler/hotspot/management/HotSpotGraalManagement;
2: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield org.graalvm.compiler.hotspot.management.HotSpotGraalManagement$RegistrationThread.deferred:Lorg/graalvm/compiler/hotspot/management/HotSpotGraalManagement;
3: aload 0
invokevirtual java.lang.Object.notify:()V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/graalvm/compiler/hotspot/management/HotSpotGraalManagement$RegistrationThread;
0 5 1 e Lorg/graalvm/compiler/hotspot/management/HotSpotGraalManagement;
MethodParameters:
Name Flags
e
private void process();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.hotspot.management.HotSpotGraalManagement$RegistrationThread.deferred:Lorg/graalvm/compiler/hotspot/management/HotSpotGraalManagement;
astore 1
start local 1 1: goto 11
2: StackMap locals: org.graalvm.compiler.hotspot.management.HotSpotGraalManagement
StackMap stack:
aload 1
getfield org.graalvm.compiler.hotspot.management.HotSpotGraalManagement.bean:Lorg/graalvm/compiler/hotspot/management/HotSpotGraalRuntimeMBean;
astore 2
start local 2 3: aload 1
getfield org.graalvm.compiler.hotspot.management.HotSpotGraalManagement.needsRegistration:Z
ifeq 10
aload 2
ifnull 10
4: aload 0
getfield org.graalvm.compiler.hotspot.management.HotSpotGraalManagement$RegistrationThread.platformMBeanServer:Ljavax/management/MBeanServer;
aload 2
aload 2
invokevirtual org.graalvm.compiler.hotspot.management.HotSpotGraalRuntimeMBean.getObjectName:()Ljavax/management/ObjectName;
invokeinterface javax.management.MBeanServer.registerMBean:(Ljava/lang/Object;Ljavax/management/ObjectName;)Ljavax/management/ObjectInstance;
pop
5: goto 9
StackMap locals: org.graalvm.compiler.hotspot.management.HotSpotGraalManagement$RegistrationThread org.graalvm.compiler.hotspot.management.HotSpotGraalManagement org.graalvm.compiler.hotspot.management.HotSpotGraalRuntimeMBean
StackMap stack: javax.management.JMException
6: astore 3
start local 3 7: aload 3
getstatic org.graalvm.compiler.debug.TTY.out:Ljava/io/PrintStream;
invokevirtual javax.management.JMException.printStackTrace:(Ljava/io/PrintStream;)V
8: aload 1
aconst_null
putfield org.graalvm.compiler.hotspot.management.HotSpotGraalManagement.bean:Lorg/graalvm/compiler/hotspot/management/HotSpotGraalRuntimeMBean;
end local 3 9: StackMap locals:
StackMap stack:
aload 1
iconst_0
putfield org.graalvm.compiler.hotspot.management.HotSpotGraalManagement.needsRegistration:Z
end local 2 10: StackMap locals:
StackMap stack:
aload 1
getfield org.graalvm.compiler.hotspot.management.HotSpotGraalManagement.nextDeferred:Lorg/graalvm/compiler/hotspot/management/HotSpotGraalManagement;
astore 1
StackMap locals:
StackMap stack:
11: aload 1
ifnonnull 2
end local 1 12: aload 0
aconst_null
putfield org.graalvm.compiler.hotspot.management.HotSpotGraalManagement$RegistrationThread.deferred:Lorg/graalvm/compiler/hotspot/management/HotSpotGraalManagement;
13: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/graalvm/compiler/hotspot/management/HotSpotGraalManagement$RegistrationThread;
1 12 1 m Lorg/graalvm/compiler/hotspot/management/HotSpotGraalManagement;
3 10 2 bean Lorg/graalvm/compiler/hotspot/management/HotSpotGraalRuntimeMBean;
7 9 3 e Ljavax/management/JMException;
Exception table:
from to target type
4 5 6 Class javax.management.InstanceAlreadyExistsException
4 5 6 Class javax.management.MBeanRegistrationException
4 5 6 Class javax.management.NotCompliantMBeanException
public void run();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: StackMap locals:
StackMap stack:
aload 0
dup
astore 1
monitorenter
1: goto 3
2: StackMap locals: org.graalvm.compiler.hotspot.management.HotSpotGraalManagement$RegistrationThread
StackMap stack:
aload 0
invokevirtual java.lang.Object.wait:()V
3: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.hotspot.management.HotSpotGraalManagement$RegistrationThread.deferred:Lorg/graalvm/compiler/hotspot/management/HotSpotGraalManagement;
ifnull 2
4: aload 1
monitorexit
5: goto 8
StackMap locals:
StackMap stack: java.lang.Throwable
6: aload 1
monitorexit
7: athrow
8: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.graalvm.compiler.hotspot.management.HotSpotGraalManagement$RegistrationThread.poll:()V
9: ldc 2000
invokestatic java.lang.Thread.sleep:(J)V
10: goto 0
StackMap locals:
StackMap stack: java.lang.InterruptedException
11: astore 1
start local 1 12: aload 1
getstatic org.graalvm.compiler.debug.TTY.out:Ljava/io/PrintStream;
invokevirtual java.lang.InterruptedException.printStackTrace:(Ljava/io/PrintStream;)V
end local 1 13: goto 0
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/graalvm/compiler/hotspot/management/HotSpotGraalManagement$RegistrationThread;
12 13 1 e Ljava/lang/InterruptedException;
Exception table:
from to target type
1 5 6 any
6 7 6 any
0 10 11 Class java.lang.InterruptedException
synchronized void poll();
descriptor: ()V
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.hotspot.management.HotSpotGraalManagement$RegistrationThread.platformMBeanServer:Ljavax/management/MBeanServer;
ifnonnull 9
1: aconst_null
invokestatic javax.management.MBeanServerFactory.findMBeanServer:(Ljava/lang/String;)Ljava/util/ArrayList;
astore 1
start local 1 2: aload 1
invokevirtual java.util.ArrayList.isEmpty:()Z
ifne 10
3: aload 0
invokestatic java.lang.management.ManagementFactory.getPlatformMBeanServer:()Ljavax/management/MBeanServer;
putfield org.graalvm.compiler.hotspot.management.HotSpotGraalManagement$RegistrationThread.platformMBeanServer:Ljavax/management/MBeanServer;
4: aload 0
invokevirtual org.graalvm.compiler.hotspot.management.HotSpotGraalManagement$RegistrationThread.process:()V
end local 1 5: goto 10
StackMap locals:
StackMap stack: java.lang.Throwable
6: pop
7: aload 0
aconst_null
putfield org.graalvm.compiler.hotspot.management.HotSpotGraalManagement$RegistrationThread.deferred:Lorg/graalvm/compiler/hotspot/management/HotSpotGraalManagement;
8: goto 10
9: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.graalvm.compiler.hotspot.management.HotSpotGraalManagement$RegistrationThread.process:()V
10: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/graalvm/compiler/hotspot/management/HotSpotGraalManagement$RegistrationThread;
2 5 1 servers Ljava/util/ArrayList<Ljavax/management/MBeanServer;>;
Exception table:
from to target type
1 5 6 Class java.lang.SecurityException
1 5 6 Class java.lang.UnsatisfiedLinkError
1 5 6 Class java.lang.NoClassDefFoundError
1 5 6 Class java.lang.UnsupportedOperationException
}
SourceFile: "HotSpotGraalManagement.java"
NestHost: org.graalvm.compiler.hotspot.management.HotSpotGraalManagement
InnerClasses:
final RegistrationThread = org.graalvm.compiler.hotspot.management.HotSpotGraalManagement$RegistrationThread of org.graalvm.compiler.hotspot.management.HotSpotGraalManagement