public class org.jruby.ext.thread.Mutex extends org.jruby.RubyObject implements org.jruby.runtime.marshal.DataType
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.jruby.ext.thread.Mutex
  super_class: org.jruby.RubyObject
{
  java.util.concurrent.locks.ReentrantLock lock;
    descriptor: Ljava/util/concurrent/locks/ReentrantLock;
    flags: (0x0000) 

  public static org.jruby.ext.thread.Mutex newInstance(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject[], org.jruby.runtime.Block);
    descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/ext/thread/Mutex;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=4, locals=5, args_size=4
        start local 0 // org.jruby.runtime.ThreadContext context
        start local 1 // org.jruby.runtime.builtin.IRubyObject recv
        start local 2 // org.jruby.runtime.builtin.IRubyObject[] args
        start local 3 // org.jruby.runtime.Block block
         0: .line 56
            new org.jruby.ext.thread.Mutex
            dup
            aload 0 /* context */
            getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
            aload 1 /* recv */
            checkcast org.jruby.RubyClass
            invokespecial org.jruby.ext.thread.Mutex.<init>:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;)V
            astore 4 /* result */
        start local 4 // org.jruby.ext.thread.Mutex result
         1: .line 57
            aload 4 /* result */
            aload 0 /* context */
            aload 2 /* args */
            aload 3 /* block */
            invokevirtual org.jruby.ext.thread.Mutex.callInit:(Lorg/jruby/runtime/ThreadContext;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)V
         2: .line 58
            aload 4 /* result */
            areturn
        end local 4 // org.jruby.ext.thread.Mutex result
        end local 3 // org.jruby.runtime.Block block
        end local 2 // org.jruby.runtime.builtin.IRubyObject[] args
        end local 1 // org.jruby.runtime.builtin.IRubyObject recv
        end local 0 // org.jruby.runtime.ThreadContext context
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    3     0  context  Lorg/jruby/runtime/ThreadContext;
            0    3     1     recv  Lorg/jruby/runtime/builtin/IRubyObject;
            0    3     2     args  [Lorg/jruby/runtime/builtin/IRubyObject;
            0    3     3    block  Lorg/jruby/runtime/Block;
            1    3     4   result  Lorg/jruby/ext/thread/Mutex;
    RuntimeVisibleAnnotations: 
      org.jruby.anno.JRubyMethod(name = {"new"}, rest = true, meta = true)
    MethodParameters:
         Name  Flags
      context  
      recv     
      args     
      block    

  public void <init>(org.jruby.Ruby, org.jruby.RubyClass);
    descriptor: (Lorg/jruby/Ruby;Lorg/jruby/RubyClass;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=3, args_size=3
        start local 0 // org.jruby.ext.thread.Mutex this
        start local 1 // org.jruby.Ruby runtime
        start local 2 // org.jruby.RubyClass type
         0: .line 62
            aload 0 /* this */
            aload 1 /* runtime */
            aload 2 /* type */
            invokespecial org.jruby.RubyObject.<init>:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;)V
         1: .line 52
            aload 0 /* this */
            new java.util.concurrent.locks.ReentrantLock
            dup
            invokespecial java.util.concurrent.locks.ReentrantLock.<init>:()V
            putfield org.jruby.ext.thread.Mutex.lock:Ljava/util/concurrent/locks/ReentrantLock;
         2: .line 63
            return
        end local 2 // org.jruby.RubyClass type
        end local 1 // org.jruby.Ruby runtime
        end local 0 // org.jruby.ext.thread.Mutex this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    3     0     this  Lorg/jruby/ext/thread/Mutex;
            0    3     1  runtime  Lorg/jruby/Ruby;
            0    3     2     type  Lorg/jruby/RubyClass;
    MethodParameters:
         Name  Flags
      runtime  
      type     

  public static void setup(org.jruby.Ruby);
    descriptor: (Lorg/jruby/Ruby;)V
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=5, locals=2, args_size=1
        start local 0 // org.jruby.Ruby runtime
         0: .line 66
            aload 0 /* runtime */
            invokevirtual org.jruby.Ruby.getThread:()Lorg/jruby/RubyClass;
            ldc "Mutex"
            aload 0 /* runtime */
            invokevirtual org.jruby.Ruby.getObject:()Lorg/jruby/RubyClass;
            new org.jruby.ext.thread.Mutex$1
            dup
            invokespecial org.jruby.ext.thread.Mutex$1.<init>:()V
            invokevirtual org.jruby.RubyClass.defineClassUnder:(Ljava/lang/String;Lorg/jruby/RubyClass;Lorg/jruby/runtime/ObjectAllocator;)Lorg/jruby/RubyClass;
            astore 1 /* cMutex */
        start local 1 // org.jruby.RubyClass cMutex
         1: .line 72
            aload 1 /* cMutex */
            ldc Lorg/jruby/ext/thread/Mutex;
            invokevirtual org.jruby.RubyClass.setReifiedClass:(Ljava/lang/Class;)V
         2: .line 73
            aload 1 /* cMutex */
            ldc Lorg/jruby/ext/thread/Mutex;
            invokevirtual org.jruby.RubyClass.defineAnnotatedMethods:(Ljava/lang/Class;)V
         3: .line 74
            aload 0 /* runtime */
            invokevirtual org.jruby.Ruby.getObject:()Lorg/jruby/RubyClass;
            ldc "Mutex"
            aload 1 /* cMutex */
            invokevirtual org.jruby.RubyClass.setConstant:(Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
            pop
         4: .line 75
            return
        end local 1 // org.jruby.RubyClass cMutex
        end local 0 // org.jruby.Ruby runtime
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    5     0  runtime  Lorg/jruby/Ruby;
            1    5     1   cMutex  Lorg/jruby/RubyClass;
    MethodParameters:
         Name  Flags
      runtime  

  public org.jruby.RubyBoolean locked_p(org.jruby.runtime.ThreadContext);
    descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/RubyBoolean;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.jruby.ext.thread.Mutex this
        start local 1 // org.jruby.runtime.ThreadContext context
         0: .line 79
            aload 1 /* context */
            getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
            aload 0 /* this */
            getfield org.jruby.ext.thread.Mutex.lock:Ljava/util/concurrent/locks/ReentrantLock;
            invokevirtual java.util.concurrent.locks.ReentrantLock.isLocked:()Z
            invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
            areturn
        end local 1 // org.jruby.runtime.ThreadContext context
        end local 0 // org.jruby.ext.thread.Mutex this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    1     0     this  Lorg/jruby/ext/thread/Mutex;
            0    1     1  context  Lorg/jruby/runtime/ThreadContext;
    RuntimeVisibleAnnotations: 
      org.jruby.anno.JRubyMethod(name = {"locked?"})
    MethodParameters:
         Name  Flags
      context  

  public org.jruby.RubyBoolean try_lock(org.jruby.runtime.ThreadContext);
    descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/RubyBoolean;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // org.jruby.ext.thread.Mutex this
        start local 1 // org.jruby.runtime.ThreadContext context
         0: .line 84
            aload 0 /* this */
            getfield org.jruby.ext.thread.Mutex.lock:Ljava/util/concurrent/locks/ReentrantLock;
            invokevirtual java.util.concurrent.locks.ReentrantLock.isHeldByCurrentThread:()Z
            ifeq 2
         1: .line 85
            aload 1 /* context */
            getfield org.jruby.runtime.ThreadContext.fals:Lorg/jruby/RubyBoolean;
            areturn
         2: .line 87
      StackMap locals:
      StackMap stack:
            aload 1 /* context */
            getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
            aload 1 /* context */
            invokevirtual org.jruby.runtime.ThreadContext.getThread:()Lorg/jruby/RubyThread;
            aload 0 /* this */
            getfield org.jruby.ext.thread.Mutex.lock:Ljava/util/concurrent/locks/ReentrantLock;
            invokevirtual org.jruby.RubyThread.tryLock:(Ljava/util/concurrent/locks/Lock;)Z
            invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
            areturn
        end local 1 // org.jruby.runtime.ThreadContext context
        end local 0 // org.jruby.ext.thread.Mutex this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    3     0     this  Lorg/jruby/ext/thread/Mutex;
            0    3     1  context  Lorg/jruby/runtime/ThreadContext;
    RuntimeVisibleAnnotations: 
      org.jruby.anno.JRubyMethod()
    MethodParameters:
         Name  Flags
      context  

  public org.jruby.runtime.builtin.IRubyObject lock(org.jruby.runtime.ThreadContext);
    descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=3, args_size=2
        start local 0 // org.jruby.ext.thread.Mutex this
        start local 1 // org.jruby.runtime.ThreadContext context
         0: .line 92
            aload 1 /* context */
            invokevirtual org.jruby.runtime.ThreadContext.getThread:()Lorg/jruby/RubyThread;
            astore 2 /* thread */
        start local 2 // org.jruby.RubyThread thread
         1: .line 94
            aload 0 /* this */
            aload 1 /* context */
            invokevirtual org.jruby.ext.thread.Mutex.checkRelocking:(Lorg/jruby/runtime/ThreadContext;)V
         2: .line 97
            aload 2 /* thread */
            aload 0 /* this */
            getfield org.jruby.ext.thread.Mutex.lock:Ljava/util/concurrent/locks/ReentrantLock;
            invokevirtual org.jruby.RubyThread.tryLock:(Ljava/util/concurrent/locks/Lock;)Z
            ifne 9
         3: .line 100
      StackMap locals: org.jruby.RubyThread
      StackMap stack:
            aload 1 /* context */
            invokevirtual org.jruby.runtime.ThreadContext.getThread:()Lorg/jruby/RubyThread;
            aload 0 /* this */
            getfield org.jruby.ext.thread.Mutex.lock:Ljava/util/concurrent/locks/ReentrantLock;
            invokevirtual org.jruby.RubyThread.lockInterruptibly:(Ljava/util/concurrent/locks/Lock;)V
         4: .line 101
            aload 0 /* this */
         5: areturn
         6: .line 102
      StackMap locals:
      StackMap stack: java.lang.InterruptedException
            pop
         7: .line 104
            aload 1 /* context */
            invokevirtual org.jruby.runtime.ThreadContext.pollThreadEvents:()V
         8: .line 98
            goto 3
         9: .line 109
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            areturn
        end local 2 // org.jruby.RubyThread thread
        end local 1 // org.jruby.runtime.ThreadContext context
        end local 0 // org.jruby.ext.thread.Mutex this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   10     0     this  Lorg/jruby/ext/thread/Mutex;
            0   10     1  context  Lorg/jruby/runtime/ThreadContext;
            1   10     2   thread  Lorg/jruby/RubyThread;
      Exception table:
        from    to  target  type
           3     5       6  Class java.lang.InterruptedException
    RuntimeVisibleAnnotations: 
      org.jruby.anno.JRubyMethod()
    MethodParameters:
         Name  Flags
      context  

  public org.jruby.runtime.builtin.IRubyObject unlock(org.jruby.runtime.ThreadContext);
    descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=3, args_size=2
        start local 0 // org.jruby.ext.thread.Mutex this
        start local 1 // org.jruby.runtime.ThreadContext context
         0: .line 114
            aload 0 /* this */
            getfield org.jruby.ext.thread.Mutex.lock:Ljava/util/concurrent/locks/ReentrantLock;
            invokevirtual java.util.concurrent.locks.ReentrantLock.isLocked:()Z
            ifne 2
         1: .line 115
            aload 1 /* context */
            getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
            ldc "Mutex is not locked"
            invokevirtual org.jruby.Ruby.newThreadError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
            athrow
         2: .line 117
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.jruby.ext.thread.Mutex.lock:Ljava/util/concurrent/locks/ReentrantLock;
            invokevirtual java.util.concurrent.locks.ReentrantLock.isHeldByCurrentThread:()Z
            ifne 4
         3: .line 118
            aload 1 /* context */
            getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
            ldc "Mutex is not owned by calling thread"
            invokevirtual org.jruby.Ruby.newThreadError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
            athrow
         4: .line 121
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.jruby.ext.thread.Mutex.lock:Ljava/util/concurrent/locks/ReentrantLock;
            invokevirtual java.util.concurrent.locks.ReentrantLock.hasQueuedThreads:()Z
            istore 2 /* hasQueued */
        start local 2 // boolean hasQueued
         5: .line 122
            aload 1 /* context */
            invokevirtual org.jruby.runtime.ThreadContext.getThread:()Lorg/jruby/RubyThread;
            aload 0 /* this */
            getfield org.jruby.ext.thread.Mutex.lock:Ljava/util/concurrent/locks/ReentrantLock;
            invokevirtual org.jruby.RubyThread.unlock:(Ljava/util/concurrent/locks/Lock;)V
         6: .line 123
            iload 2 /* hasQueued */
            ifeq 7
            aload 1 /* context */
            getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
            goto 8
      StackMap locals: int
      StackMap stack:
         7: aload 0 /* this */
      StackMap locals:
      StackMap stack: org.jruby.runtime.builtin.IRubyObject
         8: areturn
        end local 2 // boolean hasQueued
        end local 1 // org.jruby.runtime.ThreadContext context
        end local 0 // org.jruby.ext.thread.Mutex this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    9     0       this  Lorg/jruby/ext/thread/Mutex;
            0    9     1    context  Lorg/jruby/runtime/ThreadContext;
            5    9     2  hasQueued  Z
    RuntimeVisibleAnnotations: 
      org.jruby.anno.JRubyMethod()
    MethodParameters:
         Name  Flags
      context  

  public org.jruby.runtime.builtin.IRubyObject sleep(org.jruby.runtime.ThreadContext);
    descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // org.jruby.ext.thread.Mutex this
        start local 1 // org.jruby.runtime.ThreadContext context
         0: .line 128
            aload 0 /* this */
            aload 1 /* context */
            aload 1 /* context */
            getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
            invokevirtual org.jruby.ext.thread.Mutex.sleep:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
            areturn
        end local 1 // org.jruby.runtime.ThreadContext context
        end local 0 // org.jruby.ext.thread.Mutex this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    1     0     this  Lorg/jruby/ext/thread/Mutex;
            0    1     1  context  Lorg/jruby/runtime/ThreadContext;
    RuntimeVisibleAnnotations: 
      org.jruby.anno.JRubyMethod()
    MethodParameters:
         Name  Flags
      context  

  public org.jruby.runtime.builtin.IRubyObject sleep(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject);
    descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=11, args_size=3
        start local 0 // org.jruby.ext.thread.Mutex this
        start local 1 // org.jruby.runtime.ThreadContext context
        start local 2 // org.jruby.runtime.builtin.IRubyObject timeout
         0: .line 133
            aload 1 /* context */
            getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
            astore 3 /* runtime */
        start local 3 // org.jruby.Ruby runtime
         1: .line 135
            invokestatic java.lang.System.currentTimeMillis:()J
            lstore 4 /* beg */
        start local 4 // long beg
         2: .line 137
            aload 1 /* context */
            invokevirtual org.jruby.runtime.ThreadContext.getThread:()Lorg/jruby/RubyThread;
            astore 6 /* thread */
        start local 6 // org.jruby.RubyThread thread
         3: .line 139
            aload 2 /* timeout */
            invokeinterface org.jruby.runtime.builtin.IRubyObject.isNil:()Z
            ifeq 6
         4: .line 140
            aload 6 /* thread */
            aload 0 /* this */
            getfield org.jruby.ext.thread.Mutex.lock:Ljava/util/concurrent/locks/ReentrantLock;
            invokevirtual org.jruby.RubyThread.sleep:(Ljava/util/concurrent/locks/Lock;)V
         5: .line 141
            goto 15
         6: .line 142
      StackMap locals: org.jruby.Ruby long org.jruby.RubyThread
      StackMap stack:
            aload 1 /* context */
            aload 2 /* timeout */
            invokestatic org.jruby.RubyTime.convertTimeInterval:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)D
            dstore 7 /* t */
        start local 7 // double t
         7: .line 143
            dload 7 /* t */
            ldc 1000.0
            dmul
            d2l
            lstore 9 /* millis */
        start local 9 // long millis
         8: .line 145
            dload 7 /* t */
            dconst_0
            invokestatic java.lang.Double.compare:(DD)I
            ifeq 15
            lload 9 /* millis */
            lconst_0
            lcmp
            ifeq 15
         9: .line 148
            aload 6 /* thread */
            aload 0 /* this */
            getfield org.jruby.ext.thread.Mutex.lock:Ljava/util/concurrent/locks/ReentrantLock;
            lload 9 /* millis */
            invokevirtual org.jruby.RubyThread.sleep:(Ljava/util/concurrent/locks/Lock;J)V
        end local 9 // long millis
        end local 7 // double t
        end local 6 // org.jruby.RubyThread thread
        10: .line 151
            goto 15
      StackMap locals: org.jruby.ext.thread.Mutex org.jruby.runtime.ThreadContext org.jruby.runtime.builtin.IRubyObject org.jruby.Ruby long
      StackMap stack: java.lang.IllegalMonitorStateException
        11: pop
        12: .line 152
            aload 3 /* runtime */
            ldc "Attempt to unlock a mutex which is not locked"
            invokevirtual org.jruby.Ruby.newThreadError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
            athrow
        13: .line 153
      StackMap locals:
      StackMap stack: java.lang.InterruptedException
            pop
        14: .line 154
            aload 1 /* context */
            invokevirtual org.jruby.runtime.ThreadContext.pollThreadEvents:()V
        15: .line 157
      StackMap locals:
      StackMap stack:
            aload 3 /* runtime */
            invokestatic java.lang.System.currentTimeMillis:()J
            lload 4 /* beg */
            lsub
            ldc 1000
            ldiv
            invokevirtual org.jruby.Ruby.newFixnum:(J)Lorg/jruby/RubyFixnum;
            areturn
        end local 4 // long beg
        end local 3 // org.jruby.Ruby runtime
        end local 2 // org.jruby.runtime.builtin.IRubyObject timeout
        end local 1 // org.jruby.runtime.ThreadContext context
        end local 0 // org.jruby.ext.thread.Mutex this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   16     0     this  Lorg/jruby/ext/thread/Mutex;
            0   16     1  context  Lorg/jruby/runtime/ThreadContext;
            0   16     2  timeout  Lorg/jruby/runtime/builtin/IRubyObject;
            1   16     3  runtime  Lorg/jruby/Ruby;
            2   16     4      beg  J
            3   10     6   thread  Lorg/jruby/RubyThread;
            7   10     7        t  D
            8   10     9   millis  J
      Exception table:
        from    to  target  type
           2    10      11  Class java.lang.IllegalMonitorStateException
           2    10      13  Class java.lang.InterruptedException
    RuntimeVisibleAnnotations: 
      org.jruby.anno.JRubyMethod()
    MethodParameters:
         Name  Flags
      context  
      timeout  

  public org.jruby.runtime.builtin.IRubyObject synchronize(org.jruby.runtime.ThreadContext, org.jruby.runtime.Block);
    descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=5, args_size=3
        start local 0 // org.jruby.ext.thread.Mutex this
        start local 1 // org.jruby.runtime.ThreadContext context
        start local 2 // org.jruby.runtime.Block block
         0: .line 162
            aload 0 /* this */
            aload 1 /* context */
            invokevirtual org.jruby.ext.thread.Mutex.lock:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
            pop
         1: .line 164
            aload 2 /* block */
            aload 1 /* context */
            invokevirtual org.jruby.runtime.Block.yieldSpecific:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
            astore 4
         2: .line 166
            aload 0 /* this */
            aload 1 /* context */
            invokevirtual org.jruby.ext.thread.Mutex.unlock:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
            pop
         3: .line 164
            aload 4
            areturn
         4: .line 165
      StackMap locals:
      StackMap stack: java.lang.Throwable
            astore 3
         5: .line 166
            aload 0 /* this */
            aload 1 /* context */
            invokevirtual org.jruby.ext.thread.Mutex.unlock:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
            pop
         6: .line 167
            aload 3
            athrow
        end local 2 // org.jruby.runtime.Block block
        end local 1 // org.jruby.runtime.ThreadContext context
        end local 0 // org.jruby.ext.thread.Mutex this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    7     0     this  Lorg/jruby/ext/thread/Mutex;
            0    7     1  context  Lorg/jruby/runtime/ThreadContext;
            0    7     2    block  Lorg/jruby/runtime/Block;
      Exception table:
        from    to  target  type
           1     2       4  any
    RuntimeVisibleAnnotations: 
      org.jruby.anno.JRubyMethod()
    MethodParameters:
         Name  Flags
      context  
      block    

  public org.jruby.runtime.builtin.IRubyObject owned_p(org.jruby.runtime.ThreadContext);
    descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.jruby.ext.thread.Mutex this
        start local 1 // org.jruby.runtime.ThreadContext context
         0: .line 172
            aload 1 /* context */
            getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
            aload 0 /* this */
            getfield org.jruby.ext.thread.Mutex.lock:Ljava/util/concurrent/locks/ReentrantLock;
            invokevirtual java.util.concurrent.locks.ReentrantLock.isHeldByCurrentThread:()Z
            invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
            areturn
        end local 1 // org.jruby.runtime.ThreadContext context
        end local 0 // org.jruby.ext.thread.Mutex this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    1     0     this  Lorg/jruby/ext/thread/Mutex;
            0    1     1  context  Lorg/jruby/runtime/ThreadContext;
    RuntimeVisibleAnnotations: 
      org.jruby.anno.JRubyMethod(name = {"owned?"})
    MethodParameters:
         Name  Flags
      context  

  private void checkRelocking(org.jruby.runtime.ThreadContext);
    descriptor: (Lorg/jruby/runtime/ThreadContext;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.jruby.ext.thread.Mutex this
        start local 1 // org.jruby.runtime.ThreadContext context
         0: .line 176
            aload 0 /* this */
            getfield org.jruby.ext.thread.Mutex.lock:Ljava/util/concurrent/locks/ReentrantLock;
            invokevirtual java.util.concurrent.locks.ReentrantLock.isHeldByCurrentThread:()Z
            ifeq 2
         1: .line 177
            aload 1 /* context */
            getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
            ldc "Mutex relocking by same thread"
            invokevirtual org.jruby.Ruby.newThreadError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
            athrow
         2: .line 179
      StackMap locals:
      StackMap stack:
            return
        end local 1 // org.jruby.runtime.ThreadContext context
        end local 0 // org.jruby.ext.thread.Mutex this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    3     0     this  Lorg/jruby/ext/thread/Mutex;
            0    3     1  context  Lorg/jruby/runtime/ThreadContext;
    MethodParameters:
         Name  Flags
      context  
}
SourceFile: "Mutex.java"
NestMembers:
  org.jruby.ext.thread.Mutex$1
InnerClasses:
  org.jruby.ext.thread.Mutex$1
    RuntimeVisibleAnnotations: 
      org.jruby.anno.JRubyClass(name = {"Mutex"})