public class org.jruby.ext.timeout.Timeout
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.jruby.ext.timeout.Timeout
  super_class: java.lang.Object
{
  public static final java.lang.String EXECUTOR_VARIABLE;
    descriptor: Ljava/lang/String;
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
    ConstantValue: "__executor__"

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.jruby.ext.timeout.Timeout this
         0: .line 51
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // org.jruby.ext.timeout.Timeout this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/jruby/ext/timeout/Timeout;

  public static void load(org.jruby.Ruby);
    descriptor: (Lorg/jruby/Ruby;)V
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.jruby.Ruby runtime
         0: .line 55
            aload 0 /* runtime */
            ldc "Timeout"
            invokevirtual org.jruby.Ruby.getOrCreateModule:(Ljava/lang/String;)Lorg/jruby/RubyModule;
            invokestatic org.jruby.ext.timeout.Timeout.define:(Lorg/jruby/RubyModule;)V
         1: .line 56
            return
        end local 0 // org.jruby.Ruby runtime
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    2     0  runtime  Lorg/jruby/Ruby;
    MethodParameters:
         Name  Flags
      runtime  

  public static void define(org.jruby.RubyModule);
    descriptor: (Lorg/jruby/RubyModule;)V
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=7, locals=1, args_size=1
        start local 0 // org.jruby.RubyModule timeout
         0: .line 60
            aload 0 /* timeout */
            ldc Lorg/jruby/ext/timeout/Timeout;
            invokevirtual org.jruby.RubyModule.defineAnnotatedMethods:(Ljava/lang/Class;)V
         1: .line 62
            aload 0 /* timeout */
         2: .line 63
            ldc "__executor__"
         3: .line 64
            new java.util.concurrent.ScheduledThreadPoolExecutor
            dup
            invokestatic java.lang.Runtime.getRuntime:()Ljava/lang/Runtime;
            invokevirtual java.lang.Runtime.availableProcessors:()I
            new org.jruby.threading.DaemonThreadFactory
            dup
            invokespecial org.jruby.threading.DaemonThreadFactory.<init>:()V
            invokespecial java.util.concurrent.ScheduledThreadPoolExecutor.<init>:(ILjava/util/concurrent/ThreadFactory;)V
         4: .line 62
            invokevirtual org.jruby.RubyModule.setInternalVariable:(Ljava/lang/String;Ljava/lang/Object;)V
         5: .line 65
            return
        end local 0 // org.jruby.RubyModule timeout
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    6     0  timeout  Lorg/jruby/RubyModule;
    MethodParameters:
         Name  Flags
      timeout  

  public static org.jruby.runtime.builtin.IRubyObject timeout(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/runtime/builtin/IRubyObject;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=5, locals=4, 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 seconds
        start local 3 // org.jruby.runtime.Block block
         0: .line 70
            aload 0 /* context */
            aload 1 /* recv */
            aload 2 /* seconds */
            aload 0 /* context */
            getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
            aload 3 /* block */
            invokestatic org.jruby.ext.timeout.Timeout.timeout:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
            areturn
        end local 3 // org.jruby.runtime.Block block
        end local 2 // org.jruby.runtime.builtin.IRubyObject seconds
        end local 1 // org.jruby.runtime.builtin.IRubyObject recv
        end local 0 // org.jruby.runtime.ThreadContext context
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    1     0  context  Lorg/jruby/runtime/ThreadContext;
            0    1     1     recv  Lorg/jruby/runtime/builtin/IRubyObject;
            0    1     2  seconds  Lorg/jruby/runtime/builtin/IRubyObject;
            0    1     3    block  Lorg/jruby/runtime/Block;
    RuntimeVisibleAnnotations: 
      org.jruby.anno.JRubyMethod(module = true)
    MethodParameters:
         Name  Flags
      context  final
      recv     
      seconds  
      block    

  public static org.jruby.runtime.builtin.IRubyObject timeout(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, 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/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=6, locals=5, args_size=5
        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 seconds
        start local 3 // org.jruby.runtime.builtin.IRubyObject exceptionType
        start local 4 // org.jruby.runtime.Block block
         0: .line 75
            aload 0 /* context */
            aload 1 /* recv */
            aload 2 /* seconds */
            aload 3 /* exceptionType */
            aload 0 /* context */
            getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
            ldc "execution expired"
            invokestatic org.jruby.RubyString.newString:(Lorg/jruby/Ruby;Ljava/lang/String;)Lorg/jruby/RubyString;
            aload 0 /* context */
            invokevirtual org.jruby.RubyString.freeze:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
            aload 4 /* block */
            invokestatic org.jruby.ext.timeout.Timeout.timeout:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
            areturn
        end local 4 // org.jruby.runtime.Block block
        end local 3 // org.jruby.runtime.builtin.IRubyObject exceptionType
        end local 2 // org.jruby.runtime.builtin.IRubyObject seconds
        end local 1 // org.jruby.runtime.builtin.IRubyObject recv
        end local 0 // org.jruby.runtime.ThreadContext context
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0    1     0        context  Lorg/jruby/runtime/ThreadContext;
            0    1     1           recv  Lorg/jruby/runtime/builtin/IRubyObject;
            0    1     2        seconds  Lorg/jruby/runtime/builtin/IRubyObject;
            0    1     3  exceptionType  Lorg/jruby/runtime/builtin/IRubyObject;
            0    1     4          block  Lorg/jruby/runtime/Block;
    RuntimeVisibleAnnotations: 
      org.jruby.anno.JRubyMethod(module = true)
    MethodParameters:
               Name  Flags
      context        final
      recv           
      seconds        
      exceptionType  
      block          

  public static org.jruby.runtime.builtin.IRubyObject timeout(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject, 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/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=6, locals=14, args_size=6
        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 seconds
        start local 3 // org.jruby.runtime.builtin.IRubyObject exceptionType
        start local 4 // org.jruby.runtime.builtin.IRubyObject message
        start local 5 // org.jruby.runtime.Block block
         0: .line 81
            aload 0 /* context */
            aload 2 /* seconds */
            invokestatic org.jruby.ext.timeout.Timeout.nilOrZeroSeconds:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Z
            ifeq 2
         1: .line 82
            aload 5 /* block */
            aload 0 /* context */
            invokevirtual org.jruby.runtime.Block.yieldSpecific:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
            areturn
         2: .line 85
      StackMap locals:
      StackMap stack:
            aload 0 /* context */
            getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
            astore 6 /* runtime */
        start local 6 // org.jruby.Ruby runtime
         3: .line 86
            aload 6 /* runtime */
            ldc "Timeout"
            invokevirtual org.jruby.Ruby.getModule:(Ljava/lang/String;)Lorg/jruby/RubyModule;
            astore 7 /* timeout */
        start local 7 // org.jruby.RubyModule timeout
         4: .line 88
            aload 0 /* context */
            invokevirtual org.jruby.runtime.ThreadContext.getThread:()Lorg/jruby/RubyThread;
            astore 8 /* currentThread */
        start local 8 // org.jruby.RubyThread currentThread
         5: .line 89
            new java.util.concurrent.atomic.AtomicBoolean
            dup
            iconst_0
            invokespecial java.util.concurrent.atomic.AtomicBoolean.<init>:(Z)V
            astore 9 /* latch */
        start local 9 // java.util.concurrent.atomic.AtomicBoolean latch
         6: .line 91
            new org.jruby.RubyObject
            dup
            aload 6 /* runtime */
            aload 6 /* runtime */
            invokevirtual org.jruby.Ruby.getObject:()Lorg/jruby/RubyClass;
            invokespecial org.jruby.RubyObject.<init>:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;)V
            astore 10 /* id */
        start local 10 // org.jruby.runtime.builtin.IRubyObject id
         7: .line 92
            aload 3 /* exceptionType */
            invokeinterface org.jruby.runtime.builtin.IRubyObject.isNil:()Z
            ifeq 9
         8: .line 93
            aload 8 /* currentThread */
            aload 7 /* timeout */
            aload 9 /* latch */
            aload 10 /* id */
            aload 4 /* message */
            invokeinterface org.jruby.runtime.builtin.IRubyObject.convertToString:()Lorg/jruby/RubyString;
            invokestatic org.jruby.ext.timeout.Timeout$TimeoutTask.newAnonymousTask:(Lorg/jruby/RubyThread;Lorg/jruby/RubyModule;Ljava/util/concurrent/atomic/AtomicBoolean;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyString;)Lorg/jruby/ext/timeout/Timeout$TimeoutTask;
            goto 10
         9: .line 94
      StackMap locals: org.jruby.runtime.ThreadContext org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.Block org.jruby.Ruby org.jruby.RubyModule org.jruby.RubyThread java.util.concurrent.atomic.AtomicBoolean org.jruby.runtime.builtin.IRubyObject
      StackMap stack:
            aload 8 /* currentThread */
            aload 7 /* timeout */
            aload 9 /* latch */
            aload 3 /* exceptionType */
            aload 4 /* message */
            invokeinterface org.jruby.runtime.builtin.IRubyObject.convertToString:()Lorg/jruby/RubyString;
            invokestatic org.jruby.ext.timeout.Timeout$TimeoutTask.newTaskWithException:(Lorg/jruby/RubyThread;Lorg/jruby/RubyModule;Ljava/util/concurrent/atomic/AtomicBoolean;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyString;)Lorg/jruby/ext/timeout/Timeout$TimeoutTask;
        10: .line 92
      StackMap locals:
      StackMap stack: org.jruby.ext.timeout.Timeout$TimeoutTask
            astore 11 /* timeoutRunnable */
        start local 11 // java.lang.Runnable timeoutRunnable
        11: .line 96
            aload 7 /* timeout */
            invokevirtual org.jruby.RubyModule.getInternalVariables:()Lorg/jruby/runtime/builtin/InternalVariables;
            ldc "__executor__"
            invokeinterface org.jruby.runtime.builtin.InternalVariables.getInternalVariable:(Ljava/lang/String;)Ljava/lang/Object;
            checkcast java.util.concurrent.ScheduledThreadPoolExecutor
            astore 12 /* executor */
        start local 12 // java.util.concurrent.ScheduledThreadPoolExecutor executor
        12: .line 99
            aload 12 /* executor */
            aload 0 /* context */
            aload 2 /* seconds */
            aload 5 /* block */
            aload 11 /* timeoutRunnable */
            aload 9 /* latch */
            invokestatic org.jruby.ext.timeout.Timeout.yieldWithTimeout:(Ljava/util/concurrent/ScheduledThreadPoolExecutor;Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;Ljava/lang/Runnable;Ljava/util/concurrent/atomic/AtomicBoolean;)Lorg/jruby/runtime/builtin/IRubyObject;
        13: areturn
        14: .line 100
      StackMap locals: org.jruby.runtime.ThreadContext org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.Block org.jruby.Ruby org.jruby.RubyModule org.jruby.RubyThread java.util.concurrent.atomic.AtomicBoolean org.jruby.runtime.builtin.IRubyObject java.lang.Runnable java.util.concurrent.ScheduledThreadPoolExecutor
      StackMap stack: org.jruby.exceptions.RaiseException
            astore 13 /* re */
        start local 13 // org.jruby.exceptions.RaiseException re
        15: .line 102
            aload 13 /* re */
            invokevirtual org.jruby.exceptions.RaiseException.getException:()Lorg/jruby/RubyException;
            invokevirtual org.jruby.RubyException.getMetaClass:()Lorg/jruby/RubyClass;
            aload 7 /* timeout */
            invokestatic org.jruby.ext.timeout.Timeout.getTimeoutError:(Lorg/jruby/RubyModule;)Lorg/jruby/RubyClass;
            if_acmpne 18
        16: .line 104
            aload 3 /* exceptionType */
            invokeinterface org.jruby.runtime.builtin.IRubyObject.isNil:()Z
            ifeq 18
        17: .line 105
            aload 0 /* context */
            aload 7 /* timeout */
            aload 13 /* re */
            aload 10 /* id */
            invokestatic org.jruby.ext.timeout.Timeout.raiseTimeoutErrorIfMatches:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyModule;Lorg/jruby/exceptions/RaiseException;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
            pop
        18: .line 110
      StackMap locals: org.jruby.exceptions.RaiseException
      StackMap stack:
            aload 13 /* re */
            athrow
        end local 13 // org.jruby.exceptions.RaiseException re
        end local 12 // java.util.concurrent.ScheduledThreadPoolExecutor executor
        end local 11 // java.lang.Runnable timeoutRunnable
        end local 10 // org.jruby.runtime.builtin.IRubyObject id
        end local 9 // java.util.concurrent.atomic.AtomicBoolean latch
        end local 8 // org.jruby.RubyThread currentThread
        end local 7 // org.jruby.RubyModule timeout
        end local 6 // org.jruby.Ruby runtime
        end local 5 // org.jruby.runtime.Block block
        end local 4 // org.jruby.runtime.builtin.IRubyObject message
        end local 3 // org.jruby.runtime.builtin.IRubyObject exceptionType
        end local 2 // org.jruby.runtime.builtin.IRubyObject seconds
        end local 1 // org.jruby.runtime.builtin.IRubyObject recv
        end local 0 // org.jruby.runtime.ThreadContext context
      LocalVariableTable:
        Start  End  Slot             Name  Signature
            0   19     0          context  Lorg/jruby/runtime/ThreadContext;
            0   19     1             recv  Lorg/jruby/runtime/builtin/IRubyObject;
            0   19     2          seconds  Lorg/jruby/runtime/builtin/IRubyObject;
            0   19     3    exceptionType  Lorg/jruby/runtime/builtin/IRubyObject;
            0   19     4          message  Lorg/jruby/runtime/builtin/IRubyObject;
            0   19     5            block  Lorg/jruby/runtime/Block;
            3   19     6          runtime  Lorg/jruby/Ruby;
            4   19     7          timeout  Lorg/jruby/RubyModule;
            5   19     8    currentThread  Lorg/jruby/RubyThread;
            6   19     9            latch  Ljava/util/concurrent/atomic/AtomicBoolean;
            7   19    10               id  Lorg/jruby/runtime/builtin/IRubyObject;
           11   19    11  timeoutRunnable  Ljava/lang/Runnable;
           12   19    12         executor  Ljava/util/concurrent/ScheduledThreadPoolExecutor;
           15   19    13               re  Lorg/jruby/exceptions/RaiseException;
      Exception table:
        from    to  target  type
          12    13      14  Class org.jruby.exceptions.RaiseException
    RuntimeVisibleAnnotations: 
      org.jruby.anno.JRubyMethod(module = true)
    MethodParameters:
               Name  Flags
      context        final
      recv           
      seconds        
      exceptionType  
      message        
      block          

  private static boolean nilOrZeroSeconds(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject);
    descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Z
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // org.jruby.runtime.ThreadContext context
        start local 1 // org.jruby.runtime.builtin.IRubyObject seconds
         0: .line 115
            aload 1 /* seconds */
            invokeinterface org.jruby.runtime.builtin.IRubyObject.isNil:()Z
            ifne 1
            aload 0 /* context */
            aload 1 /* seconds */
            ldc "zero?"
            invokestatic org.jruby.runtime.Helpers.invoke:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Ljava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject;
            invokeinterface org.jruby.runtime.builtin.IRubyObject.isTrue:()Z
            ifne 1
            iconst_0
            ireturn
      StackMap locals:
      StackMap stack:
         1: iconst_1
            ireturn
        end local 1 // org.jruby.runtime.builtin.IRubyObject seconds
        end local 0 // org.jruby.runtime.ThreadContext context
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    2     0  context  Lorg/jruby/runtime/ThreadContext;
            0    2     1  seconds  Lorg/jruby/runtime/builtin/IRubyObject;
    MethodParameters:
         Name  Flags
      context  final
      seconds  final

  private static org.jruby.runtime.builtin.IRubyObject yieldWithTimeout(java.util.concurrent.ScheduledThreadPoolExecutor, org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.Block, java.lang.Runnable, java.util.concurrent.atomic.AtomicBoolean);
    descriptor: (Ljava/util/concurrent/ScheduledThreadPoolExecutor;Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;Ljava/lang/Runnable;Ljava/util/concurrent/atomic/AtomicBoolean;)Lorg/jruby/runtime/builtin/IRubyObject;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=5, locals=11, args_size=6
        start local 0 // java.util.concurrent.ScheduledThreadPoolExecutor executor
        start local 1 // org.jruby.runtime.ThreadContext context
        start local 2 // org.jruby.runtime.builtin.IRubyObject seconds
        start local 3 // org.jruby.runtime.Block block
        start local 4 // java.lang.Runnable runnable
        start local 5 // java.util.concurrent.atomic.AtomicBoolean latch
         0: .line 122
            aload 1 /* context */
            aload 2 /* seconds */
            invokestatic org.jruby.RubyTime.convertTimeInterval:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)D
            ldc 1000000.0
            dmul
            d2l
            lstore 6 /* micros */
        start local 6 // long micros
         1: .line 123
            aconst_null
            astore 8 /* timeoutFuture */
        start local 8 // java.util.concurrent.Future timeoutFuture
         2: .line 125
            aload 0 /* executor */
            aload 4 /* runnable */
            lload 6 /* micros */
            getstatic java.util.concurrent.TimeUnit.MICROSECONDS:Ljava/util/concurrent/TimeUnit;
            invokevirtual java.util.concurrent.ScheduledThreadPoolExecutor.schedule:(Ljava/lang/Runnable;JLjava/util/concurrent/TimeUnit;)Ljava/util/concurrent/ScheduledFuture;
            astore 8 /* timeoutFuture */
         3: .line 126
            aload 3 /* block */
            aload 1 /* context */
            aload 2 /* seconds */
            invokevirtual org.jruby.runtime.Block.yield:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
            astore 10
         4: .line 129
            aload 8 /* timeoutFuture */
            ifnull 5
            aload 0 /* executor */
            aload 1 /* context */
            aload 8 /* timeoutFuture */
            aload 5 /* latch */
            invokestatic org.jruby.ext.timeout.Timeout.killTimeoutThread:(Ljava/util/concurrent/ScheduledThreadPoolExecutor;Lorg/jruby/runtime/ThreadContext;Ljava/util/concurrent/Future;Ljava/util/concurrent/atomic/AtomicBoolean;)V
         5: .line 126
      StackMap locals: java.util.concurrent.ScheduledThreadPoolExecutor org.jruby.runtime.ThreadContext org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.Block java.lang.Runnable java.util.concurrent.atomic.AtomicBoolean long java.util.concurrent.Future top org.jruby.runtime.builtin.IRubyObject
      StackMap stack:
            aload 10
            areturn
         6: .line 128
      StackMap locals: java.util.concurrent.ScheduledThreadPoolExecutor org.jruby.runtime.ThreadContext org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.Block java.lang.Runnable java.util.concurrent.atomic.AtomicBoolean long java.util.concurrent.Future
      StackMap stack: java.lang.Throwable
            astore 9
         7: .line 129
            aload 8 /* timeoutFuture */
            ifnull 8
            aload 0 /* executor */
            aload 1 /* context */
            aload 8 /* timeoutFuture */
            aload 5 /* latch */
            invokestatic org.jruby.ext.timeout.Timeout.killTimeoutThread:(Ljava/util/concurrent/ScheduledThreadPoolExecutor;Lorg/jruby/runtime/ThreadContext;Ljava/util/concurrent/Future;Ljava/util/concurrent/atomic/AtomicBoolean;)V
         8: .line 131
      StackMap locals: java.lang.Throwable
      StackMap stack:
            aload 9
            athrow
        end local 8 // java.util.concurrent.Future timeoutFuture
        end local 6 // long micros
        end local 5 // java.util.concurrent.atomic.AtomicBoolean latch
        end local 4 // java.lang.Runnable runnable
        end local 3 // org.jruby.runtime.Block block
        end local 2 // org.jruby.runtime.builtin.IRubyObject seconds
        end local 1 // org.jruby.runtime.ThreadContext context
        end local 0 // java.util.concurrent.ScheduledThreadPoolExecutor executor
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0    9     0       executor  Ljava/util/concurrent/ScheduledThreadPoolExecutor;
            0    9     1        context  Lorg/jruby/runtime/ThreadContext;
            0    9     2        seconds  Lorg/jruby/runtime/builtin/IRubyObject;
            0    9     3          block  Lorg/jruby/runtime/Block;
            0    9     4       runnable  Ljava/lang/Runnable;
            0    9     5          latch  Ljava/util/concurrent/atomic/AtomicBoolean;
            1    9     6         micros  J
            2    9     8  timeoutFuture  Ljava/util/concurrent/Future;
      Exception table:
        from    to  target  type
           2     4       6  any
    Exceptions:
      throws org.jruby.exceptions.RaiseException
    MethodParameters:
          Name  Flags
      executor  
      context   
      seconds   final
      block     final
      runnable  final
      latch     final

  private static void killTimeoutThread(java.util.concurrent.ScheduledThreadPoolExecutor, org.jruby.runtime.ThreadContext, java.util.concurrent.Future, java.util.concurrent.atomic.AtomicBoolean);
    descriptor: (Ljava/util/concurrent/ScheduledThreadPoolExecutor;Lorg/jruby/runtime/ThreadContext;Ljava/util/concurrent/Future;Ljava/util/concurrent/atomic/AtomicBoolean;)V
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=3, locals=4, args_size=4
        start local 0 // java.util.concurrent.ScheduledThreadPoolExecutor executor
        start local 1 // org.jruby.runtime.ThreadContext context
        start local 2 // java.util.concurrent.Future timeoutFuture
        start local 3 // java.util.concurrent.atomic.AtomicBoolean latch
         0: .line 189
            aload 3 /* latch */
            iconst_0
            iconst_1
            invokevirtual java.util.concurrent.atomic.AtomicBoolean.compareAndSet:(ZZ)Z
            ifeq 4
            aload 2 /* timeoutFuture */
            iconst_0
            invokeinterface java.util.concurrent.Future.cancel:(Z)Z
            ifeq 4
         1: .line 191
            aload 2 /* timeoutFuture */
            instanceof java.lang.Runnable
            ifeq 9
         2: .line 192
            aload 0 /* executor */
            aload 2 /* timeoutFuture */
            checkcast java.lang.Runnable
            invokevirtual java.util.concurrent.ScheduledThreadPoolExecutor.remove:(Ljava/lang/Runnable;)Z
            pop
         3: .line 194
            goto 9
         4: .line 197
      StackMap locals:
      StackMap stack:
            aload 2 /* timeoutFuture */
            invokeinterface java.util.concurrent.Future.get:()Ljava/lang/Object;
            pop
         5: .line 198
            goto 8
         6: .line 199
      StackMap locals:
      StackMap stack: java.util.concurrent.ExecutionException
            pop
            goto 8
         7: .line 200
      StackMap locals:
      StackMap stack: java.lang.InterruptedException
            pop
         8: .line 202
      StackMap locals:
      StackMap stack:
            aload 1 /* context */
            invokevirtual org.jruby.runtime.ThreadContext.pollThreadEvents:()V
         9: .line 204
      StackMap locals:
      StackMap stack:
            return
        end local 3 // java.util.concurrent.atomic.AtomicBoolean latch
        end local 2 // java.util.concurrent.Future timeoutFuture
        end local 1 // org.jruby.runtime.ThreadContext context
        end local 0 // java.util.concurrent.ScheduledThreadPoolExecutor executor
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0   10     0       executor  Ljava/util/concurrent/ScheduledThreadPoolExecutor;
            0   10     1        context  Lorg/jruby/runtime/ThreadContext;
            0   10     2  timeoutFuture  Ljava/util/concurrent/Future;
            0   10     3          latch  Ljava/util/concurrent/atomic/AtomicBoolean;
      Exception table:
        from    to  target  type
           4     5       6  Class java.util.concurrent.ExecutionException
           4     5       7  Class java.lang.InterruptedException
    MethodParameters:
               Name  Flags
      executor       
      context        
      timeoutFuture  final
      latch          final

  private static org.jruby.runtime.builtin.IRubyObject raiseTimeoutErrorIfMatches(org.jruby.runtime.ThreadContext, org.jruby.RubyModule, org.jruby.exceptions.RaiseException, org.jruby.runtime.builtin.IRubyObject);
    descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyModule;Lorg/jruby/exceptions/RaiseException;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=8, locals=5, args_size=4
        start local 0 // org.jruby.runtime.ThreadContext context
        start local 1 // org.jruby.RubyModule timeout
        start local 2 // org.jruby.exceptions.RaiseException ex
        start local 3 // org.jruby.runtime.builtin.IRubyObject id
         0: .line 210
            aload 2 /* ex */
            invokevirtual org.jruby.exceptions.RaiseException.getException:()Lorg/jruby/RubyException;
            ldc "__identifier__"
            invokevirtual org.jruby.RubyException.getInternalVariable:(Ljava/lang/String;)Ljava/lang/Object;
            aload 3 /* id */
            if_acmpne 10
         1: .line 211
            aload 2 /* ex */
            invokevirtual org.jruby.exceptions.RaiseException.getException:()Lorg/jruby/RubyException;
            astore 4 /* rubyException */
        start local 4 // org.jruby.RubyException rubyException
         2: .line 214
            aload 0 /* context */
         3: .line 215
            aload 0 /* context */
            getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
            invokevirtual org.jruby.Ruby.getKernel:()Lorg/jruby/RubyModule;
         4: .line 216
            iconst_3
            anewarray org.jruby.runtime.builtin.IRubyObject
            dup
            iconst_0
         5: .line 217
            aload 1 /* timeout */
            invokestatic org.jruby.ext.timeout.Timeout.getTimeoutError:(Lorg/jruby/RubyModule;)Lorg/jruby/RubyClass;
            aastore
            dup
            iconst_1
         6: .line 218
            aload 4 /* rubyException */
            aload 0 /* context */
            ldc "message"
            invokevirtual org.jruby.RubyException.callMethod:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject;
            aastore
            dup
            iconst_2
         7: .line 219
            aload 4 /* rubyException */
            aload 0 /* context */
            ldc "backtrace"
            invokevirtual org.jruby.RubyException.callMethod:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject;
            aastore
         8: .line 221
            getstatic org.jruby.runtime.Block.NULL_BLOCK:Lorg/jruby/runtime/Block;
         9: .line 213
            invokestatic org.jruby.RubyKernel.raise:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
            areturn
        end local 4 // org.jruby.RubyException rubyException
        10: .line 223
      StackMap locals:
      StackMap stack:
            aconst_null
            areturn
        end local 3 // org.jruby.runtime.builtin.IRubyObject id
        end local 2 // org.jruby.exceptions.RaiseException ex
        end local 1 // org.jruby.RubyModule timeout
        end local 0 // org.jruby.runtime.ThreadContext context
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0   11     0        context  Lorg/jruby/runtime/ThreadContext;
            0   11     1        timeout  Lorg/jruby/RubyModule;
            0   11     2             ex  Lorg/jruby/exceptions/RaiseException;
            0   11     3             id  Lorg/jruby/runtime/builtin/IRubyObject;
            2   10     4  rubyException  Lorg/jruby/RubyException;
    MethodParameters:
         Name  Flags
      context  
      timeout  final
      ex       final
      id       final

  private static org.jruby.RubyClass getTimeoutError(org.jruby.RubyModule);
    descriptor: (Lorg/jruby/RubyModule;)Lorg/jruby/RubyClass;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.jruby.RubyModule timeout
         0: .line 227
            aload 0 /* timeout */
            ldc "Error"
            invokevirtual org.jruby.RubyModule.getClass:(Ljava/lang/String;)Lorg/jruby/RubyClass;
            areturn
        end local 0 // org.jruby.RubyModule timeout
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    1     0  timeout  Lorg/jruby/RubyModule;
    MethodParameters:
         Name  Flags
      timeout  final
}
SourceFile: "Timeout.java"
NestMembers:
  org.jruby.ext.timeout.Timeout$TimeoutTask
InnerClasses:
  private TimeoutTask = org.jruby.ext.timeout.Timeout$TimeoutTask of org.jruby.ext.timeout.Timeout