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 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 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 0: aload 0
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: return
end local 0 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 0: aload 0
ldc Lorg/jruby/ext/timeout/Timeout;
invokevirtual org.jruby.RubyModule.defineAnnotatedMethods:(Ljava/lang/Class;)V
1: aload 0
2: ldc "__executor__"
3: 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: invokevirtual org.jruby.RubyModule.setInternalVariable:(Ljava/lang/String;Ljava/lang/Object;)V
5: return
end local 0 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 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aload 0
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
aload 3
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 end local 2 end local 1 end local 0 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 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
aload 2
aload 3
aload 0
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
invokevirtual org.jruby.RubyString.freeze:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
aload 4
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 end local 3 end local 2 end local 1 end local 0 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 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
aload 2
invokestatic org.jruby.ext.timeout.Timeout.nilOrZeroSeconds:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Z
ifeq 2
1: aload 5
aload 0
invokevirtual org.jruby.runtime.Block.yieldSpecific:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
astore 6
start local 6 3: aload 6
ldc "Timeout"
invokevirtual org.jruby.Ruby.getModule:(Ljava/lang/String;)Lorg/jruby/RubyModule;
astore 7
start local 7 4: aload 0
invokevirtual org.jruby.runtime.ThreadContext.getThread:()Lorg/jruby/RubyThread;
astore 8
start local 8 5: new java.util.concurrent.atomic.AtomicBoolean
dup
iconst_0
invokespecial java.util.concurrent.atomic.AtomicBoolean.<init>:(Z)V
astore 9
start local 9 6: new org.jruby.RubyObject
dup
aload 6
aload 6
invokevirtual org.jruby.Ruby.getObject:()Lorg/jruby/RubyClass;
invokespecial org.jruby.RubyObject.<init>:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;)V
astore 10
start local 10 7: aload 3
invokeinterface org.jruby.runtime.builtin.IRubyObject.isNil:()Z
ifeq 9
8: aload 8
aload 7
aload 9
aload 10
aload 4
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: 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
aload 7
aload 9
aload 3
aload 4
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: StackMap locals:
StackMap stack: org.jruby.ext.timeout.Timeout$TimeoutTask
astore 11
start local 11 11: aload 7
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
start local 12 12: aload 12
aload 0
aload 2
aload 5
aload 11
aload 9
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: 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
start local 13 15: aload 13
invokevirtual org.jruby.exceptions.RaiseException.getException:()Lorg/jruby/RubyException;
invokevirtual org.jruby.RubyException.getMetaClass:()Lorg/jruby/RubyClass;
aload 7
invokestatic org.jruby.ext.timeout.Timeout.getTimeoutError:(Lorg/jruby/RubyModule;)Lorg/jruby/RubyClass;
if_acmpne 18
16: aload 3
invokeinterface org.jruby.runtime.builtin.IRubyObject.isNil:()Z
ifeq 18
17: aload 0
aload 7
aload 13
aload 10
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: StackMap locals: org.jruby.exceptions.RaiseException
StackMap stack:
aload 13
athrow
end local 13 end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 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 start local 1 0: aload 1
invokeinterface org.jruby.runtime.builtin.IRubyObject.isNil:()Z
ifne 1
aload 0
aload 1
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 end local 0 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 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 1
aload 2
invokestatic org.jruby.RubyTime.convertTimeInterval:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)D
ldc 1000000.0
dmul
d2l
lstore 6
start local 6 1: aconst_null
astore 8
start local 8 2: aload 0
aload 4
lload 6
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
3: aload 3
aload 1
aload 2
invokevirtual org.jruby.runtime.Block.yield:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 10
4: aload 8
ifnull 5
aload 0
aload 1
aload 8
aload 5
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: 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: 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: aload 8
ifnull 8
aload 0
aload 1
aload 8
aload 5
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: StackMap locals: java.lang.Throwable
StackMap stack:
aload 9
athrow
end local 8 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 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 start local 1 start local 2 start local 3 0: aload 3
iconst_0
iconst_1
invokevirtual java.util.concurrent.atomic.AtomicBoolean.compareAndSet:(ZZ)Z
ifeq 4
aload 2
iconst_0
invokeinterface java.util.concurrent.Future.cancel:(Z)Z
ifeq 4
1: aload 2
instanceof java.lang.Runnable
ifeq 9
2: aload 0
aload 2
checkcast java.lang.Runnable
invokevirtual java.util.concurrent.ScheduledThreadPoolExecutor.remove:(Ljava/lang/Runnable;)Z
pop
3: goto 9
4: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.concurrent.Future.get:()Ljava/lang/Object;
pop
5: goto 8
6: StackMap locals:
StackMap stack: java.util.concurrent.ExecutionException
pop
goto 8
7: StackMap locals:
StackMap stack: java.lang.InterruptedException
pop
8: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.jruby.runtime.ThreadContext.pollThreadEvents:()V
9: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 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 start local 1 start local 2 start local 3 0: aload 2
invokevirtual org.jruby.exceptions.RaiseException.getException:()Lorg/jruby/RubyException;
ldc "__identifier__"
invokevirtual org.jruby.RubyException.getInternalVariable:(Ljava/lang/String;)Ljava/lang/Object;
aload 3
if_acmpne 10
1: aload 2
invokevirtual org.jruby.exceptions.RaiseException.getException:()Lorg/jruby/RubyException;
astore 4
start local 4 2: aload 0
3: aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getKernel:()Lorg/jruby/RubyModule;
4: iconst_3
anewarray org.jruby.runtime.builtin.IRubyObject
dup
iconst_0
5: aload 1
invokestatic org.jruby.ext.timeout.Timeout.getTimeoutError:(Lorg/jruby/RubyModule;)Lorg/jruby/RubyClass;
aastore
dup
iconst_1
6: aload 4
aload 0
ldc "message"
invokevirtual org.jruby.RubyException.callMethod:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject;
aastore
dup
iconst_2
7: aload 4
aload 0
ldc "backtrace"
invokevirtual org.jruby.RubyException.callMethod:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject;
aastore
8: getstatic org.jruby.runtime.Block.NULL_BLOCK:Lorg/jruby/runtime/Block;
9: 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 10: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 3 end local 2 end local 1 end local 0 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 0: aload 0
ldc "Error"
invokevirtual org.jruby.RubyModule.getClass:(Ljava/lang/String;)Lorg/jruby/RubyClass;
areturn
end local 0 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