final class org.jruby.RubyGlobal$PidAccessor implements org.jruby.runtime.IAccessor
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.jruby.RubyGlobal$PidAccessor
super_class: java.lang.Object
{
private final org.jruby.Ruby runtime;
descriptor: Lorg/jruby/Ruby;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private volatile org.jruby.runtime.builtin.IRubyObject pid;
descriptor: Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
public void <init>(org.jruby.Ruby);
descriptor: (Lorg/jruby/Ruby;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aconst_null
putfield org.jruby.RubyGlobal$PidAccessor.pid:Lorg/jruby/runtime/builtin/IRubyObject;
2: aload 0
aload 1
putfield org.jruby.RubyGlobal$PidAccessor.runtime:Lorg/jruby/Ruby;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/RubyGlobal$PidAccessor;
0 4 1 runtime Lorg/jruby/Ruby;
MethodParameters:
Name Flags
runtime
public org.jruby.runtime.builtin.IRubyObject getValue();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.RubyGlobal$PidAccessor.pid:Lorg/jruby/runtime/builtin/IRubyObject;
ifnull 1
aload 0
getfield org.jruby.RubyGlobal$PidAccessor.pid:Lorg/jruby/runtime/builtin/IRubyObject;
goto 2
StackMap locals:
StackMap stack:
1: aload 0
aload 0
getfield org.jruby.RubyGlobal$PidAccessor.runtime:Lorg/jruby/Ruby;
aload 0
getfield org.jruby.RubyGlobal$PidAccessor.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getPosix:()Ljnr/posix/POSIX;
invokeinterface jnr.posix.POSIX.getpid:()I
invokevirtual org.jruby.Ruby.newFixnum:(I)Lorg/jruby/RubyFixnum;
dup_x1
putfield org.jruby.RubyGlobal$PidAccessor.pid:Lorg/jruby/runtime/builtin/IRubyObject;
StackMap locals:
StackMap stack: org.jruby.runtime.builtin.IRubyObject
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/RubyGlobal$PidAccessor;
public org.jruby.runtime.builtin.IRubyObject setValue(org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.RubyGlobal$PidAccessor.runtime:Lorg/jruby/Ruby;
ldc "cannot assign to $$"
invokevirtual org.jruby.Ruby.newRuntimeError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyGlobal$PidAccessor;
0 1 1 newValue Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
newValue
}
SourceFile: "RubyGlobal.java"
NestHost: org.jruby.RubyGlobal
InnerClasses:
private final PidAccessor = org.jruby.RubyGlobal$PidAccessor of org.jruby.RubyGlobal