class org.jruby.util.io.OpenFile$2 implements org.jruby.RubyThread$Task<org.jruby.util.io.OpenFile$InternalReadStruct, java.lang.Integer>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.jruby.util.io.OpenFile$2
super_class: java.lang.Object
{
void <init>();
descriptor: ()V
flags: (0x0000)
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/util/io/OpenFile$2;
public java.lang.Integer run(org.jruby.runtime.ThreadContext, org.jruby.util.io.OpenFile$InternalReadStruct);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/util/io/OpenFile$InternalReadStruct;)Ljava/lang/Integer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 2
getfield org.jruby.util.io.OpenFile$InternalReadStruct.fd:Lorg/jruby/util/io/ChannelFD;
astore 3
start local 3 1: aload 2
getfield org.jruby.util.io.OpenFile$InternalReadStruct.fptr:Lorg/jruby/util/io/OpenFile;
astore 4
start local 4 2: getstatic org.jruby.util.io.OpenFile.$assertionsDisabled:Z
ifne 3
aload 4
invokevirtual org.jruby.util.io.OpenFile.lockedByMe:()Z
ifne 3
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
3: StackMap locals: org.jruby.util.io.ChannelFD org.jruby.util.io.OpenFile
StackMap stack:
aload 4
invokevirtual org.jruby.util.io.OpenFile.unlock:()V
4: aload 4
getfield org.jruby.util.io.OpenFile.posix:Lorg/jruby/util/io/PosixShim;
aload 3
aload 2
getfield org.jruby.util.io.OpenFile$InternalReadStruct.bufBytes:[B
aload 2
getfield org.jruby.util.io.OpenFile$InternalReadStruct.buf:I
aload 2
getfield org.jruby.util.io.OpenFile$InternalReadStruct.capa:I
aload 4
getfield org.jruby.util.io.OpenFile.nonblock:Z
invokevirtual org.jruby.util.io.PosixShim.read:(Lorg/jruby/util/io/ChannelFD;[BIIZ)I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
astore 6
5: aload 4
invokevirtual org.jruby.util.io.OpenFile.lock:()Z
pop
6: aload 6
areturn
7: StackMap locals:
StackMap stack: java.lang.Throwable
astore 5
8: aload 4
invokevirtual org.jruby.util.io.OpenFile.lock:()Z
pop
9: aload 5
athrow
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/jruby/util/io/OpenFile$2;
0 10 1 context Lorg/jruby/runtime/ThreadContext;
0 10 2 iis Lorg/jruby/util/io/OpenFile$InternalReadStruct;
1 10 3 fd Lorg/jruby/util/io/ChannelFD;
2 10 4 fptr Lorg/jruby/util/io/OpenFile;
Exception table:
from to target type
4 5 7 any
Exceptions:
throws java.lang.InterruptedException
MethodParameters:
Name Flags
context
iis
public void wakeup(org.jruby.RubyThread, org.jruby.util.io.OpenFile$InternalReadStruct);
descriptor: (Lorg/jruby/RubyThread;Lorg/jruby/util/io/OpenFile$InternalReadStruct;)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/util/io/OpenFile$2;
0 2 1 thread Lorg/jruby/RubyThread;
0 2 2 data Lorg/jruby/util/io/OpenFile$InternalReadStruct;
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.util.io.OpenFile$InternalReadStruct
invokevirtual org.jruby.util.io.OpenFile$2.run:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/util/io/OpenFile$InternalReadStruct;)Ljava/lang/Integer;
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.util.io.OpenFile$InternalReadStruct
invokevirtual org.jruby.util.io.OpenFile$2.wakeup:(Lorg/jruby/RubyThread;Lorg/jruby/util/io/OpenFile$InternalReadStruct;)V
return
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Lorg/jruby/RubyThread$Task<Lorg/jruby/util/io/OpenFile$InternalReadStruct;Ljava/lang/Integer;>;
SourceFile: "OpenFile.java"
EnclosingMethod: org.jruby.util.io.OpenFile
NestHost: org.jruby.util.io.OpenFile
InnerClasses:
public abstract Task = org.jruby.RubyThread$Task of org.jruby.RubyThread
org.jruby.util.io.OpenFile$2
public InternalReadStruct = org.jruby.util.io.OpenFile$InternalReadStruct of org.jruby.util.io.OpenFile