class org.graalvm.compiler.hotspot.test.ReservedStackAccessTest$ReentrantLockTest
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: org.graalvm.compiler.hotspot.test.ReservedStackAccessTest$ReentrantLockTest
  super_class: java.lang.Object
{
  private java.util.concurrent.locks.ReentrantLock[] lockArray;
    descriptor: [Ljava/util/concurrent/locks/ReentrantLock;
    flags: (0x0002) ACC_PRIVATE

  private static final int LOCK_ARRAY_SIZE;
    descriptor: I
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 8192

  private boolean stackOverflowErrorReceived;
    descriptor: Z
    flags: (0x0002) ACC_PRIVATE

  java.lang.StackOverflowError soe;
    descriptor: Ljava/lang/StackOverflowError;
    flags: (0x0000) 

  int index;
    descriptor: I
    flags: (0x0000) 

  void <init>();
    descriptor: ()V
    flags: (0x0000) 
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.graalvm.compiler.hotspot.test.ReservedStackAccessTest$ReentrantLockTest this
         0: .line 91
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 100
            aload 0 /* this */
            aconst_null
            putfield org.graalvm.compiler.hotspot.test.ReservedStackAccessTest$ReentrantLockTest.soe:Ljava/lang/StackOverflowError;
         2: .line 101
            aload 0 /* this */
            iconst_m1
            putfield org.graalvm.compiler.hotspot.test.ReservedStackAccessTest$ReentrantLockTest.index:I
         3: .line 91
            return
        end local 0 // org.graalvm.compiler.hotspot.test.ReservedStackAccessTest$ReentrantLockTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lorg/graalvm/compiler/hotspot/test/ReservedStackAccessTest$ReentrantLockTest;

  public void initialize();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=2, args_size=1
        start local 0 // org.graalvm.compiler.hotspot.test.ReservedStackAccessTest$ReentrantLockTest this
         0: .line 104
            aload 0 /* this */
            sipush 8192
            anewarray java.util.concurrent.locks.ReentrantLock
            putfield org.graalvm.compiler.hotspot.test.ReservedStackAccessTest$ReentrantLockTest.lockArray:[Ljava/util/concurrent/locks/ReentrantLock;
         1: .line 105
            iconst_0
            istore 1 /* i */
        start local 1 // int i
         2: goto 5
         3: .line 106
      StackMap locals: int
      StackMap stack:
            aload 0 /* this */
            getfield org.graalvm.compiler.hotspot.test.ReservedStackAccessTest$ReentrantLockTest.lockArray:[Ljava/util/concurrent/locks/ReentrantLock;
            iload 1 /* i */
            new java.util.concurrent.locks.ReentrantLock
            dup
            invokespecial java.util.concurrent.locks.ReentrantLock.<init>:()V
            aastore
         4: .line 105
            iinc 1 /* i */ 1
      StackMap locals:
      StackMap stack:
         5: iload 1 /* i */
            sipush 8192
            if_icmplt 3
        end local 1 // int i
         6: .line 108
            aload 0 /* this */
            iconst_0
            putfield org.graalvm.compiler.hotspot.test.ReservedStackAccessTest$ReentrantLockTest.stackOverflowErrorReceived:Z
         7: .line 109
            return
        end local 0 // org.graalvm.compiler.hotspot.test.ReservedStackAccessTest$ReentrantLockTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    8     0  this  Lorg/graalvm/compiler/hotspot/test/ReservedStackAccessTest$ReentrantLockTest;
            2    6     1     i  I

  public java.lang.String getResult();
    descriptor: ()Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=3, args_size=1
        start local 0 // org.graalvm.compiler.hotspot.test.ReservedStackAccessTest$ReentrantLockTest this
         0: .line 112
            aload 0 /* this */
            getfield org.graalvm.compiler.hotspot.test.ReservedStackAccessTest$ReentrantLockTest.stackOverflowErrorReceived:Z
            ifne 2
         1: .line 113
            ldc "ERROR: Not conclusive test: no StackOverflowError received"
            areturn
         2: .line 115
      StackMap locals:
      StackMap stack:
            iconst_0
            istore 1 /* i */
        start local 1 // int i
         3: goto 12
         4: .line 116
      StackMap locals: int
      StackMap stack:
            aload 0 /* this */
            getfield org.graalvm.compiler.hotspot.test.ReservedStackAccessTest$ReentrantLockTest.lockArray:[Ljava/util/concurrent/locks/ReentrantLock;
            iload 1 /* i */
            aaload
            invokevirtual java.util.concurrent.locks.ReentrantLock.isLocked:()Z
            ifeq 11
         5: .line 117
            aload 0 /* this */
            getfield org.graalvm.compiler.hotspot.test.ReservedStackAccessTest$ReentrantLockTest.lockArray:[Ljava/util/concurrent/locks/ReentrantLock;
            iload 1 /* i */
            aaload
            invokevirtual java.util.concurrent.locks.ReentrantLock.isHeldByCurrentThread:()Z
            ifne 11
         6: .line 118
            new java.lang.StringBuilder
            dup
            invokespecial java.lang.StringBuilder.<init>:()V
            astore 2 /* s */
        start local 2 // java.lang.StringBuilder s
         7: .line 119
            aload 2 /* s */
            ldc "FAILED: ReentrantLock "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            pop
         8: .line 120
            aload 2 /* s */
            iload 1 /* i */
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            pop
         9: .line 121
            aload 2 /* s */
            ldc " looks corrupted"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            pop
        10: .line 122
            aload 2 /* s */
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            areturn
        end local 2 // java.lang.StringBuilder s
        11: .line 115
      StackMap locals:
      StackMap stack:
            iinc 1 /* i */ 1
      StackMap locals:
      StackMap stack:
        12: iload 1 /* i */
            sipush 8192
            if_icmplt 4
        end local 1 // int i
        13: .line 126
            ldc "PASSED"
            areturn
        end local 0 // org.graalvm.compiler.hotspot.test.ReservedStackAccessTest$ReentrantLockTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   14     0  this  Lorg/graalvm/compiler/hotspot/test/ReservedStackAccessTest$ReentrantLockTest;
            3   13     1     i  I
            7   11     2     s  Ljava/lang/StringBuilder;

  public void run();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=1
        start local 0 // org.graalvm.compiler.hotspot.test.ReservedStackAccessTest$ReentrantLockTest this
         0: .line 131
            aload 0 /* this */
            iconst_0
            invokevirtual org.graalvm.compiler.hotspot.test.ReservedStackAccessTest$ReentrantLockTest.lockAndCall:(I)V
         1: .line 132
            goto 5
      StackMap locals:
      StackMap stack: java.lang.StackOverflowError
         2: astore 1 /* e */
        start local 1 // java.lang.StackOverflowError e
         3: .line 133
            aload 0 /* this */
            aload 1 /* e */
            putfield org.graalvm.compiler.hotspot.test.ReservedStackAccessTest$ReentrantLockTest.soe:Ljava/lang/StackOverflowError;
         4: .line 134
            aload 0 /* this */
            iconst_1
            putfield org.graalvm.compiler.hotspot.test.ReservedStackAccessTest$ReentrantLockTest.stackOverflowErrorReceived:Z
        end local 1 // java.lang.StackOverflowError e
         5: .line 136
      StackMap locals:
      StackMap stack:
            return
        end local 0 // org.graalvm.compiler.hotspot.test.ReservedStackAccessTest$ReentrantLockTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    6     0  this  Lorg/graalvm/compiler/hotspot/test/ReservedStackAccessTest$ReentrantLockTest;
            3    5     1     e  Ljava/lang/StackOverflowError;
      Exception table:
        from    to  target  type
           0     1       2  Class java.lang.StackOverflowError

  private void lockAndCall(int);
    descriptor: (I)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // org.graalvm.compiler.hotspot.test.ReservedStackAccessTest$ReentrantLockTest this
        start local 1 // int i
         0: .line 139
            aload 0 /* this */
            iload 1 /* i */
            putfield org.graalvm.compiler.hotspot.test.ReservedStackAccessTest$ReentrantLockTest.index:I
         1: .line 140
            iload 1 /* i */
            sipush 8192
            if_icmpge 4
         2: .line 141
            aload 0 /* this */
            getfield org.graalvm.compiler.hotspot.test.ReservedStackAccessTest$ReentrantLockTest.lockArray:[Ljava/util/concurrent/locks/ReentrantLock;
            iload 1 /* i */
            aaload
            invokevirtual java.util.concurrent.locks.ReentrantLock.lock:()V
         3: .line 142
            aload 0 /* this */
            iload 1 /* i */
            iconst_1
            iadd
            invokevirtual org.graalvm.compiler.hotspot.test.ReservedStackAccessTest$ReentrantLockTest.lockAndCall:(I)V
         4: .line 144
      StackMap locals:
      StackMap stack:
            return
        end local 1 // int i
        end local 0 // org.graalvm.compiler.hotspot.test.ReservedStackAccessTest$ReentrantLockTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Lorg/graalvm/compiler/hotspot/test/ReservedStackAccessTest$ReentrantLockTest;
            0    5     1     i  I
    MethodParameters:
      Name  Flags
      i     
}
SourceFile: "ReservedStackAccessTest.java"
NestHost: org.graalvm.compiler.hotspot.test.ReservedStackAccessTest
InnerClasses:
  ReentrantLockTest = org.graalvm.compiler.hotspot.test.ReservedStackAccessTest$ReentrantLockTest of org.graalvm.compiler.hotspot.test.ReservedStackAccessTest