public class org.graalvm.compiler.hotspot.test.HotSpotGraalManagementTest
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.graalvm.compiler.hotspot.test.HotSpotGraalManagementTest
  super_class: java.lang.Object
{
  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=3, locals=0, args_size=0
         0: .line 73
            new java.lang.StringBuilder
            dup
            ldc Lorg/graalvm/compiler/hotspot/test/HotSpotGraalManagementTest;
            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;
            invokestatic java.lang.Boolean.getBoolean:(Ljava/lang/String;)Z
            putstatic org.graalvm.compiler.hotspot.test.HotSpotGraalManagementTest.DEBUG:Z
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=2, args_size=1
        start local 0 // org.graalvm.compiler.hotspot.test.HotSpotGraalManagementTest this
         0: .line 75
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 76
            ldc "random flipping of Graal options can cause havoc if Graal is being used as a JIT"
            invokestatic org.graalvm.compiler.hotspot.test.HotSpotGraalCompilerTest.assumeGraalIsNotJIT:(Ljava/lang/String;)V
         2: .line 79
            invokestatic java.lang.management.ManagementFactory.getThreadMXBean:()Ljava/lang/management/ThreadMXBean;
            pop
         3: .line 80
            aconst_null
            invokestatic javax.management.MBeanServerFactory.findMBeanServer:(Ljava/lang/String;)Ljava/util/ArrayList;
            pop
         4: .line 81
            goto 7
      StackMap locals: org.graalvm.compiler.hotspot.test.HotSpotGraalManagementTest
      StackMap stack: java.lang.LinkageError
         5: astore 1 /* e */
        start local 1 // java.lang.LinkageError e
         6: .line 82
            new org.junit.AssumptionViolatedException
            dup
            new java.lang.StringBuilder
            dup
            ldc "Management classes/module(s) not available: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 1 /* e */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial org.junit.AssumptionViolatedException.<init>:(Ljava/lang/String;)V
            athrow
        end local 1 // java.lang.LinkageError e
         7: .line 84
      StackMap locals:
      StackMap stack:
            return
        end local 0 // org.graalvm.compiler.hotspot.test.HotSpotGraalManagementTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    8     0  this  Lorg/graalvm/compiler/hotspot/test/HotSpotGraalManagementTest;
            6    7     1     e  Ljava/lang/LinkageError;
      Exception table:
        from    to  target  type
           2     4       5  Class java.lang.UnsatisfiedLinkError
           2     4       5  Class java.lang.NoClassDefFoundError

  public void registration();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=5, args_size=1
        start local 0 // org.graalvm.compiler.hotspot.test.HotSpotGraalManagementTest this
         0: .line 88
            invokestatic org.graalvm.compiler.api.test.Graal.getRuntime:()Lorg/graalvm/compiler/api/runtime/GraalRuntime;
            checkcast org.graalvm.compiler.hotspot.HotSpotGraalRuntime
            astore 1 /* runtime */
        start local 1 // org.graalvm.compiler.hotspot.HotSpotGraalRuntime runtime
         1: .line 89
            aload 1 /* runtime */
            invokevirtual org.graalvm.compiler.hotspot.HotSpotGraalRuntime.getManagement:()Lorg/graalvm/compiler/hotspot/HotSpotGraalManagementRegistration;
            astore 2 /* management */
        start local 2 // org.graalvm.compiler.hotspot.HotSpotGraalManagementRegistration management
         2: .line 90
            aload 2 /* management */
            ifnonnull 4
         3: .line 91
            return
         4: .line 94
      StackMap locals: org.graalvm.compiler.hotspot.HotSpotGraalRuntime org.graalvm.compiler.hotspot.HotSpotGraalManagementRegistration
      StackMap stack:
            invokestatic java.lang.management.ManagementFactory.getPlatformMBeanServer:()Ljavax/management/MBeanServer;
            astore 3 /* server */
        start local 3 // javax.management.MBeanServer server
         5: .line 97
            ldc "Now the bean thinks it is registered"
            aload 2 /* management */
            iconst_1
            invokeinterface org.graalvm.compiler.hotspot.HotSpotGraalManagementRegistration.poll:(Z)Ljava/lang/Object;
            checkcast javax.management.ObjectName
            dup
            astore 4 /* name */
        start local 4 // javax.management.ObjectName name
         6: invokestatic org.junit.Assert.assertNotNull:(Ljava/lang/String;Ljava/lang/Object;)V
         7: .line 99
            ldc "And the bean is found"
            aload 3 /* server */
            aload 4 /* name */
            invokeinterface javax.management.MBeanServer.getObjectInstance:(Ljavax/management/ObjectName;)Ljavax/management/ObjectInstance;
            invokestatic org.junit.Assert.assertNotNull:(Ljava/lang/String;Ljava/lang/Object;)V
         8: .line 100
            return
        end local 4 // javax.management.ObjectName name
        end local 3 // javax.management.MBeanServer server
        end local 2 // org.graalvm.compiler.hotspot.HotSpotGraalManagementRegistration management
        end local 1 // org.graalvm.compiler.hotspot.HotSpotGraalRuntime runtime
        end local 0 // org.graalvm.compiler.hotspot.test.HotSpotGraalManagementTest this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    9     0        this  Lorg/graalvm/compiler/hotspot/test/HotSpotGraalManagementTest;
            1    9     1     runtime  Lorg/graalvm/compiler/hotspot/HotSpotGraalRuntime;
            2    9     2  management  Lorg/graalvm/compiler/hotspot/HotSpotGraalManagementRegistration;
            5    9     3      server  Ljavax/management/MBeanServer;
            6    9     4        name  Ljavax/management/ObjectName;
    Exceptions:
      throws java.lang.Exception
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void readBeanInfo();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=7, locals=14, args_size=1
        start local 0 // org.graalvm.compiler.hotspot.test.HotSpotGraalManagementTest this
         0: .line 105
            ldc "Server is started"
            invokestatic java.lang.management.ManagementFactory.getPlatformMBeanServer:()Ljavax/management/MBeanServer;
            invokestatic org.junit.Assert.assertNotNull:(Ljava/lang/String;Ljava/lang/Object;)V
         1: .line 107
            invokestatic org.graalvm.compiler.api.test.Graal.getRuntime:()Lorg/graalvm/compiler/api/runtime/GraalRuntime;
            checkcast org.graalvm.compiler.hotspot.HotSpotGraalRuntime
            astore 1 /* runtime */
        start local 1 // org.graalvm.compiler.hotspot.HotSpotGraalRuntime runtime
         2: .line 108
            aload 1 /* runtime */
            invokevirtual org.graalvm.compiler.hotspot.HotSpotGraalRuntime.getManagement:()Lorg/graalvm/compiler/hotspot/HotSpotGraalManagementRegistration;
            astore 2 /* management */
        start local 2 // org.graalvm.compiler.hotspot.HotSpotGraalManagementRegistration management
         3: .line 109
            aload 2 /* management */
            ifnonnull 5
         4: .line 110
            return
         5: .line 114
      StackMap locals: org.graalvm.compiler.hotspot.HotSpotGraalRuntime org.graalvm.compiler.hotspot.HotSpotGraalManagementRegistration
      StackMap stack:
            ldc "Bean is registered"
            aload 2 /* management */
            iconst_1
            invokeinterface org.graalvm.compiler.hotspot.HotSpotGraalManagementRegistration.poll:(Z)Ljava/lang/Object;
            checkcast javax.management.ObjectName
            dup
            astore 3 /* mbeanName */
        start local 3 // javax.management.ObjectName mbeanName
         6: invokestatic org.junit.Assert.assertNotNull:(Ljava/lang/String;Ljava/lang/Object;)V
         7: .line 115
            invokestatic java.lang.management.ManagementFactory.getPlatformMBeanServer:()Ljavax/management/MBeanServer;
            astore 4 /* server */
        start local 4 // javax.management.MBeanServer server
         8: .line 117
            aload 4 /* server */
            aload 3 /* mbeanName */
            invokeinterface javax.management.MBeanServer.getObjectInstance:(Ljavax/management/ObjectName;)Ljavax/management/ObjectInstance;
            astore 5 /* bean */
        start local 5 // javax.management.ObjectInstance bean
         9: .line 118
            ldc "Bean is registered"
            aload 5 /* bean */
            invokestatic org.junit.Assert.assertNotNull:(Ljava/lang/String;Ljava/lang/Object;)V
        10: .line 119
            aload 4 /* server */
            aload 3 /* mbeanName */
            invokeinterface javax.management.MBeanServer.getMBeanInfo:(Ljavax/management/ObjectName;)Ljavax/management/MBeanInfo;
            astore 6 /* info */
        start local 6 // javax.management.MBeanInfo info
        11: .line 120
            ldc "Info is found"
            aload 6 /* info */
            invokestatic org.junit.Assert.assertNotNull:(Ljava/lang/String;Ljava/lang/Object;)V
        12: .line 122
            new javax.management.AttributeList
            dup
            invokespecial javax.management.AttributeList.<init>:()V
            astore 7 /* originalValues */
        start local 7 // javax.management.AttributeList originalValues
        13: .line 123
            new javax.management.AttributeList
            dup
            invokespecial javax.management.AttributeList.<init>:()V
            astore 8 /* newValues */
        start local 8 // javax.management.AttributeList newValues
        14: .line 124
            invokestatic org.graalvm.compiler.options.OptionsParser.getOptionsLoader:()Ljava/lang/Iterable;
            invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
            astore 10
            goto 20
      StackMap locals: org.graalvm.compiler.hotspot.test.HotSpotGraalManagementTest org.graalvm.compiler.hotspot.HotSpotGraalRuntime org.graalvm.compiler.hotspot.HotSpotGraalManagementRegistration javax.management.ObjectName javax.management.MBeanServer javax.management.ObjectInstance javax.management.MBeanInfo javax.management.AttributeList javax.management.AttributeList top java.util.Iterator
      StackMap stack:
        15: aload 10
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast org.graalvm.compiler.options.OptionDescriptors
            astore 9 /* set */
        start local 9 // org.graalvm.compiler.options.OptionDescriptors set
        16: .line 125
            aload 9 /* set */
            invokeinterface org.graalvm.compiler.options.OptionDescriptors.iterator:()Ljava/util/Iterator;
            astore 12
            goto 19
      StackMap locals: org.graalvm.compiler.hotspot.test.HotSpotGraalManagementTest org.graalvm.compiler.hotspot.HotSpotGraalRuntime org.graalvm.compiler.hotspot.HotSpotGraalManagementRegistration javax.management.ObjectName javax.management.MBeanServer javax.management.ObjectInstance javax.management.MBeanInfo javax.management.AttributeList javax.management.AttributeList org.graalvm.compiler.options.OptionDescriptors java.util.Iterator top java.util.Iterator
      StackMap stack:
        17: aload 12
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast org.graalvm.compiler.options.OptionDescriptor
            astore 11 /* option */
        start local 11 // org.graalvm.compiler.options.OptionDescriptor option
        18: .line 126
            aload 6 /* info */
            aload 3 /* mbeanName */
            aload 4 /* server */
            aload 1 /* runtime */
            aload 11 /* option */
            aload 8 /* newValues */
            aload 7 /* originalValues */
            invokestatic org.graalvm.compiler.hotspot.test.HotSpotGraalManagementTest$JunitShield.testOption:(Ljavax/management/MBeanInfo;Ljavax/management/ObjectName;Ljavax/management/MBeanServer;Lorg/graalvm/compiler/hotspot/HotSpotGraalRuntime;Lorg/graalvm/compiler/options/OptionDescriptor;Ljavax/management/AttributeList;Ljavax/management/AttributeList;)V
        end local 11 // org.graalvm.compiler.options.OptionDescriptor option
        19: .line 125
      StackMap locals:
      StackMap stack:
            aload 12
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 17
        end local 9 // org.graalvm.compiler.options.OptionDescriptors set
        20: .line 124
      StackMap locals: org.graalvm.compiler.hotspot.test.HotSpotGraalManagementTest org.graalvm.compiler.hotspot.HotSpotGraalRuntime org.graalvm.compiler.hotspot.HotSpotGraalManagementRegistration javax.management.ObjectName javax.management.MBeanServer javax.management.ObjectInstance javax.management.MBeanInfo javax.management.AttributeList javax.management.AttributeList top java.util.Iterator
      StackMap stack:
            aload 10
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 15
        21: .line 130
            aload 7 /* originalValues */
            invokevirtual javax.management.AttributeList.size:()I
            anewarray java.lang.String
            astore 9 /* attributeNames */
        start local 9 // java.lang.String[] attributeNames
        22: .line 131
            iconst_0
            istore 10 /* i */
        start local 10 // int i
        23: goto 26
        24: .line 132
      StackMap locals: org.graalvm.compiler.hotspot.test.HotSpotGraalManagementTest org.graalvm.compiler.hotspot.HotSpotGraalRuntime org.graalvm.compiler.hotspot.HotSpotGraalManagementRegistration javax.management.ObjectName javax.management.MBeanServer javax.management.ObjectInstance javax.management.MBeanInfo javax.management.AttributeList javax.management.AttributeList java.lang.String[] int
      StackMap stack:
            aload 9 /* attributeNames */
            iload 10 /* i */
            aload 7 /* originalValues */
            iload 10 /* i */
            invokevirtual javax.management.AttributeList.get:(I)Ljava/lang/Object;
            checkcast javax.management.Attribute
            invokevirtual javax.management.Attribute.getName:()Ljava/lang/String;
            aastore
        25: .line 131
            iinc 10 /* i */ 1
      StackMap locals:
      StackMap stack:
        26: iload 10 /* i */
            aload 9 /* attributeNames */
            arraylength
            if_icmplt 24
        end local 10 // int i
        27: .line 134
            aload 4 /* server */
            aload 3 /* mbeanName */
            aload 9 /* attributeNames */
            invokeinterface javax.management.MBeanServer.getAttributes:(Ljavax/management/ObjectName;[Ljava/lang/String;)Ljavax/management/AttributeList;
            astore 10 /* actualValues */
        start local 10 // javax.management.AttributeList actualValues
        28: .line 135
            aload 7 /* originalValues */
            invokevirtual javax.management.AttributeList.size:()I
            i2l
            aload 10 /* actualValues */
            invokevirtual javax.management.AttributeList.size:()I
            i2l
            invokestatic org.junit.Assert.assertEquals:(JJ)V
        29: .line 136
            iconst_0
            istore 11 /* i */
        start local 11 // int i
        30: goto 35
        31: .line 137
      StackMap locals: org.graalvm.compiler.hotspot.test.HotSpotGraalManagementTest org.graalvm.compiler.hotspot.HotSpotGraalRuntime org.graalvm.compiler.hotspot.HotSpotGraalManagementRegistration javax.management.ObjectName javax.management.MBeanServer javax.management.ObjectInstance javax.management.MBeanInfo javax.management.AttributeList javax.management.AttributeList java.lang.String[] javax.management.AttributeList int
      StackMap stack:
            aload 7 /* originalValues */
            iload 11 /* i */
            invokevirtual javax.management.AttributeList.get:(I)Ljava/lang/Object;
            checkcast javax.management.Attribute
            invokevirtual javax.management.Attribute.getValue:()Ljava/lang/Object;
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            astore 12 /* expect */
        start local 12 // java.lang.Object expect
        32: .line 138
            aload 10 /* actualValues */
            iload 11 /* i */
            invokevirtual javax.management.AttributeList.get:(I)Ljava/lang/Object;
            checkcast javax.management.Attribute
            invokevirtual javax.management.Attribute.getValue:()Ljava/lang/Object;
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            astore 13 /* actual */
        start local 13 // java.lang.Object actual
        33: .line 139
            aload 9 /* attributeNames */
            iload 11 /* i */
            aaload
            aload 12 /* expect */
            aload 13 /* actual */
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
        end local 13 // java.lang.Object actual
        end local 12 // java.lang.Object expect
        34: .line 136
            iinc 11 /* i */ 1
      StackMap locals:
      StackMap stack:
        35: iload 11 /* i */
            aload 9 /* attributeNames */
            arraylength
            if_icmplt 31
        end local 11 // int i
        36: .line 143
            aload 4 /* server */
            aload 3 /* mbeanName */
            aload 8 /* newValues */
            invokeinterface javax.management.MBeanServer.setAttributes:(Ljavax/management/ObjectName;Ljavax/management/AttributeList;)Ljavax/management/AttributeList;
            pop
        37: .line 144
            goto 41
      StackMap locals: org.graalvm.compiler.hotspot.test.HotSpotGraalManagementTest org.graalvm.compiler.hotspot.HotSpotGraalRuntime org.graalvm.compiler.hotspot.HotSpotGraalManagementRegistration javax.management.ObjectName javax.management.MBeanServer javax.management.ObjectInstance javax.management.MBeanInfo javax.management.AttributeList javax.management.AttributeList java.lang.String[] javax.management.AttributeList
      StackMap stack: java.lang.Throwable
        38: astore 11
        39: .line 145
            aload 4 /* server */
            aload 3 /* mbeanName */
            aload 7 /* originalValues */
            invokeinterface javax.management.MBeanServer.setAttributes:(Ljavax/management/ObjectName;Ljavax/management/AttributeList;)Ljavax/management/AttributeList;
            pop
        40: .line 146
            aload 11
            athrow
        41: .line 145
      StackMap locals:
      StackMap stack:
            aload 4 /* server */
            aload 3 /* mbeanName */
            aload 7 /* originalValues */
            invokeinterface javax.management.MBeanServer.setAttributes:(Ljavax/management/ObjectName;Ljavax/management/AttributeList;)Ljavax/management/AttributeList;
            pop
        42: .line 147
            return
        end local 10 // javax.management.AttributeList actualValues
        end local 9 // java.lang.String[] attributeNames
        end local 8 // javax.management.AttributeList newValues
        end local 7 // javax.management.AttributeList originalValues
        end local 6 // javax.management.MBeanInfo info
        end local 5 // javax.management.ObjectInstance bean
        end local 4 // javax.management.MBeanServer server
        end local 3 // javax.management.ObjectName mbeanName
        end local 2 // org.graalvm.compiler.hotspot.HotSpotGraalManagementRegistration management
        end local 1 // org.graalvm.compiler.hotspot.HotSpotGraalRuntime runtime
        end local 0 // org.graalvm.compiler.hotspot.test.HotSpotGraalManagementTest this
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0   43     0            this  Lorg/graalvm/compiler/hotspot/test/HotSpotGraalManagementTest;
            2   43     1         runtime  Lorg/graalvm/compiler/hotspot/HotSpotGraalRuntime;
            3   43     2      management  Lorg/graalvm/compiler/hotspot/HotSpotGraalManagementRegistration;
            6   43     3       mbeanName  Ljavax/management/ObjectName;
            8   43     4          server  Ljavax/management/MBeanServer;
            9   43     5            bean  Ljavax/management/ObjectInstance;
           11   43     6            info  Ljavax/management/MBeanInfo;
           13   43     7  originalValues  Ljavax/management/AttributeList;
           14   43     8       newValues  Ljavax/management/AttributeList;
           16   20     9             set  Lorg/graalvm/compiler/options/OptionDescriptors;
           18   19    11          option  Lorg/graalvm/compiler/options/OptionDescriptor;
           22   43     9  attributeNames  [Ljava/lang/String;
           23   27    10               i  I
           28   43    10    actualValues  Ljavax/management/AttributeList;
           30   36    11               i  I
           32   34    12          expect  Ljava/lang/Object;
           33   34    13          actual  Ljava/lang/Object;
      Exception table:
        from    to  target  type
          36    38      38  any
    Exceptions:
      throws java.lang.Exception
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  private static java.lang.String quotedStringValue(java.lang.Object);
    descriptor: (Ljava/lang/Object;)Ljava/lang/String;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // java.lang.Object optionValue
         0: .line 314
            aload 0 /* optionValue */
            iconst_1
            invokestatic org.graalvm.compiler.hotspot.test.HotSpotGraalManagementTest.stringValue:(Ljava/lang/Object;Z)Ljava/lang/String;
            areturn
        end local 0 // java.lang.Object optionValue
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0    1     0  optionValue  Ljava/lang/Object;
    MethodParameters:
             Name  Flags
      optionValue  

  private static java.lang.String unquotedStringValue(java.lang.Object);
    descriptor: (Ljava/lang/Object;)Ljava/lang/String;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // java.lang.Object optionValue
         0: .line 318
            aload 0 /* optionValue */
            iconst_0
            invokestatic org.graalvm.compiler.hotspot.test.HotSpotGraalManagementTest.stringValue:(Ljava/lang/Object;Z)Ljava/lang/String;
            areturn
        end local 0 // java.lang.Object optionValue
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0    1     0  optionValue  Ljava/lang/Object;
    MethodParameters:
             Name  Flags
      optionValue  

  private static java.lang.String stringValue(java.lang.Object, boolean);
    descriptor: (Ljava/lang/Object;Z)Ljava/lang/String;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // java.lang.Object optionValue
        start local 1 // boolean withQuoting
         0: .line 322
            aload 0 /* optionValue */
            ifnonnull 2
         1: .line 323
            ldc ""
            areturn
         2: .line 325
      StackMap locals:
      StackMap stack:
            iload 1 /* withQuoting */
            ifeq 4
         3: .line 326
            new java.lang.StringBuilder
            dup
            ldc "\""
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* optionValue */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            ldc "\""
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            areturn
         4: .line 328
      StackMap locals:
      StackMap stack:
            aload 0 /* optionValue */
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            areturn
        end local 1 // boolean withQuoting
        end local 0 // java.lang.Object optionValue
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0    5     0  optionValue  Ljava/lang/Object;
            0    5     1  withQuoting  Z
    MethodParameters:
             Name  Flags
      optionValue  
      withQuoting  

  private static java.lang.String quoted(java.lang.Object);
    descriptor: (Ljava/lang/Object;)Ljava/lang/String;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // java.lang.Object s
         0: .line 332
            new java.lang.StringBuilder
            dup
            ldc "\""
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* s */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            ldc "\""
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            areturn
        end local 0 // java.lang.Object s
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0     s  Ljava/lang/Object;
    MethodParameters:
      Name  Flags
      s     

  public void publicJmxApiOfGraalDumpOperation();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=6, locals=26, args_size=1
        start local 0 // org.graalvm.compiler.hotspot.test.HotSpotGraalManagementTest this
         0: .line 343
            ldc "Server is started"
            invokestatic java.lang.management.ManagementFactory.getPlatformMBeanServer:()Ljavax/management/MBeanServer;
            invokestatic org.junit.Assert.assertNotNull:(Ljava/lang/String;Ljava/lang/Object;)V
         1: .line 345
            invokestatic org.graalvm.compiler.api.test.Graal.getRuntime:()Lorg/graalvm/compiler/api/runtime/GraalRuntime;
            checkcast org.graalvm.compiler.hotspot.HotSpotGraalRuntime
            astore 1 /* runtime */
        start local 1 // org.graalvm.compiler.hotspot.HotSpotGraalRuntime runtime
         2: .line 346
            aload 1 /* runtime */
            invokevirtual org.graalvm.compiler.hotspot.HotSpotGraalRuntime.getManagement:()Lorg/graalvm/compiler/hotspot/HotSpotGraalManagementRegistration;
            astore 2 /* management */
        start local 2 // org.graalvm.compiler.hotspot.HotSpotGraalManagementRegistration management
         3: .line 347
            aload 2 /* management */
            ifnonnull 5
         4: .line 348
            return
         5: .line 352
      StackMap locals: org.graalvm.compiler.hotspot.HotSpotGraalRuntime org.graalvm.compiler.hotspot.HotSpotGraalManagementRegistration
      StackMap stack:
            ldc "Bean is registered"
            aload 2 /* management */
            iconst_1
            invokeinterface org.graalvm.compiler.hotspot.HotSpotGraalManagementRegistration.poll:(Z)Ljava/lang/Object;
            checkcast javax.management.ObjectName
            dup
            astore 3 /* mbeanName */
        start local 3 // javax.management.ObjectName mbeanName
         6: invokestatic org.junit.Assert.assertNotNull:(Ljava/lang/String;Ljava/lang/Object;)V
         7: .line 353
            invokestatic java.lang.management.ManagementFactory.getPlatformMBeanServer:()Ljavax/management/MBeanServer;
            astore 4 /* server */
        start local 4 // javax.management.MBeanServer server
         8: .line 355
            ldc "Domain name is used to lookup the beans by VisualVM"
            ldc "org.graalvm.compiler.hotspot"
            aload 3 /* mbeanName */
            invokevirtual javax.management.ObjectName.getDomain:()Ljava/lang/String;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
         9: .line 356
            ldc "type can be used to identify the Graal bean"
            ldc "HotSpotGraalRuntime_VM"
            aload 3 /* mbeanName */
            ldc "type"
            invokevirtual javax.management.ObjectName.getKeyProperty:(Ljava/lang/String;)Ljava/lang/String;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
        10: .line 358
            aload 4 /* server */
            aload 3 /* mbeanName */
            invokeinterface javax.management.MBeanServer.getObjectInstance:(Ljavax/management/ObjectName;)Ljavax/management/ObjectInstance;
            astore 5 /* bean */
        start local 5 // javax.management.ObjectInstance bean
        11: .line 359
            ldc "Bean is registered"
            aload 5 /* bean */
            invokestatic org.junit.Assert.assertNotNull:(Ljava/lang/String;Ljava/lang/Object;)V
        12: .line 361
            aload 4 /* server */
            aload 3 /* mbeanName */
            invokeinterface javax.management.MBeanServer.getMBeanInfo:(Ljavax/management/ObjectName;)Ljavax/management/MBeanInfo;
            astore 6 /* info */
        start local 6 // javax.management.MBeanInfo info
        13: .line 362
            ldc "Info is found"
            aload 6 /* info */
            invokestatic org.junit.Assert.assertNotNull:(Ljava/lang/String;Ljava/lang/Object;)V
        14: .line 364
            aload 6 /* info */
            invokevirtual javax.management.MBeanInfo.getOperations:()[Ljavax/management/MBeanOperationInfo;
            astore 7 /* arr */
        start local 7 // javax.management.MBeanOperationInfo[] arr
        15: .line 365
            aconst_null
            astore 8 /* dumpOp */
        start local 8 // javax.management.MBeanOperationInfo dumpOp
        16: .line 366
            iconst_0
            istore 9 /* dumpMethodCount */
        start local 9 // int dumpMethodCount
        17: .line 367
            iconst_0
            istore 10 /* i */
        start local 10 // int i
        18: goto 24
        19: .line 368
      StackMap locals: org.graalvm.compiler.hotspot.test.HotSpotGraalManagementTest org.graalvm.compiler.hotspot.HotSpotGraalRuntime org.graalvm.compiler.hotspot.HotSpotGraalManagementRegistration javax.management.ObjectName javax.management.MBeanServer javax.management.ObjectInstance javax.management.MBeanInfo javax.management.MBeanOperationInfo[] javax.management.MBeanOperationInfo int int
      StackMap stack:
            ldc "dumpMethod"
            aload 7 /* arr */
            iload 10 /* i */
            aaload
            invokevirtual javax.management.MBeanOperationInfo.getName:()Ljava/lang/String;
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 23
        20: .line 369
            aload 7 /* arr */
            iload 10 /* i */
            aaload
            invokevirtual javax.management.MBeanOperationInfo.getSignature:()[Ljavax/management/MBeanParameterInfo;
            arraylength
            iconst_3
            if_icmpne 22
        21: .line 370
            aload 7 /* arr */
            iload 10 /* i */
            aaload
            astore 8 /* dumpOp */
        22: .line 372
      StackMap locals:
      StackMap stack:
            iinc 9 /* dumpMethodCount */ 1
        23: .line 367
      StackMap locals:
      StackMap stack:
            iinc 10 /* i */ 1
      StackMap locals:
      StackMap stack:
        24: iload 10 /* i */
            aload 7 /* arr */
            arraylength
            if_icmplt 19
        end local 10 // int i
        25: .line 375
            ldc "Currently three overloads"
            ldc 3
            iload 9 /* dumpMethodCount */
            i2l
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/String;JJ)V
        26: .line 376
            ldc "three args variant (as used by VisualVM) found"
            aload 8 /* dumpOp */
            invokestatic org.junit.Assert.assertNotNull:(Ljava/lang/String;Ljava/lang/Object;)V
        27: .line 378
            ldc "DumpPath"
            aload 6 /* info */
            invokestatic org.graalvm.compiler.hotspot.test.HotSpotGraalManagementTest$JunitShield.findAttributeInfo:(Ljava/lang/String;Ljavax/management/MBeanInfo;)Ljavax/management/MBeanAttributeInfo;
            astore 10 /* dumpPath */
        start local 10 // javax.management.MBeanAttributeInfo dumpPath
        28: .line 379
            ldc "PrintGraphFile"
            aload 6 /* info */
            invokestatic org.graalvm.compiler.hotspot.test.HotSpotGraalManagementTest$JunitShield.findAttributeInfo:(Ljava/lang/String;Ljavax/management/MBeanInfo;)Ljavax/management/MBeanAttributeInfo;
            astore 11 /* printGraphFile */
        start local 11 // javax.management.MBeanAttributeInfo printGraphFile
        29: .line 380
            ldc "ShowDumpFiles"
            aload 6 /* info */
            invokestatic org.graalvm.compiler.hotspot.test.HotSpotGraalManagementTest$JunitShield.findAttributeInfo:(Ljava/lang/String;Ljavax/management/MBeanInfo;)Ljavax/management/MBeanAttributeInfo;
            astore 12 /* showDumpFiles */
        start local 12 // javax.management.MBeanAttributeInfo showDumpFiles
        30: .line 381
            ldc "MethodFilter"
            aload 6 /* info */
            invokestatic org.graalvm.compiler.hotspot.test.HotSpotGraalManagementTest$JunitShield.findAttributeInfo:(Ljava/lang/String;Ljavax/management/MBeanInfo;)Ljavax/management/MBeanAttributeInfo;
            astore 13 /* methodFilter */
        start local 13 // javax.management.MBeanAttributeInfo methodFilter
        31: .line 382
            aload 4 /* server */
            aload 3 /* mbeanName */
            aload 10 /* dumpPath */
            invokevirtual javax.management.MBeanAttributeInfo.getName:()Ljava/lang/String;
            invokeinterface javax.management.MBeanServer.getAttribute:(Ljavax/management/ObjectName;Ljava/lang/String;)Ljava/lang/Object;
            astore 14 /* originalDumpPath */
        start local 14 // java.lang.Object originalDumpPath
        32: .line 383
            aload 4 /* server */
            aload 3 /* mbeanName */
            aload 11 /* printGraphFile */
            invokevirtual javax.management.MBeanAttributeInfo.getName:()Ljava/lang/String;
            invokeinterface javax.management.MBeanServer.getAttribute:(Ljavax/management/ObjectName;Ljava/lang/String;)Ljava/lang/Object;
            astore 15 /* originalPrintGraphFile */
        start local 15 // java.lang.Object originalPrintGraphFile
        33: .line 384
            aload 4 /* server */
            aload 3 /* mbeanName */
            aload 12 /* showDumpFiles */
            invokevirtual javax.management.MBeanAttributeInfo.getName:()Ljava/lang/String;
            invokeinterface javax.management.MBeanServer.getAttribute:(Ljavax/management/ObjectName;Ljava/lang/String;)Ljava/lang/Object;
            astore 16 /* originalShowDumpFiles */
        start local 16 // java.lang.Object originalShowDumpFiles
        34: .line 385
            aload 4 /* server */
            aload 3 /* mbeanName */
            aload 13 /* methodFilter */
            invokevirtual javax.management.MBeanAttributeInfo.getName:()Ljava/lang/String;
            invokeinterface javax.management.MBeanServer.getAttribute:(Ljavax/management/ObjectName;Ljava/lang/String;)Ljava/lang/Object;
            astore 17 /* originalMethodFilter */
        start local 17 // java.lang.Object originalMethodFilter
        35: .line 386
            new java.io.File
            dup
            new java.lang.StringBuilder
            dup
            ldc Lorg/graalvm/compiler/hotspot/test/HotSpotGraalManagementTest;
            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 "_"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokestatic java.lang.System.currentTimeMillis:()J
            invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.io.File.<init>:(Ljava/lang/String;)V
            invokevirtual java.io.File.getAbsoluteFile:()Ljava/io/File;
            astore 18 /* tmpDir */
        start local 18 // java.io.File tmpDir
        36: .line 388
            aload 4 /* server */
            aload 3 /* mbeanName */
            new javax.management.Attribute
            dup
            aload 10 /* dumpPath */
            invokevirtual javax.management.MBeanAttributeInfo.getName:()Ljava/lang/String;
            aload 18 /* tmpDir */
            invokestatic org.graalvm.compiler.hotspot.test.HotSpotGraalManagementTest.quoted:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial javax.management.Attribute.<init>:(Ljava/lang/String;Ljava/lang/Object;)V
            invokeinterface javax.management.MBeanServer.setAttribute:(Ljavax/management/ObjectName;Ljavax/management/Attribute;)V
        37: .line 389
            aload 4 /* server */
            aload 3 /* mbeanName */
            new javax.management.Attribute
            dup
            aload 13 /* methodFilter */
            invokevirtual javax.management.MBeanAttributeInfo.getName:()Ljava/lang/String;
            ldc ""
            invokespecial javax.management.Attribute.<init>:(Ljava/lang/String;Ljava/lang/Object;)V
            invokeinterface javax.management.MBeanServer.setAttribute:(Ljavax/management/ObjectName;Ljavax/management/Attribute;)V
        38: .line 391
            aload 4 /* server */
            aload 3 /* mbeanName */
            new javax.management.Attribute
            dup
            aload 11 /* printGraphFile */
            invokevirtual javax.management.MBeanAttributeInfo.getName:()Ljava/lang/String;
            iconst_1
            invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
            invokespecial javax.management.Attribute.<init>:(Ljava/lang/String;Ljava/lang/Object;)V
            invokeinterface javax.management.MBeanServer.setAttribute:(Ljavax/management/ObjectName;Ljavax/management/Attribute;)V
        39: .line 392
            aload 4 /* server */
            aload 3 /* mbeanName */
            new javax.management.Attribute
            dup
            aload 12 /* showDumpFiles */
            invokevirtual javax.management.MBeanAttributeInfo.getName:()Ljava/lang/String;
            iconst_0
            invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
            invokespecial javax.management.Attribute.<init>:(Ljava/lang/String;Ljava/lang/Object;)V
            invokeinterface javax.management.MBeanServer.setAttribute:(Ljavax/management/ObjectName;Ljavax/management/Attribute;)V
        40: .line 393
            iconst_3
            anewarray java.lang.Object
            dup
            iconst_0
            ldc "java.util.Arrays"
            aastore
            dup
            iconst_1
            ldc "asList"
            aastore
            dup
            iconst_2
            ldc ":3"
            aastore
            astore 19 /* params */
        start local 19 // java.lang.Object[] params
        41: .line 395
            aload 4 /* server */
            aload 3 /* mbeanName */
            ldc "dumpMethod"
            aload 19 /* params */
            aconst_null
            invokeinterface javax.management.MBeanServer.invoke:(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object;
            pop
        42: .line 396
            iconst_0
            istore 20 /* found */
        start local 20 // boolean found
        43: .line 397
            ldc "[Arrays.asList(Object[])List].bgv"
            astore 21 /* expectedIgvDumpSuffix */
        start local 21 // java.lang.String expectedIgvDumpSuffix
        44: .line 398
            new java.lang.StringBuilder
            dup
            aload 18 /* tmpDir */
            invokevirtual java.io.File.toString:()Ljava/lang/String;
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc " was not created or is not a directory"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            aload 18 /* tmpDir */
            invokevirtual java.io.File.isDirectory:()Z
            invokestatic org.junit.Assert.assertTrue:(Ljava/lang/String;Z)V
        45: .line 399
            aload 18 /* tmpDir */
            invokevirtual java.io.File.list:()[Ljava/lang/String;
            invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
            astore 22 /* dumpPathEntries */
        start local 22 // java.util.List dumpPathEntries
        46: .line 400
            aload 22 /* dumpPathEntries */
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 24
            goto 50
      StackMap locals: org.graalvm.compiler.hotspot.test.HotSpotGraalManagementTest org.graalvm.compiler.hotspot.HotSpotGraalRuntime org.graalvm.compiler.hotspot.HotSpotGraalManagementRegistration javax.management.ObjectName javax.management.MBeanServer javax.management.ObjectInstance javax.management.MBeanInfo javax.management.MBeanOperationInfo[] javax.management.MBeanOperationInfo int javax.management.MBeanAttributeInfo javax.management.MBeanAttributeInfo javax.management.MBeanAttributeInfo javax.management.MBeanAttributeInfo java.lang.Object java.lang.Object java.lang.Object java.lang.Object java.io.File java.lang.Object[] int java.lang.String java.util.List top java.util.Iterator
      StackMap stack:
        47: aload 24
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast java.lang.String
            astore 23 /* entry */
        start local 23 // java.lang.String entry
        48: .line 401
            aload 23 /* entry */
            aload 21 /* expectedIgvDumpSuffix */
            invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
            ifeq 50
        49: .line 402
            iconst_1
            istore 20 /* found */
        end local 23 // java.lang.String entry
        50: .line 400
      StackMap locals:
      StackMap stack:
            aload 24
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 47
        51: .line 405
            iload 20 /* found */
            ifne 64
        52: .line 406
            ldc "Expected file ending with \"%s\" in %s but only found:%n%s"
            iconst_3
            anewarray java.lang.Object
            dup
            iconst_0
            aload 21 /* expectedIgvDumpSuffix */
            aastore
            dup
            iconst_1
            aload 18 /* tmpDir */
            aastore
            dup
            iconst_2
        53: .line 407
            aload 22 /* dumpPathEntries */
            invokeinterface java.util.List.stream:()Ljava/util/stream/Stream;
            invokestatic java.lang.System.lineSeparator:()Ljava/lang/String;
            invokestatic java.util.stream.Collectors.joining:(Ljava/lang/CharSequence;)Ljava/util/stream/Collector;
            invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
            aastore
        54: .line 406
            invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
            invokestatic org.junit.Assert.fail:(Ljava/lang/String;)V
        end local 22 // java.util.List dumpPathEntries
        end local 21 // java.lang.String expectedIgvDumpSuffix
        end local 20 // boolean found
        55: .line 409
            goto 64
      StackMap locals: org.graalvm.compiler.hotspot.test.HotSpotGraalManagementTest org.graalvm.compiler.hotspot.HotSpotGraalRuntime org.graalvm.compiler.hotspot.HotSpotGraalManagementRegistration javax.management.ObjectName javax.management.MBeanServer javax.management.ObjectInstance javax.management.MBeanInfo javax.management.MBeanOperationInfo[] javax.management.MBeanOperationInfo int javax.management.MBeanAttributeInfo javax.management.MBeanAttributeInfo javax.management.MBeanAttributeInfo javax.management.MBeanAttributeInfo java.lang.Object java.lang.Object java.lang.Object java.lang.Object java.io.File java.lang.Object[]
      StackMap stack: java.lang.Throwable
        56: astore 25
        57: .line 410
            aload 18 /* tmpDir */
            invokevirtual java.io.File.isDirectory:()Z
            ifeq 59
        58: .line 411
            aload 18 /* tmpDir */
            invokevirtual java.io.File.toPath:()Ljava/nio/file/Path;
            invokestatic org.graalvm.compiler.hotspot.test.HotSpotGraalManagementTest.deleteDirectory:(Ljava/nio/file/Path;)V
        59: .line 413
      StackMap locals: org.graalvm.compiler.hotspot.test.HotSpotGraalManagementTest org.graalvm.compiler.hotspot.HotSpotGraalRuntime org.graalvm.compiler.hotspot.HotSpotGraalManagementRegistration javax.management.ObjectName javax.management.MBeanServer javax.management.ObjectInstance javax.management.MBeanInfo javax.management.MBeanOperationInfo[] javax.management.MBeanOperationInfo int javax.management.MBeanAttributeInfo javax.management.MBeanAttributeInfo javax.management.MBeanAttributeInfo javax.management.MBeanAttributeInfo java.lang.Object java.lang.Object java.lang.Object java.lang.Object java.io.File java.lang.Object[] top top top top top java.lang.Throwable
      StackMap stack:
            aload 4 /* server */
            aload 3 /* mbeanName */
            new javax.management.Attribute
            dup
            aload 10 /* dumpPath */
            invokevirtual javax.management.MBeanAttributeInfo.getName:()Ljava/lang/String;
            aload 14 /* originalDumpPath */
            invokespecial javax.management.Attribute.<init>:(Ljava/lang/String;Ljava/lang/Object;)V
            invokeinterface javax.management.MBeanServer.setAttribute:(Ljavax/management/ObjectName;Ljavax/management/Attribute;)V
        60: .line 414
            aload 4 /* server */
            aload 3 /* mbeanName */
            new javax.management.Attribute
            dup
            aload 13 /* methodFilter */
            invokevirtual javax.management.MBeanAttributeInfo.getName:()Ljava/lang/String;
            aload 17 /* originalMethodFilter */
            invokespecial javax.management.Attribute.<init>:(Ljava/lang/String;Ljava/lang/Object;)V
            invokeinterface javax.management.MBeanServer.setAttribute:(Ljavax/management/ObjectName;Ljavax/management/Attribute;)V
        61: .line 415
            aload 4 /* server */
            aload 3 /* mbeanName */
            new javax.management.Attribute
            dup
            aload 11 /* printGraphFile */
            invokevirtual javax.management.MBeanAttributeInfo.getName:()Ljava/lang/String;
            aload 15 /* originalPrintGraphFile */
            invokespecial javax.management.Attribute.<init>:(Ljava/lang/String;Ljava/lang/Object;)V
            invokeinterface javax.management.MBeanServer.setAttribute:(Ljavax/management/ObjectName;Ljavax/management/Attribute;)V
        62: .line 416
            aload 4 /* server */
            aload 3 /* mbeanName */
            new javax.management.Attribute
            dup
            aload 12 /* showDumpFiles */
            invokevirtual javax.management.MBeanAttributeInfo.getName:()Ljava/lang/String;
            aload 16 /* originalShowDumpFiles */
            invokespecial javax.management.Attribute.<init>:(Ljava/lang/String;Ljava/lang/Object;)V
            invokeinterface javax.management.MBeanServer.setAttribute:(Ljavax/management/ObjectName;Ljavax/management/Attribute;)V
        63: .line 417
            aload 25
            athrow
        64: .line 410
      StackMap locals: org.graalvm.compiler.hotspot.test.HotSpotGraalManagementTest org.graalvm.compiler.hotspot.HotSpotGraalRuntime org.graalvm.compiler.hotspot.HotSpotGraalManagementRegistration javax.management.ObjectName javax.management.MBeanServer javax.management.ObjectInstance javax.management.MBeanInfo javax.management.MBeanOperationInfo[] javax.management.MBeanOperationInfo int javax.management.MBeanAttributeInfo javax.management.MBeanAttributeInfo javax.management.MBeanAttributeInfo javax.management.MBeanAttributeInfo java.lang.Object java.lang.Object java.lang.Object java.lang.Object java.io.File java.lang.Object[]
      StackMap stack:
            aload 18 /* tmpDir */
            invokevirtual java.io.File.isDirectory:()Z
            ifeq 66
        65: .line 411
            aload 18 /* tmpDir */
            invokevirtual java.io.File.toPath:()Ljava/nio/file/Path;
            invokestatic org.graalvm.compiler.hotspot.test.HotSpotGraalManagementTest.deleteDirectory:(Ljava/nio/file/Path;)V
        66: .line 413
      StackMap locals:
      StackMap stack:
            aload 4 /* server */
            aload 3 /* mbeanName */
            new javax.management.Attribute
            dup
            aload 10 /* dumpPath */
            invokevirtual javax.management.MBeanAttributeInfo.getName:()Ljava/lang/String;
            aload 14 /* originalDumpPath */
            invokespecial javax.management.Attribute.<init>:(Ljava/lang/String;Ljava/lang/Object;)V
            invokeinterface javax.management.MBeanServer.setAttribute:(Ljavax/management/ObjectName;Ljavax/management/Attribute;)V
        67: .line 414
            aload 4 /* server */
            aload 3 /* mbeanName */
            new javax.management.Attribute
            dup
            aload 13 /* methodFilter */
            invokevirtual javax.management.MBeanAttributeInfo.getName:()Ljava/lang/String;
            aload 17 /* originalMethodFilter */
            invokespecial javax.management.Attribute.<init>:(Ljava/lang/String;Ljava/lang/Object;)V
            invokeinterface javax.management.MBeanServer.setAttribute:(Ljavax/management/ObjectName;Ljavax/management/Attribute;)V
        68: .line 415
            aload 4 /* server */
            aload 3 /* mbeanName */
            new javax.management.Attribute
            dup
            aload 11 /* printGraphFile */
            invokevirtual javax.management.MBeanAttributeInfo.getName:()Ljava/lang/String;
            aload 15 /* originalPrintGraphFile */
            invokespecial javax.management.Attribute.<init>:(Ljava/lang/String;Ljava/lang/Object;)V
            invokeinterface javax.management.MBeanServer.setAttribute:(Ljavax/management/ObjectName;Ljavax/management/Attribute;)V
        69: .line 416
            aload 4 /* server */
            aload 3 /* mbeanName */
            new javax.management.Attribute
            dup
            aload 12 /* showDumpFiles */
            invokevirtual javax.management.MBeanAttributeInfo.getName:()Ljava/lang/String;
            aload 16 /* originalShowDumpFiles */
            invokespecial javax.management.Attribute.<init>:(Ljava/lang/String;Ljava/lang/Object;)V
            invokeinterface javax.management.MBeanServer.setAttribute:(Ljavax/management/ObjectName;Ljavax/management/Attribute;)V
        70: .line 418
            return
        end local 19 // java.lang.Object[] params
        end local 18 // java.io.File tmpDir
        end local 17 // java.lang.Object originalMethodFilter
        end local 16 // java.lang.Object originalShowDumpFiles
        end local 15 // java.lang.Object originalPrintGraphFile
        end local 14 // java.lang.Object originalDumpPath
        end local 13 // javax.management.MBeanAttributeInfo methodFilter
        end local 12 // javax.management.MBeanAttributeInfo showDumpFiles
        end local 11 // javax.management.MBeanAttributeInfo printGraphFile
        end local 10 // javax.management.MBeanAttributeInfo dumpPath
        end local 9 // int dumpMethodCount
        end local 8 // javax.management.MBeanOperationInfo dumpOp
        end local 7 // javax.management.MBeanOperationInfo[] arr
        end local 6 // javax.management.MBeanInfo info
        end local 5 // javax.management.ObjectInstance bean
        end local 4 // javax.management.MBeanServer server
        end local 3 // javax.management.ObjectName mbeanName
        end local 2 // org.graalvm.compiler.hotspot.HotSpotGraalManagementRegistration management
        end local 1 // org.graalvm.compiler.hotspot.HotSpotGraalRuntime runtime
        end local 0 // org.graalvm.compiler.hotspot.test.HotSpotGraalManagementTest this
      LocalVariableTable:
        Start  End  Slot                    Name  Signature
            0   71     0                    this  Lorg/graalvm/compiler/hotspot/test/HotSpotGraalManagementTest;
            2   71     1                 runtime  Lorg/graalvm/compiler/hotspot/HotSpotGraalRuntime;
            3   71     2              management  Lorg/graalvm/compiler/hotspot/HotSpotGraalManagementRegistration;
            6   71     3               mbeanName  Ljavax/management/ObjectName;
            8   71     4                  server  Ljavax/management/MBeanServer;
           11   71     5                    bean  Ljavax/management/ObjectInstance;
           13   71     6                    info  Ljavax/management/MBeanInfo;
           15   71     7                     arr  [Ljavax/management/MBeanOperationInfo;
           16   71     8                  dumpOp  Ljavax/management/MBeanOperationInfo;
           17   71     9         dumpMethodCount  I
           18   25    10                       i  I
           28   71    10                dumpPath  Ljavax/management/MBeanAttributeInfo;
           29   71    11          printGraphFile  Ljavax/management/MBeanAttributeInfo;
           30   71    12           showDumpFiles  Ljavax/management/MBeanAttributeInfo;
           31   71    13            methodFilter  Ljavax/management/MBeanAttributeInfo;
           32   71    14        originalDumpPath  Ljava/lang/Object;
           33   71    15  originalPrintGraphFile  Ljava/lang/Object;
           34   71    16   originalShowDumpFiles  Ljava/lang/Object;
           35   71    17    originalMethodFilter  Ljava/lang/Object;
           36   71    18                  tmpDir  Ljava/io/File;
           41   71    19                  params  [Ljava/lang/Object;
           43   55    20                   found  Z
           44   55    21   expectedIgvDumpSuffix  Ljava/lang/String;
           46   55    22         dumpPathEntries  Ljava/util/List<Ljava/lang/String;>;
           48   50    23                   entry  Ljava/lang/String;
      Exception table:
        from    to  target  type
          41    56      56  any
    Exceptions:
      throws java.lang.Exception
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  static void deleteDirectory(java.nio.file.Path);
    descriptor: (Ljava/nio/file/Path;)V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // java.nio.file.Path toDelete
         0: .line 421
            aload 0 /* toDelete */
            iconst_0
            anewarray java.nio.file.FileVisitOption
            invokestatic java.nio.file.Files.walk:(Ljava/nio/file/Path;[Ljava/nio/file/FileVisitOption;)Ljava/util/stream/Stream;
            invokestatic java.util.Comparator.reverseOrder:()Ljava/util/Comparator;
            invokeinterface java.util.stream.Stream.sorted:(Ljava/util/Comparator;)Ljava/util/stream/Stream;
            invokedynamic apply()Ljava/util/function/Function;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  (Ljava/lang/Object;)Ljava/lang/Object;
                  java/nio/file/Path.toFile()Ljava/io/File; (9 itf)
                  (Ljava/nio/file/Path;)Ljava/io/File;
            invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
            invokedynamic accept()Ljava/util/function/Consumer;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  (Ljava/lang/Object;)V
                  java/io/File.delete()Z (5)
                  (Ljava/io/File;)V
            invokeinterface java.util.stream.Stream.forEach:(Ljava/util/function/Consumer;)V
         1: .line 422
            return
        end local 0 // java.nio.file.Path toDelete
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    2     0  toDelete  Ljava/nio/file/Path;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
          Name  Flags
      toDelete  
}
SourceFile: "HotSpotGraalManagementTest.java"
NestMembers:
  org.graalvm.compiler.hotspot.test.HotSpotGraalManagementTest$JunitShield
InnerClasses:
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
  JunitShield = org.graalvm.compiler.hotspot.test.HotSpotGraalManagementTest$JunitShield of org.graalvm.compiler.hotspot.test.HotSpotGraalManagementTest