public final class org.jruby.RubyThread$SleepTask implements org.jruby.RubyThread$BlockingTask
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.jruby.RubyThread$SleepTask
super_class: java.lang.Object
{
private final java.lang.Object object;
descriptor: Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final long millis;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int nanos;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(java.lang.Object, long, int);
descriptor: (Ljava/lang/Object;JI)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 4 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.jruby.RubyThread$SleepTask.object:Ljava/lang/Object;
2: aload 0
lload 2
putfield org.jruby.RubyThread$SleepTask.millis:J
3: aload 0
iload 4
putfield org.jruby.RubyThread$SleepTask.nanos:I
4: return
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jruby/RubyThread$SleepTask;
0 5 1 object Ljava/lang/Object;
0 5 2 millis J
0 5 4 nanos I
MethodParameters:
Name Flags
object
millis
nanos
public void run();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield org.jruby.RubyThread$SleepTask.object:Ljava/lang/Object;
dup
astore 1
monitorenter
1: aload 0
getfield org.jruby.RubyThread$SleepTask.object:Ljava/lang/Object;
aload 0
getfield org.jruby.RubyThread$SleepTask.millis:J
aload 0
getfield org.jruby.RubyThread$SleepTask.nanos:I
invokevirtual java.lang.Object.wait:(JI)V
2: aload 1
monitorexit
3: goto 6
StackMap locals: org.jruby.RubyThread$SleepTask java.lang.Object
StackMap stack: java.lang.Throwable
4: aload 1
monitorexit
5: athrow
6: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/jruby/RubyThread$SleepTask;
Exception table:
from to target type
1 3 4 any
4 5 4 any
Exceptions:
throws java.lang.InterruptedException
public void wakeup();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield org.jruby.RubyThread$SleepTask.object:Ljava/lang/Object;
dup
astore 1
monitorenter
1: aload 0
getfield org.jruby.RubyThread$SleepTask.object:Ljava/lang/Object;
invokevirtual java.lang.Object.notify:()V
2: aload 1
monitorexit
3: goto 6
StackMap locals: org.jruby.RubyThread$SleepTask java.lang.Object
StackMap stack: java.lang.Throwable
4: aload 1
monitorexit
5: athrow
6: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/jruby/RubyThread$SleepTask;
Exception table:
from to target type
1 3 4 any
4 5 4 any
}
SourceFile: "RubyThread.java"
NestHost: org.jruby.RubyThread
InnerClasses:
public abstract BlockingTask = org.jruby.RubyThread$BlockingTask of org.jruby.RubyThread
public final SleepTask = org.jruby.RubyThread$SleepTask of org.jruby.RubyThread