public class org.jruby.ir.instructions.ThreadPollInstr extends org.jruby.ir.instructions.NoOperandInstr implements org.jruby.ir.instructions.FixedArityInstr
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.ir.instructions.ThreadPollInstr
super_class: org.jruby.ir.instructions.NoOperandInstr
{
public final boolean onBackEdge;
descriptor: Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public void <init>(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getstatic org.jruby.ir.Operation.THREAD_POLL:Lorg/jruby/ir/Operation;
invokespecial org.jruby.ir.instructions.NoOperandInstr.<init>:(Lorg/jruby/ir/Operation;)V
1: aload 0
iload 1
putfield org.jruby.ir.instructions.ThreadPollInstr.onBackEdge:Z
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/ir/instructions/ThreadPollInstr;
0 3 1 onBackEdge Z
MethodParameters:
Name Flags
onBackEdge
public org.jruby.ir.instructions.Instr clone(org.jruby.ir.transformations.inlining.CloneInfo);
descriptor: (Lorg/jruby/ir/transformations/inlining/CloneInfo;)Lorg/jruby/ir/instructions/Instr;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof org.jruby.ir.transformations.inlining.SimpleCloneInfo
ifeq 1
new org.jruby.ir.instructions.ThreadPollInstr
dup
aload 0
getfield org.jruby.ir.instructions.ThreadPollInstr.onBackEdge:Z
invokespecial org.jruby.ir.instructions.ThreadPollInstr.<init>:(Z)V
areturn
1: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.ir.instructions.ThreadPollInstr.onBackEdge:Z
ifeq 2
new org.jruby.ir.instructions.ThreadPollInstr
dup
aload 0
getfield org.jruby.ir.instructions.ThreadPollInstr.onBackEdge:Z
invokespecial org.jruby.ir.instructions.ThreadPollInstr.<init>:(Z)V
goto 3
StackMap locals:
StackMap stack:
2: aconst_null
StackMap locals:
StackMap stack: org.jruby.ir.instructions.ThreadPollInstr
3: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/ir/instructions/ThreadPollInstr;
0 4 1 ii Lorg/jruby/ir/transformations/inlining/CloneInfo;
MethodParameters:
Name Flags
ii
public void visit(org.jruby.ir.IRVisitor);
descriptor: (Lorg/jruby/ir/IRVisitor;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokevirtual org.jruby.ir.IRVisitor.ThreadPollInstr:(Lorg/jruby/ir/instructions/ThreadPollInstr;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ir/instructions/ThreadPollInstr;
0 2 1 visitor Lorg/jruby/ir/IRVisitor;
MethodParameters:
Name Flags
visitor
public void encode(org.jruby.ir.persistence.IRWriterEncoder);
descriptor: (Lorg/jruby/ir/persistence/IRWriterEncoder;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial org.jruby.ir.instructions.NoOperandInstr.encode:(Lorg/jruby/ir/persistence/IRWriterEncoder;)V
1: aload 1
aload 0
getfield org.jruby.ir.instructions.ThreadPollInstr.onBackEdge:Z
invokeinterface org.jruby.ir.persistence.IRWriterEncoder.encode:(Z)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/ir/instructions/ThreadPollInstr;
0 3 1 e Lorg/jruby/ir/persistence/IRWriterEncoder;
MethodParameters:
Name Flags
e
public static org.jruby.ir.instructions.ThreadPollInstr decode(org.jruby.ir.persistence.IRReaderDecoder);
descriptor: (Lorg/jruby/ir/persistence/IRReaderDecoder;)Lorg/jruby/ir/instructions/ThreadPollInstr;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new org.jruby.ir.instructions.ThreadPollInstr
dup
aload 0
invokeinterface org.jruby.ir.persistence.IRReaderDecoder.decodeBoolean:()Z
invokespecial org.jruby.ir.instructions.ThreadPollInstr.<init>:(Z)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 d Lorg/jruby/ir/persistence/IRReaderDecoder;
MethodParameters:
Name Flags
d
public java.lang.Object interpret(org.jruby.runtime.ThreadContext, org.jruby.parser.StaticScope, org.jruby.runtime.DynamicScope, org.jruby.runtime.builtin.IRubyObject, java.lang.Object[]);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/parser/StaticScope;Lorg/jruby/runtime/DynamicScope;Lorg/jruby/runtime/builtin/IRubyObject;[Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: invokestatic org.jruby.ir.runtime.IRRuntimeHelpers.inProfileMode:()Z
ifeq 1
invokestatic org.jruby.ir.interpreter.Profiler.clockTick:()V
1: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.jruby.runtime.ThreadContext.callThreadPoll:()V
2: aconst_null
areturn
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 3 0 this Lorg/jruby/ir/instructions/ThreadPollInstr;
0 3 1 context Lorg/jruby/runtime/ThreadContext;
0 3 2 currScope Lorg/jruby/parser/StaticScope;
0 3 3 currDynScope Lorg/jruby/runtime/DynamicScope;
0 3 4 self Lorg/jruby/runtime/builtin/IRubyObject;
0 3 5 temp [Ljava/lang/Object;
MethodParameters:
Name Flags
context
currScope
currDynScope
self
temp
}
SourceFile: "ThreadPollInstr.java"