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 // org.graalvm.compiler.hotspot.management.HotSpotGraalManagement$RegistrationThread this
         0: .line 84
            aload 0 /* this */
            ldc "HotSpotGraalManagement Bean Registration"
            invokespecial java.lang.Thread.<init>:(Ljava/lang/String;)V
         1: .line 85
            aload 0 /* this */
            iconst_1
            invokevirtual org.graalvm.compiler.hotspot.management.HotSpotGraalManagement$RegistrationThread.setPriority:(I)V
         2: .line 86
            aload 0 /* this */
            iconst_1
            invokevirtual org.graalvm.compiler.hotspot.management.HotSpotGraalManagement$RegistrationThread.setDaemon:(Z)V
         3: .line 87
            aload 0 /* this */
            invokevirtual org.graalvm.compiler.hotspot.management.HotSpotGraalManagement$RegistrationThread.start:()V
         4: .line 88
            return
        end local 0 // org.graalvm.compiler.hotspot.management.HotSpotGraalManagement$RegistrationThread this
      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 // org.graalvm.compiler.hotspot.management.HotSpotGraalManagement$RegistrationThread this
        start local 1 // org.graalvm.compiler.hotspot.management.HotSpotGraalManagement e
         0: .line 100
            aload 0 /* this */
            getfield org.graalvm.compiler.hotspot.management.HotSpotGraalManagement$RegistrationThread.deferred:Lorg/graalvm/compiler/hotspot/management/HotSpotGraalManagement;
            ifnull 2
         1: .line 101
            aload 1 /* e */
            aload 0 /* this */
            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: .line 103
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* e */
            putfield org.graalvm.compiler.hotspot.management.HotSpotGraalManagement$RegistrationThread.deferred:Lorg/graalvm/compiler/hotspot/management/HotSpotGraalManagement;
         3: .line 107
            aload 0 /* this */
            invokevirtual java.lang.Object.notify:()V
         4: .line 108
            return
        end local 1 // org.graalvm.compiler.hotspot.management.HotSpotGraalManagement e
        end local 0 // org.graalvm.compiler.hotspot.management.HotSpotGraalManagement$RegistrationThread this
      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 // org.graalvm.compiler.hotspot.management.HotSpotGraalManagement$RegistrationThread this
         0: .line 114
            aload 0 /* this */
            getfield org.graalvm.compiler.hotspot.management.HotSpotGraalManagement$RegistrationThread.deferred:Lorg/graalvm/compiler/hotspot/management/HotSpotGraalManagement;
            astore 1 /* m */
        start local 1 // org.graalvm.compiler.hotspot.management.HotSpotGraalManagement m
         1: goto 11
         2: .line 115
      StackMap locals: org.graalvm.compiler.hotspot.management.HotSpotGraalManagement
      StackMap stack:
            aload 1 /* m */
            getfield org.graalvm.compiler.hotspot.management.HotSpotGraalManagement.bean:Lorg/graalvm/compiler/hotspot/management/HotSpotGraalRuntimeMBean;
            astore 2 /* bean */
        start local 2 // org.graalvm.compiler.hotspot.management.HotSpotGraalRuntimeMBean bean
         3: .line 116
            aload 1 /* m */
            getfield org.graalvm.compiler.hotspot.management.HotSpotGraalManagement.needsRegistration:Z
            ifeq 10
            aload 2 /* bean */
            ifnull 10
         4: .line 118
            aload 0 /* this */
            getfield org.graalvm.compiler.hotspot.management.HotSpotGraalManagement$RegistrationThread.platformMBeanServer:Ljavax/management/MBeanServer;
            aload 2 /* bean */
            aload 2 /* bean */
            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: .line 119
            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 /* e */
        start local 3 // javax.management.JMException e
         7: .line 120
            aload 3 /* e */
            getstatic org.graalvm.compiler.debug.TTY.out:Ljava/io/PrintStream;
            invokevirtual javax.management.JMException.printStackTrace:(Ljava/io/PrintStream;)V
         8: .line 122
            aload 1 /* m */
            aconst_null
            putfield org.graalvm.compiler.hotspot.management.HotSpotGraalManagement.bean:Lorg/graalvm/compiler/hotspot/management/HotSpotGraalRuntimeMBean;
        end local 3 // javax.management.JMException e
         9: .line 124
      StackMap locals:
      StackMap stack:
            aload 1 /* m */
            iconst_0
            putfield org.graalvm.compiler.hotspot.management.HotSpotGraalManagement.needsRegistration:Z
        end local 2 // org.graalvm.compiler.hotspot.management.HotSpotGraalRuntimeMBean bean
        10: .line 114
      StackMap locals:
      StackMap stack:
            aload 1 /* m */
            getfield org.graalvm.compiler.hotspot.management.HotSpotGraalManagement.nextDeferred:Lorg/graalvm/compiler/hotspot/management/HotSpotGraalManagement;
            astore 1 /* m */
      StackMap locals:
      StackMap stack:
        11: aload 1 /* m */
            ifnonnull 2
        end local 1 // org.graalvm.compiler.hotspot.management.HotSpotGraalManagement m
        12: .line 127
            aload 0 /* this */
            aconst_null
            putfield org.graalvm.compiler.hotspot.management.HotSpotGraalManagement$RegistrationThread.deferred:Lorg/graalvm/compiler/hotspot/management/HotSpotGraalManagement;
        13: .line 128
            return
        end local 0 // org.graalvm.compiler.hotspot.management.HotSpotGraalManagement$RegistrationThread this
      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 // org.graalvm.compiler.hotspot.management.HotSpotGraalManagement$RegistrationThread this
         0: .line 134
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            dup
            astore 1
            monitorenter
         1: .line 136
            goto 3
         2: .line 137
      StackMap locals: org.graalvm.compiler.hotspot.management.HotSpotGraalManagement$RegistrationThread
      StackMap stack:
            aload 0 /* this */
            invokevirtual java.lang.Object.wait:()V
         3: .line 136
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.graalvm.compiler.hotspot.management.HotSpotGraalManagement$RegistrationThread.deferred:Lorg/graalvm/compiler/hotspot/management/HotSpotGraalManagement;
            ifnull 2
         4: .line 134
            aload 1
            monitorexit
         5: goto 8
      StackMap locals:
      StackMap stack: java.lang.Throwable
         6: aload 1
            monitorexit
         7: athrow
         8: .line 140
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual org.graalvm.compiler.hotspot.management.HotSpotGraalManagement$RegistrationThread.poll:()V
         9: .line 141
            ldc 2000
            invokestatic java.lang.Thread.sleep:(J)V
        10: .line 142
            goto 0
      StackMap locals:
      StackMap stack: java.lang.InterruptedException
        11: astore 1 /* e */
        start local 1 // java.lang.InterruptedException e
        12: .line 144
            aload 1 /* e */
            getstatic org.graalvm.compiler.debug.TTY.out:Ljava/io/PrintStream;
            invokevirtual java.lang.InterruptedException.printStackTrace:(Ljava/io/PrintStream;)V
        end local 1 // java.lang.InterruptedException e
        13: .line 132
            goto 0
        end local 0 // org.graalvm.compiler.hotspot.management.HotSpotGraalManagement$RegistrationThread this
      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 // org.graalvm.compiler.hotspot.management.HotSpotGraalManagement$RegistrationThread this
         0: .line 153
            aload 0 /* this */
            getfield org.graalvm.compiler.hotspot.management.HotSpotGraalManagement$RegistrationThread.platformMBeanServer:Ljavax/management/MBeanServer;
            ifnonnull 9
         1: .line 155
            aconst_null
            invokestatic javax.management.MBeanServerFactory.findMBeanServer:(Ljava/lang/String;)Ljava/util/ArrayList;
            astore 1 /* servers */
        start local 1 // java.util.ArrayList servers
         2: .line 156
            aload 1 /* servers */
            invokevirtual java.util.ArrayList.isEmpty:()Z
            ifne 10
         3: .line 157
            aload 0 /* this */
            invokestatic java.lang.management.ManagementFactory.getPlatformMBeanServer:()Ljavax/management/MBeanServer;
            putfield org.graalvm.compiler.hotspot.management.HotSpotGraalManagement$RegistrationThread.platformMBeanServer:Ljavax/management/MBeanServer;
         4: .line 158
            aload 0 /* this */
            invokevirtual org.graalvm.compiler.hotspot.management.HotSpotGraalManagement$RegistrationThread.process:()V
        end local 1 // java.util.ArrayList servers
         5: .line 160
            goto 10
      StackMap locals:
      StackMap stack: java.lang.Throwable
         6: pop
         7: .line 164
            aload 0 /* this */
            aconst_null
            putfield org.graalvm.compiler.hotspot.management.HotSpotGraalManagement$RegistrationThread.deferred:Lorg/graalvm/compiler/hotspot/management/HotSpotGraalManagement;
         8: .line 166
            goto 10
         9: .line 167
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual org.graalvm.compiler.hotspot.management.HotSpotGraalManagement$RegistrationThread.process:()V
        10: .line 169
      StackMap locals:
      StackMap stack:
            return
        end local 0 // org.graalvm.compiler.hotspot.management.HotSpotGraalManagement$RegistrationThread this
      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