class org.jruby.ext.fiber.FiberQueue$2 implements org.jruby.RubyThread$Task<org.jruby.runtime.builtin.IRubyObject[], org.jruby.runtime.builtin.IRubyObject>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.jruby.ext.fiber.FiberQueue$2
super_class: java.lang.Object
{
final org.jruby.ext.fiber.FiberQueue this$0;
descriptor: Lorg/jruby/ext/fiber/FiberQueue;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(org.jruby.ext.fiber.FiberQueue);
descriptor: (Lorg/jruby/ext/fiber/FiberQueue;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield org.jruby.ext.fiber.FiberQueue$2.this$0:Lorg/jruby/ext/fiber/FiberQueue;
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/fiber/FiberQueue$2;
MethodParameters:
Name Flags
this$0 final
public org.jruby.runtime.builtin.IRubyObject run(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=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.jruby.ext.fiber.FiberQueue$2.this$0:Lorg/jruby/ext/fiber/FiberQueue;
invokevirtual org.jruby.ext.fiber.FiberQueue.getQueueSafe:()Ljava/util/concurrent/BlockingQueue;
astore 3
start local 3 1: aload 2
arraylength
iconst_2
if_icmpne 3
aload 2
iconst_1
aaload
invokeinterface org.jruby.runtime.builtin.IRubyObject.isTrue:()Z
ifeq 3
aload 3
invokeinterface java.util.concurrent.BlockingQueue.remainingCapacity:()I
ifne 3
2: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
ldc "queue full"
invokevirtual org.jruby.Ruby.newThreadError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
3: StackMap locals: java.util.concurrent.BlockingQueue
StackMap stack:
aload 3
aload 2
iconst_0
aaload
invokeinterface java.util.concurrent.BlockingQueue.put:(Ljava/lang/Object;)V
4: aload 1
getfield org.jruby.runtime.ThreadContext.nil: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 5 0 this Lorg/jruby/ext/fiber/FiberQueue$2;
0 5 1 context Lorg/jruby/runtime/ThreadContext;
0 5 2 args [Lorg/jruby/runtime/builtin/IRubyObject;
1 5 3 queue Ljava/util/concurrent/BlockingQueue<Lorg/jruby/runtime/builtin/IRubyObject;>;
Exceptions:
throws java.lang.InterruptedException
MethodParameters:
Name Flags
context
args
public void wakeup(org.jruby.RubyThread, org.jruby.runtime.builtin.IRubyObject[]);
descriptor: (Lorg/jruby/RubyThread;[Lorg/jruby/runtime/builtin/IRubyObject;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual org.jruby.RubyThread.getNativeThread:()Ljava/lang/Thread;
invokevirtual java.lang.Thread.interrupt:()V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ext/fiber/FiberQueue$2;
0 2 1 thread Lorg/jruby/RubyThread;
0 2 2 data [Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
thread
data
public java.lang.Object run(org.jruby.runtime.ThreadContext, java.lang.Object);
descriptor: (Lorg/jruby/runtime/ThreadContext;Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
aload 2
checkcast org.jruby.runtime.builtin.IRubyObject[]
invokevirtual org.jruby.ext.fiber.FiberQueue$2.run:(Lorg/jruby/runtime/ThreadContext;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.lang.InterruptedException
public void wakeup(org.jruby.RubyThread, java.lang.Object);
descriptor: (Lorg/jruby/RubyThread;Ljava/lang/Object;)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
aload 2
checkcast org.jruby.runtime.builtin.IRubyObject[]
invokevirtual org.jruby.ext.fiber.FiberQueue$2.wakeup:(Lorg/jruby/RubyThread;[Lorg/jruby/runtime/builtin/IRubyObject;)V
return
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Lorg/jruby/RubyThread$Task<[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;>;
SourceFile: "FiberQueue.java"
EnclosingMethod: org.jruby.ext.fiber.FiberQueue
NestHost: org.jruby.ext.fiber.FiberQueue
InnerClasses:
public abstract Task = org.jruby.RubyThread$Task of org.jruby.RubyThread
org.jruby.ext.fiber.FiberQueue$2