class org.jruby.util.io.OpenFile$4 implements org.jruby.RubyThread$Task<org.jruby.util.io.OpenFile, java.lang.Integer>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.jruby.util.io.OpenFile$4
super_class: java.lang.Object
{
final org.jruby.util.io.OpenFile this$0;
descriptor: Lorg/jruby/util/io/OpenFile;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private final int val$lockMode;
descriptor: I
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(org.jruby.util.io.OpenFile, int);
descriptor: (Lorg/jruby/util/io/OpenFile;I)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 0: aload 0
aload 1
putfield org.jruby.util.io.OpenFile$4.this$0:Lorg/jruby/util/io/OpenFile;
aload 0
iload 2
putfield org.jruby.util.io.OpenFile$4.val$lockMode:I
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$4;
MethodParameters:
Name Flags
this$0 final
val$lockMode final
public java.lang.Integer run(org.jruby.runtime.ThreadContext, org.jruby.util.io.OpenFile);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/util/io/OpenFile;)Ljava/lang/Integer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.jruby.util.io.OpenFile$4.this$0:Lorg/jruby/util/io/OpenFile;
getfield org.jruby.util.io.OpenFile.posix:Lorg/jruby/util/io/PosixShim;
aload 0
getfield org.jruby.util.io.OpenFile$4.this$0:Lorg/jruby/util/io/OpenFile;
getfield org.jruby.util.io.OpenFile.fd:Lorg/jruby/util/io/ChannelFD;
aload 0
getfield org.jruby.util.io.OpenFile$4.val$lockMode:I
invokevirtual org.jruby.util.io.PosixShim.flock:(Lorg/jruby/util/io/ChannelFD;I)I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/util/io/OpenFile$4;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 openFile Lorg/jruby/util/io/OpenFile;
Exceptions:
throws java.lang.InterruptedException
MethodParameters:
Name Flags
context
openFile
public void wakeup(org.jruby.RubyThread, org.jruby.util.io.OpenFile);
descriptor: (Lorg/jruby/RubyThread;Lorg/jruby/util/io/OpenFile;)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$4;
0 2 1 thread Lorg/jruby/RubyThread;
0 2 2 openFile Lorg/jruby/util/io/OpenFile;
MethodParameters:
Name Flags
thread
openFile
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
invokevirtual org.jruby.util.io.OpenFile$4.run:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/util/io/OpenFile;)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
invokevirtual org.jruby.util.io.OpenFile$4.wakeup:(Lorg/jruby/RubyThread;Lorg/jruby/util/io/OpenFile;)V
return
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Lorg/jruby/RubyThread$Task<Lorg/jruby/util/io/OpenFile;Ljava/lang/Integer;>;
SourceFile: "OpenFile.java"
EnclosingMethod: org.jruby.util.io.OpenFile.threadFlock:(Lorg/jruby/runtime/ThreadContext;I)I
NestHost: org.jruby.util.io.OpenFile
InnerClasses:
public abstract Task = org.jruby.RubyThread$Task of org.jruby.RubyThread
org.jruby.util.io.OpenFile$4