final class org.jruby.ext.ffi.AutoPointer$Reaper
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.jruby.ext.ffi.AutoPointer$Reaper
super_class: java.lang.Object
{
final org.jruby.ext.ffi.Pointer pointer;
descriptor: Lorg/jruby/ext/ffi/Pointer;
flags: (0x0010) ACC_FINAL
final org.jruby.runtime.builtin.IRubyObject proc;
descriptor: Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0010) ACC_FINAL
final org.jruby.runtime.callsite.CachingCallSite callSite;
descriptor: Lorg/jruby/runtime/callsite/CachingCallSite;
flags: (0x0010) ACC_FINAL
volatile org.jruby.ext.ffi.AutoPointer$Reaper next;
descriptor: Lorg/jruby/ext/ffi/AutoPointer$Reaper;
flags: (0x0040) ACC_VOLATILE
volatile boolean released;
descriptor: Z
flags: (0x0040) ACC_VOLATILE
volatile boolean unmanaged;
descriptor: Z
flags: (0x0040) ACC_VOLATILE
private void <init>(org.jruby.ext.ffi.Pointer, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.callsite.CachingCallSite);
descriptor: (Lorg/jruby/ext/ffi/Pointer;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/callsite/CachingCallSite;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.jruby.ext.ffi.AutoPointer$Reaper.pointer:Lorg/jruby/ext/ffi/Pointer;
2: aload 0
aload 2
putfield org.jruby.ext.ffi.AutoPointer$Reaper.proc:Lorg/jruby/runtime/builtin/IRubyObject;
3: aload 0
aload 3
putfield org.jruby.ext.ffi.AutoPointer$Reaper.callSite:Lorg/jruby/runtime/callsite/CachingCallSite;
4: return
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/ffi/AutoPointer$Reaper;
0 5 1 ptr Lorg/jruby/ext/ffi/Pointer;
0 5 2 proc Lorg/jruby/runtime/builtin/IRubyObject;
0 5 3 callSite Lorg/jruby/runtime/callsite/CachingCallSite;
MethodParameters:
Name Flags
ptr
proc
callSite
final org.jruby.Ruby getRuntime();
descriptor: ()Lorg/jruby/Ruby;
flags: (0x0010) ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.ext.ffi.AutoPointer$Reaper.proc:Lorg/jruby/runtime/builtin/IRubyObject;
invokeinterface org.jruby.runtime.builtin.IRubyObject.getRuntime:()Lorg/jruby/Ruby;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ext/ffi/AutoPointer$Reaper;
void dispose(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)V
flags: (0x0000)
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.ext.ffi.AutoPointer$Reaper.callSite:Lorg/jruby/runtime/callsite/CachingCallSite;
aload 1
aload 0
getfield org.jruby.ext.ffi.AutoPointer$Reaper.proc:Lorg/jruby/runtime/builtin/IRubyObject;
aload 0
getfield org.jruby.ext.ffi.AutoPointer$Reaper.proc:Lorg/jruby/runtime/builtin/IRubyObject;
aload 0
getfield org.jruby.ext.ffi.AutoPointer$Reaper.pointer:Lorg/jruby/ext/ffi/Pointer;
invokevirtual org.jruby.runtime.callsite.CachingCallSite.call:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ext/ffi/AutoPointer$Reaper;
0 2 1 context Lorg/jruby/runtime/ThreadContext;
MethodParameters:
Name Flags
context
public final void release(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.ext.ffi.AutoPointer$Reaper.released:Z
ifne 3
1: aload 0
iconst_1
putfield org.jruby.ext.ffi.AutoPointer$Reaper.released:Z
2: aload 0
aload 1
invokevirtual org.jruby.ext.ffi.AutoPointer$Reaper.dispose:(Lorg/jruby/runtime/ThreadContext;)V
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/ext/ffi/AutoPointer$Reaper;
0 4 1 context Lorg/jruby/runtime/ThreadContext;
MethodParameters:
Name Flags
context
public final void autorelease(boolean);
descriptor: (Z)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack: org.jruby.ext.ffi.AutoPointer$Reaper
1: iconst_1
StackMap locals: org.jruby.ext.ffi.AutoPointer$Reaper int
StackMap stack: org.jruby.ext.ffi.AutoPointer$Reaper int
2: putfield org.jruby.ext.ffi.AutoPointer$Reaper.unmanaged:Z
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/ext/ffi/AutoPointer$Reaper;
0 4 1 autorelease Z
MethodParameters:
Name Flags
autorelease
}
SourceFile: "AutoPointer.java"
NestHost: org.jruby.ext.ffi.AutoPointer
InnerClasses:
private final Reaper = org.jruby.ext.ffi.AutoPointer$Reaper of org.jruby.ext.ffi.AutoPointer