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 93
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 102
            aload 0 /* this */
            aconst_null
            putfield org.graalvm.compiler.hotspot.test.ReservedStackAccessTest$ReentrantLockTest.soe:Ljava/lang/StackOverflowError;
         2: .line 103
            aload 0 /* this */
            iconst_m1
            putfield org.graalvm.compiler.hotspot.test.ReservedStackAccessTest$ReentrantLockTest.index:I
         3: .line 93
            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 106
            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 107
            iconst_0
            istore 1 /* i */
        start local 1 // int i
         2: goto 5
         3: .line 108
      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 107
            iinc 1 /* i */ 1
      StackMap locals:
      StackMap stack:
         5: iload 1 /* i */
            sipush 8192
            if_icmplt 3
        end local 1 // int i
         6: .line 110
            aload 0 /* this */
            iconst_0
            putfield org.graalvm.compiler.hotspot.test.ReservedStackAccessTest$ReentrantLockTest.stackOverflowErrorReceived:Z
         7: .line 111
            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 114
            aload 0 /* this */
            getfield org.graalvm.compiler.hotspot.test.ReservedStackAccessTest$ReentrantLockTest.stackOverflowErrorReceived:Z
            ifne 2
         1: .line 115
            ldc "ERROR: Not conclusive test: no StackOverflowError received"
            areturn
         2: .line 117
      StackMap locals:
      StackMap stack:
            iconst_0
            istore 1 /* i */
        start local 1 // int i
         3: goto 12
         4: .line 118
      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 119
            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 120
            new java.lang.StringBuilder
            dup
            invokespecial java.lang.StringBuilder.<init>:()V
            astore 2 /* s */
        start local 2 // java.lang.StringBuilder s
         7: .line 121
            aload 2 /* s */
            ldc "FAILED: ReentrantLock "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            pop
         8: .line 122
            aload 2 /* s */
            iload 1 /* i */
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            pop
         9: .line 123
            aload 2 /* s */
            ldc " looks corrupted"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            pop
        10: .line 124
            aload 2 /* s */
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            areturn
        end local 2 // java.lang.StringBuilder s
        11: .line 117
      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 128
            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 133
            aload 0 /* this */
            iconst_0
            invokevirtual org.graalvm.compiler.hotspot.test.ReservedStackAccessTest$ReentrantLockTest.lockAndCall:(I)V
         1: .line 134
            goto 5
      StackMap locals:
      StackMap stack: java.lang.StackOverflowError
         2: astore 1 /* e */
        start local 1 // java.lang.StackOverflowError e
         3: .line 135
            aload 0 /* this */
            aload 1 /* e */
            putfield org.graalvm.compiler.hotspot.test.ReservedStackAccessTest$ReentrantLockTest.soe:Ljava/lang/StackOverflowError;
         4: .line 136
            aload 0 /* this */
            iconst_1
            putfield org.graalvm.compiler.hotspot.test.ReservedStackAccessTest$ReentrantLockTest.stackOverflowErrorReceived:Z
        end local 1 // java.lang.StackOverflowError e
         5: .line 138
      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 141
            aload 0 /* this */
            iload 1 /* i */
            putfield org.graalvm.compiler.hotspot.test.ReservedStackAccessTest$ReentrantLockTest.index:I
         1: .line 142
            iload 1 /* i */
            sipush 8192
            if_icmpge 4
         2: .line 143
            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 144
            aload 0 /* this */
            iload 1 /* i */
            iconst_1
            iadd
            invokevirtual org.graalvm.compiler.hotspot.test.ReservedStackAccessTest$ReentrantLockTest.lockAndCall:(I)V
         4: .line 146
      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