final class org.jruby.runtime.load.LoadService$RequireLocks
  minor version: 0
  major version: 59
  flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
  this_class: org.jruby.runtime.load.LoadService$RequireLocks
  super_class: java.lang.Object
{
  private final java.util.concurrent.ConcurrentHashMap<java.lang.String, java.util.concurrent.locks.ReentrantLock> pool;
    descriptor: Ljava/util/concurrent/ConcurrentHashMap;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/concurrent/ConcurrentHashMap<Ljava/lang/String;Ljava/util/concurrent/locks/ReentrantLock;>;

  final org.jruby.runtime.load.LoadService this$0;
    descriptor: Lorg/jruby/runtime/load/LoadService;
    flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC

  static final boolean $assertionsDisabled;
    descriptor: Z
    flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 417
            ldc Lorg/jruby/runtime/load/LoadService;
            invokevirtual java.lang.Class.desiredAssertionStatus:()Z
            ifne 1
            iconst_1
            goto 2
      StackMap locals:
      StackMap stack:
         1: iconst_0
      StackMap locals:
      StackMap stack: int
         2: putstatic org.jruby.runtime.load.LoadService$RequireLocks.$assertionsDisabled:Z
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  private void <init>(org.jruby.runtime.load.LoadService);
    descriptor: (Lorg/jruby/runtime/load/LoadService;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=6, locals=2, args_size=2
        start local 0 // org.jruby.runtime.load.LoadService$RequireLocks this
         0: .line 422
            aload 0 /* this */
            aload 1
            putfield org.jruby.runtime.load.LoadService$RequireLocks.this$0:Lorg/jruby/runtime/load/LoadService;
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 423
            aload 0 /* this */
            new java.util.concurrent.ConcurrentHashMap
            dup
            bipush 8
            ldc 0.75
            iconst_2
            invokespecial java.util.concurrent.ConcurrentHashMap.<init>:(IFI)V
            putfield org.jruby.runtime.load.LoadService$RequireLocks.pool:Ljava/util/concurrent/ConcurrentHashMap;
         2: .line 425
            return
        end local 0 // org.jruby.runtime.load.LoadService$RequireLocks this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lorg/jruby/runtime/load/LoadService$RequireLocks;
    MethodParameters:
        Name  Flags
      this$0  final

  private org.jruby.runtime.load.LoadService$LockResult lock(java.lang.String);
    descriptor: (Ljava/lang/String;)Lorg/jruby/runtime/load/LoadService$LockResult;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=4, args_size=2
        start local 0 // org.jruby.runtime.load.LoadService$RequireLocks this
        start local 1 // java.lang.String requireName
         0: .line 438
            aload 0 /* this */
            getfield org.jruby.runtime.load.LoadService$RequireLocks.pool:Ljava/util/concurrent/ConcurrentHashMap;
            aload 1 /* requireName */
            invokevirtual java.util.concurrent.ConcurrentHashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast java.util.concurrent.locks.ReentrantLock
            astore 2 /* lock */
        start local 2 // java.util.concurrent.locks.ReentrantLock lock
         1: .line 440
            aload 2 /* lock */
            ifnonnull 5
         2: .line 441
            new java.util.concurrent.locks.ReentrantLock
            dup
            invokespecial java.util.concurrent.locks.ReentrantLock.<init>:()V
            astore 3 /* newLock */
        start local 3 // java.util.concurrent.locks.ReentrantLock newLock
         3: .line 442
            aload 0 /* this */
            getfield org.jruby.runtime.load.LoadService$RequireLocks.pool:Ljava/util/concurrent/ConcurrentHashMap;
            aload 1 /* requireName */
            aload 3 /* newLock */
            invokevirtual java.util.concurrent.ConcurrentHashMap.putIfAbsent:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            checkcast java.util.concurrent.locks.ReentrantLock
            astore 2 /* lock */
         4: .line 443
            aload 2 /* lock */
            ifnonnull 5
            aload 3 /* newLock */
            astore 2 /* lock */
        end local 3 // java.util.concurrent.locks.ReentrantLock newLock
         5: .line 446
      StackMap locals: java.util.concurrent.locks.ReentrantLock
      StackMap stack:
            aload 2 /* lock */
            invokevirtual java.util.concurrent.locks.ReentrantLock.isHeldByCurrentThread:()Z
            ifeq 6
            getstatic org.jruby.runtime.load.LoadService$LockResult.CIRCULAR:Lorg/jruby/runtime/load/LoadService$LockResult;
            areturn
         6: .line 449
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.jruby.runtime.load.LoadService$RequireLocks.this$0:Lorg/jruby/runtime/load/LoadService;
            getfield org.jruby.runtime.load.LoadService.runtime:Lorg/jruby/Ruby;
            invokevirtual org.jruby.Ruby.getCurrentContext:()Lorg/jruby/runtime/ThreadContext;
            invokevirtual org.jruby.runtime.ThreadContext.getThread:()Lorg/jruby/RubyThread;
            invokevirtual org.jruby.RubyThread.enterSleep:()V
         7: .line 450
            aload 2 /* lock */
            invokevirtual java.util.concurrent.locks.ReentrantLock.lock:()V
         8: .line 451
            goto 12
      StackMap locals:
      StackMap stack: java.lang.Throwable
         9: astore 3
        10: .line 452
            aload 0 /* this */
            getfield org.jruby.runtime.load.LoadService$RequireLocks.this$0:Lorg/jruby/runtime/load/LoadService;
            getfield org.jruby.runtime.load.LoadService.runtime:Lorg/jruby/Ruby;
            invokevirtual org.jruby.Ruby.getCurrentContext:()Lorg/jruby/runtime/ThreadContext;
            invokevirtual org.jruby.runtime.ThreadContext.getThread:()Lorg/jruby/RubyThread;
            invokevirtual org.jruby.RubyThread.exitSleep:()V
        11: .line 453
            aload 3
            athrow
        12: .line 452
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.jruby.runtime.load.LoadService$RequireLocks.this$0:Lorg/jruby/runtime/load/LoadService;
            getfield org.jruby.runtime.load.LoadService.runtime:Lorg/jruby/Ruby;
            invokevirtual org.jruby.Ruby.getCurrentContext:()Lorg/jruby/runtime/ThreadContext;
            invokevirtual org.jruby.runtime.ThreadContext.getThread:()Lorg/jruby/RubyThread;
            invokevirtual org.jruby.RubyThread.exitSleep:()V
        13: .line 456
            getstatic org.jruby.runtime.load.LoadService$LockResult.LOCKED:Lorg/jruby/runtime/load/LoadService$LockResult;
            areturn
        end local 2 // java.util.concurrent.locks.ReentrantLock lock
        end local 1 // java.lang.String requireName
        end local 0 // org.jruby.runtime.load.LoadService$RequireLocks this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0   14     0         this  Lorg/jruby/runtime/load/LoadService$RequireLocks;
            0   14     1  requireName  Ljava/lang/String;
            1   14     2         lock  Ljava/util/concurrent/locks/ReentrantLock;
            3    5     3      newLock  Ljava/util/concurrent/locks/ReentrantLock;
      Exception table:
        from    to  target  type
           6     9       9  any
    MethodParameters:
             Name  Flags
      requireName  

  private void unlock(java.lang.String);
    descriptor: (Ljava/lang/String;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=3, args_size=2
        start local 0 // org.jruby.runtime.load.LoadService$RequireLocks this
        start local 1 // java.lang.String requireName
         0: .line 466
            aload 0 /* this */
            getfield org.jruby.runtime.load.LoadService$RequireLocks.pool:Ljava/util/concurrent/ConcurrentHashMap;
            aload 1 /* requireName */
            invokevirtual java.util.concurrent.ConcurrentHashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast java.util.concurrent.locks.ReentrantLock
            astore 2 /* lock */
        start local 2 // java.util.concurrent.locks.ReentrantLock lock
         1: .line 468
            aload 2 /* lock */
            ifnull 4
         2: .line 469
            getstatic org.jruby.runtime.load.LoadService$RequireLocks.$assertionsDisabled:Z
            ifne 3
            aload 2 /* lock */
            invokevirtual java.util.concurrent.locks.ReentrantLock.isHeldByCurrentThread:()Z
            ifne 3
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         3: .line 470
      StackMap locals: java.util.concurrent.locks.ReentrantLock
      StackMap stack:
            aload 2 /* lock */
            invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
         4: .line 472
      StackMap locals:
      StackMap stack:
            return
        end local 2 // java.util.concurrent.locks.ReentrantLock lock
        end local 1 // java.lang.String requireName
        end local 0 // org.jruby.runtime.load.LoadService$RequireLocks this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0    5     0         this  Lorg/jruby/runtime/load/LoadService$RequireLocks;
            0    5     1  requireName  Ljava/lang/String;
            1    5     2         lock  Ljava/util/concurrent/locks/ReentrantLock;
    MethodParameters:
             Name  Flags
      requireName  
}
SourceFile: "LoadService.java"
NestHost: org.jruby.runtime.load.LoadService
InnerClasses:
  final LockResult = org.jruby.runtime.load.LoadService$LockResult of org.jruby.runtime.load.LoadService
  private final RequireLocks = org.jruby.runtime.load.LoadService$RequireLocks of org.jruby.runtime.load.LoadService