class org.jruby.ext.timeout.Timeout$TimeoutTask implements java.lang.Runnable
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.jruby.ext.timeout.Timeout$TimeoutTask
super_class: java.lang.Object
{
final org.jruby.RubyThread currentThread;
descriptor: Lorg/jruby/RubyThread;
flags: (0x0010) ACC_FINAL
final java.util.concurrent.atomic.AtomicBoolean latch;
descriptor: Ljava/util/concurrent/atomic/AtomicBoolean;
flags: (0x0010) ACC_FINAL
final org.jruby.RubyModule timeout;
descriptor: Lorg/jruby/RubyModule;
flags: (0x0010) ACC_FINAL
final org.jruby.runtime.builtin.IRubyObject id;
descriptor: Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0010) ACC_FINAL
final org.jruby.runtime.builtin.IRubyObject exception;
descriptor: Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0010) ACC_FINAL
final org.jruby.RubyString message;
descriptor: Lorg/jruby/RubyString;
flags: (0x0010) ACC_FINAL
private void <init>(org.jruby.RubyThread, org.jruby.RubyModule, java.util.concurrent.atomic.AtomicBoolean, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject, org.jruby.RubyString);
descriptor: (Lorg/jruby/RubyThread;Lorg/jruby/RubyModule;Ljava/util/concurrent/atomic/AtomicBoolean;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyString;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=7, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.jruby.ext.timeout.Timeout$TimeoutTask.currentThread:Lorg/jruby/RubyThread;
2: aload 0
aload 2
putfield org.jruby.ext.timeout.Timeout$TimeoutTask.timeout:Lorg/jruby/RubyModule;
3: aload 0
aload 3
putfield org.jruby.ext.timeout.Timeout$TimeoutTask.latch:Ljava/util/concurrent/atomic/AtomicBoolean;
4: aload 0
aload 4
putfield org.jruby.ext.timeout.Timeout$TimeoutTask.id:Lorg/jruby/runtime/builtin/IRubyObject;
5: aload 0
aload 5
putfield org.jruby.ext.timeout.Timeout$TimeoutTask.exception:Lorg/jruby/runtime/builtin/IRubyObject;
6: aload 0
aload 6
putfield org.jruby.ext.timeout.Timeout$TimeoutTask.message:Lorg/jruby/RubyString;
7: return
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 8 0 this Lorg/jruby/ext/timeout/Timeout$TimeoutTask;
0 8 1 currentThread Lorg/jruby/RubyThread;
0 8 2 timeout Lorg/jruby/RubyModule;
0 8 3 latch Ljava/util/concurrent/atomic/AtomicBoolean;
0 8 4 id Lorg/jruby/runtime/builtin/IRubyObject;
0 8 5 exception Lorg/jruby/runtime/builtin/IRubyObject;
0 8 6 message Lorg/jruby/RubyString;
MethodParameters:
Name Flags
currentThread final
timeout final
latch final
id final
exception final
message final
static org.jruby.ext.timeout.Timeout$TimeoutTask newAnonymousTask(org.jruby.RubyThread, org.jruby.RubyModule, java.util.concurrent.atomic.AtomicBoolean, org.jruby.runtime.builtin.IRubyObject, org.jruby.RubyString);
descriptor: (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;
flags: (0x0008) ACC_STATIC
Code:
stack=8, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: new org.jruby.ext.timeout.Timeout$TimeoutTask
dup
aload 0
aload 1
aload 2
aload 3
aconst_null
aload 4
invokespecial org.jruby.ext.timeout.Timeout$TimeoutTask.<init>:(Lorg/jruby/RubyThread;Lorg/jruby/RubyModule;Ljava/util/concurrent/atomic/AtomicBoolean;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyString;)V
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 currentThread Lorg/jruby/RubyThread;
0 1 1 timeout Lorg/jruby/RubyModule;
0 1 2 latch Ljava/util/concurrent/atomic/AtomicBoolean;
0 1 3 id Lorg/jruby/runtime/builtin/IRubyObject;
0 1 4 message Lorg/jruby/RubyString;
MethodParameters:
Name Flags
currentThread final
timeout final
latch final
id final
message final
static org.jruby.ext.timeout.Timeout$TimeoutTask newTaskWithException(org.jruby.RubyThread, org.jruby.RubyModule, java.util.concurrent.atomic.AtomicBoolean, org.jruby.runtime.builtin.IRubyObject, org.jruby.RubyString);
descriptor: (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;
flags: (0x0008) ACC_STATIC
Code:
stack=8, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: new org.jruby.ext.timeout.Timeout$TimeoutTask
dup
aload 0
aload 1
aload 2
aconst_null
aload 3
aload 4
invokespecial org.jruby.ext.timeout.Timeout$TimeoutTask.<init>:(Lorg/jruby/RubyThread;Lorg/jruby/RubyModule;Ljava/util/concurrent/atomic/AtomicBoolean;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyString;)V
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 currentThread Lorg/jruby/RubyThread;
0 1 1 timeout Lorg/jruby/RubyModule;
0 1 2 latch Ljava/util/concurrent/atomic/AtomicBoolean;
0 1 3 exception Lorg/jruby/runtime/builtin/IRubyObject;
0 1 4 message Lorg/jruby/RubyString;
MethodParameters:
Name Flags
currentThread final
timeout final
latch final
exception final
message final
public void run();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.ext.timeout.Timeout$TimeoutTask.latch:Ljava/util/concurrent/atomic/AtomicBoolean;
iconst_0
iconst_1
invokevirtual java.util.concurrent.atomic.AtomicBoolean.compareAndSet:(ZZ)Z
ifeq 5
1: aload 0
getfield org.jruby.ext.timeout.Timeout$TimeoutTask.exception:Lorg/jruby/runtime/builtin/IRubyObject;
ifnonnull 4
2: aload 0
invokevirtual org.jruby.ext.timeout.Timeout$TimeoutTask.raiseAnonymous:()V
3: goto 5
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.jruby.ext.timeout.Timeout$TimeoutTask.raiseException:()V
5: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/jruby/ext/timeout/Timeout$TimeoutTask;
private void raiseAnonymous();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield org.jruby.ext.timeout.Timeout$TimeoutTask.timeout:Lorg/jruby/RubyModule;
invokestatic org.jruby.ext.timeout.Timeout.getTimeoutError:(Lorg/jruby/RubyModule;)Lorg/jruby/RubyClass;
aload 0
getfield org.jruby.ext.timeout.Timeout$TimeoutTask.timeout:Lorg/jruby/RubyModule;
invokevirtual org.jruby.RubyModule.getRuntime:()Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getCurrentContext:()Lorg/jruby/runtime/ThreadContext;
aload 0
getfield org.jruby.ext.timeout.Timeout$TimeoutTask.message:Lorg/jruby/RubyString;
getstatic org.jruby.runtime.Block.NULL_BLOCK:Lorg/jruby/runtime/Block;
invokevirtual org.jruby.RubyClass.newInstance:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
1: astore 1
start local 1 2: aload 1
invokeinterface org.jruby.runtime.builtin.IRubyObject.getInternalVariables:()Lorg/jruby/runtime/builtin/InternalVariables;
ldc "__identifier__"
aload 0
getfield org.jruby.ext.timeout.Timeout$TimeoutTask.id:Lorg/jruby/runtime/builtin/IRubyObject;
invokeinterface org.jruby.runtime.builtin.InternalVariables.setInternalVariable:(Ljava/lang/String;Ljava/lang/Object;)V
3: aload 0
getfield org.jruby.ext.timeout.Timeout$TimeoutTask.currentThread:Lorg/jruby/RubyThread;
aload 1
invokevirtual org.jruby.RubyThread.raise:(Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jruby/ext/timeout/Timeout$TimeoutTask;
2 5 1 anonException Lorg/jruby/runtime/builtin/IRubyObject;
private void raiseException();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.ext.timeout.Timeout$TimeoutTask.currentThread:Lorg/jruby/RubyThread;
aload 0
getfield org.jruby.ext.timeout.Timeout$TimeoutTask.exception:Lorg/jruby/runtime/builtin/IRubyObject;
aload 0
getfield org.jruby.ext.timeout.Timeout$TimeoutTask.message:Lorg/jruby/RubyString;
invokevirtual org.jruby.RubyThread.raise:(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyString;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ext/timeout/Timeout$TimeoutTask;
}
SourceFile: "Timeout.java"
NestHost: org.jruby.ext.timeout.Timeout
InnerClasses:
private TimeoutTask = org.jruby.ext.timeout.Timeout$TimeoutTask of org.jruby.ext.timeout.Timeout