public class org.jruby.runtime.ivars.VariableTableManager
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.runtime.ivars.VariableTableManager
super_class: java.lang.Object
{
private final org.jruby.RubyClass realClass;
descriptor: Lorg/jruby/RubyClass;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.util.Map<java.lang.String, org.jruby.runtime.ivars.VariableAccessor> variableAccessors;
descriptor: Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Map<Ljava/lang/String;Lorg/jruby/runtime/ivars/VariableAccessor;>;
private volatile java.lang.String[] variableNames;
descriptor: [Ljava/lang/String;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private volatile int hasObjectID;
descriptor: I
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private volatile int hasFFI;
descriptor: I
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private volatile int hasObjectspaceGroup;
descriptor: I
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private volatile int fieldVariables;
descriptor: I
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private final org.jruby.runtime.ivars.VariableAccessorField objectIdVariableAccessorField;
descriptor: Lorg/jruby/runtime/ivars/VariableAccessorField;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.jruby.runtime.ivars.VariableAccessorField ffiHandleVariableAccessorField;
descriptor: Lorg/jruby/runtime/ivars/VariableAccessorField;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.jruby.runtime.ivars.VariableAccessorField objectGroupVariableAccessorField;
descriptor: Lorg/jruby/runtime/ivars/VariableAccessorField;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(org.jruby.RubyClass);
descriptor: (Lorg/jruby/RubyClass;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
getstatic java.util.Collections.EMPTY_MAP:Ljava/util/Map;
putfield org.jruby.runtime.ivars.VariableTableManager.variableAccessors:Ljava/util/Map;
2: aload 0
getstatic org.jruby.util.StringSupport.EMPTY_STRING_ARRAY:[Ljava/lang/String;
putfield org.jruby.runtime.ivars.VariableTableManager.variableNames:[Ljava/lang/String;
3: aload 0
iconst_0
putfield org.jruby.runtime.ivars.VariableTableManager.hasObjectID:I
4: aload 0
iconst_0
putfield org.jruby.runtime.ivars.VariableTableManager.hasFFI:I
5: aload 0
iconst_0
putfield org.jruby.runtime.ivars.VariableTableManager.hasObjectspaceGroup:I
6: aload 0
iconst_0
putfield org.jruby.runtime.ivars.VariableTableManager.fieldVariables:I
7: aload 0
new org.jruby.runtime.ivars.VariableAccessorField
dup
ldc "object_id"
invokespecial org.jruby.runtime.ivars.VariableAccessorField.<init>:(Ljava/lang/String;)V
putfield org.jruby.runtime.ivars.VariableTableManager.objectIdVariableAccessorField:Lorg/jruby/runtime/ivars/VariableAccessorField;
8: aload 0
new org.jruby.runtime.ivars.VariableAccessorField
dup
ldc "ffi"
invokespecial org.jruby.runtime.ivars.VariableAccessorField.<init>:(Ljava/lang/String;)V
putfield org.jruby.runtime.ivars.VariableTableManager.ffiHandleVariableAccessorField:Lorg/jruby/runtime/ivars/VariableAccessorField;
9: aload 0
new org.jruby.runtime.ivars.VariableAccessorField
dup
ldc "objectspace_group"
invokespecial org.jruby.runtime.ivars.VariableAccessorField.<init>:(Ljava/lang/String;)V
putfield org.jruby.runtime.ivars.VariableTableManager.objectGroupVariableAccessorField:Lorg/jruby/runtime/ivars/VariableAccessorField;
10: aload 0
aload 1
putfield org.jruby.runtime.ivars.VariableTableManager.realClass:Lorg/jruby/RubyClass;
11: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/jruby/runtime/ivars/VariableTableManager;
0 12 1 realClass Lorg/jruby/RubyClass;
MethodParameters:
Name Flags
realClass
public java.util.Map<java.lang.String, org.jruby.runtime.ivars.VariableAccessor> getVariableAccessorsForRead();
descriptor: ()Ljava/util/Map;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.runtime.ivars.VariableTableManager.variableAccessors:Ljava/util/Map;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/runtime/ivars/VariableTableManager;
Signature: ()Ljava/util/Map<Ljava/lang/String;Lorg/jruby/runtime/ivars/VariableAccessor;>;
public boolean hasObjectID();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.runtime.ivars.VariableTableManager.hasObjectID:I
iconst_1
if_icmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/runtime/ivars/VariableTableManager;
public long getObjectId(org.jruby.RubyBasicObject);
descriptor: (Lorg/jruby/RubyBasicObject;)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.jruby.runtime.ivars.VariableTableManager.getObjectIdAccessorForRead:()Lorg/jruby/runtime/ivars/VariableAccessor;
astore 2
start local 2 1: aload 2
aload 1
invokevirtual org.jruby.runtime.ivars.VariableAccessor.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Long
astore 3
start local 3 2: aload 3
ifnull 3
aload 3
invokevirtual java.lang.Long.longValue:()J
lreturn
3: StackMap locals: org.jruby.runtime.ivars.VariableAccessor java.lang.Long
StackMap stack:
aload 1
dup
astore 4
monitorenter
4: aload 0
invokevirtual org.jruby.runtime.ivars.VariableTableManager.getObjectIdAccessorForRead:()Lorg/jruby/runtime/ivars/VariableAccessor;
astore 2
5: aload 2
aload 1
invokevirtual org.jruby.runtime.ivars.VariableAccessor.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Long
astore 3
6: aload 3
ifnull 8
aload 3
invokevirtual java.lang.Long.longValue:()J
aload 4
monitorexit
7: lreturn
8: StackMap locals: org.jruby.RubyBasicObject
StackMap stack:
aload 0
invokevirtual org.jruby.runtime.ivars.VariableTableManager.getObjectIdAccessorForWrite:()Lorg/jruby/runtime/ivars/VariableAccessor;
astore 2
9: aload 0
aload 1
aload 2
invokevirtual org.jruby.runtime.ivars.VariableTableManager.initObjectId:(Lorg/jruby/RubyBasicObject;Lorg/jruby/runtime/ivars/VariableAccessor;)J
aload 4
monitorexit
10: lreturn
11: StackMap locals:
StackMap stack: java.lang.Throwable
aload 4
monitorexit
12: athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/jruby/runtime/ivars/VariableTableManager;
0 13 1 self Lorg/jruby/RubyBasicObject;
1 13 2 objectIdAccessor Lorg/jruby/runtime/ivars/VariableAccessor;
2 13 3 id Ljava/lang/Long;
Exception table:
from to target type
4 7 11 any
8 10 11 any
11 12 11 any
MethodParameters:
Name Flags
self
public void setVariableInternal(org.jruby.RubyBasicObject, int, java.lang.Object);
descriptor: (Lorg/jruby/RubyBasicObject;ILjava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: getstatic org.jruby.util.unsafe.UnsafeHolder.U:Lsun/misc/Unsafe;
ifnonnull 3
1: aload 1
aload 0
getfield org.jruby.runtime.ivars.VariableTableManager.realClass:Lorg/jruby/RubyClass;
iload 2
aload 3
invokestatic org.jruby.runtime.ivars.SynchronizedVariableAccessor.setVariable:(Lorg/jruby/RubyBasicObject;Lorg/jruby/RubyClass;ILjava/lang/Object;)V
2: goto 4
3: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield org.jruby.runtime.ivars.VariableTableManager.realClass:Lorg/jruby/RubyClass;
iload 2
aload 3
invokestatic org.jruby.runtime.ivars.StampedVariableAccessor.setVariable:(Lorg/jruby/RubyBasicObject;Lorg/jruby/RubyClass;ILjava/lang/Object;)V
4: StackMap locals:
StackMap stack:
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/runtime/ivars/VariableTableManager;
0 5 1 self Lorg/jruby/RubyBasicObject;
0 5 2 index I
0 5 3 value Ljava/lang/Object;
MethodParameters:
Name Flags
self
index
value
public static void setVariableInternal(org.jruby.RubyClass, org.jruby.RubyBasicObject, int, java.lang.Object);
descriptor: (Lorg/jruby/RubyClass;Lorg/jruby/RubyBasicObject;ILjava/lang/Object;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: getstatic org.jruby.util.unsafe.UnsafeHolder.U:Lsun/misc/Unsafe;
ifnonnull 3
1: aload 1
aload 0
iload 2
aload 3
invokestatic org.jruby.runtime.ivars.SynchronizedVariableAccessor.setVariable:(Lorg/jruby/RubyBasicObject;Lorg/jruby/RubyClass;ILjava/lang/Object;)V
2: goto 4
3: StackMap locals:
StackMap stack:
aload 1
aload 0
iload 2
aload 3
invokestatic org.jruby.runtime.ivars.StampedVariableAccessor.setVariable:(Lorg/jruby/RubyBasicObject;Lorg/jruby/RubyClass;ILjava/lang/Object;)V
4: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 realClass Lorg/jruby/RubyClass;
0 5 1 self Lorg/jruby/RubyBasicObject;
0 5 2 index I
0 5 3 value Ljava/lang/Object;
MethodParameters:
Name Flags
realClass
self
index
value
public org.jruby.runtime.ivars.VariableAccessor getVariableAccessorForWrite(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/jruby/runtime/ivars/VariableAccessor;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.runtime.ivars.VariableTableManager.variableAccessors:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.jruby.runtime.ivars.VariableAccessor
astore 2
start local 2 1: aload 2
ifnonnull 15
2: aload 0
getfield org.jruby.runtime.ivars.VariableTableManager.realClass:Lorg/jruby/RubyClass;
dup
astore 3
monitorenter
3: aload 0
getfield org.jruby.runtime.ivars.VariableTableManager.variableAccessors:Ljava/util/Map;
astore 4
start local 4 4: aload 4
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.jruby.runtime.ivars.VariableAccessor
astore 2
5: aload 2
ifnonnull 11
6: aload 0
aload 1
invokevirtual org.jruby.runtime.ivars.VariableTableManager.allocateVariableAccessor:(Ljava/lang/String;)Lorg/jruby/runtime/ivars/VariableAccessor;
astore 2
7: new java.util.HashMap
dup
aload 4
invokeinterface java.util.Map.size:()I
iconst_1
iadd
invokespecial java.util.HashMap.<init>:(I)V
astore 5
start local 5 8: aload 5
aload 4
invokeinterface java.util.Map.putAll:(Ljava/util/Map;)V
9: aload 5
aload 1
aload 2
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
10: aload 0
aload 5
putfield org.jruby.runtime.ivars.VariableTableManager.variableAccessors:Ljava/util/Map;
end local 5 end local 4 11: StackMap locals: org.jruby.runtime.ivars.VariableAccessor org.jruby.RubyClass
StackMap stack:
aload 3
monitorexit
12: goto 15
StackMap locals:
StackMap stack: java.lang.Throwable
13: aload 3
monitorexit
14: athrow
15: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/jruby/runtime/ivars/VariableTableManager;
0 16 1 name Ljava/lang/String;
1 16 2 ivarAccessor Lorg/jruby/runtime/ivars/VariableAccessor;
4 11 4 myVariableAccessors Ljava/util/Map<Ljava/lang/String;Lorg/jruby/runtime/ivars/VariableAccessor;>;
8 11 5 newVariableAccessors Ljava/util/Map<Ljava/lang/String;Lorg/jruby/runtime/ivars/VariableAccessor;>;
Exception table:
from to target type
3 12 13 any
13 14 13 any
MethodParameters:
Name Flags
name
public org.jruby.runtime.ivars.VariableAccessor getVariableAccessorForVar(java.lang.String, java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle);
descriptor: (Ljava/lang/String;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodHandle;)Lorg/jruby/runtime/ivars/VariableAccessor;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.jruby.runtime.ivars.VariableTableManager.variableAccessors:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.jruby.runtime.ivars.VariableAccessor
astore 4
start local 4 1: aload 4
ifnonnull 15
2: aload 0
getfield org.jruby.runtime.ivars.VariableTableManager.realClass:Lorg/jruby/RubyClass;
dup
astore 5
monitorenter
3: aload 0
getfield org.jruby.runtime.ivars.VariableTableManager.variableAccessors:Ljava/util/Map;
astore 6
start local 6 4: aload 6
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.jruby.runtime.ivars.VariableAccessor
astore 4
5: aload 4
ifnonnull 11
6: aload 0
aload 1
aload 2
aload 3
invokevirtual org.jruby.runtime.ivars.VariableTableManager.allocateVariableAccessorForVar:(Ljava/lang/String;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodHandle;)Lorg/jruby/runtime/ivars/VariableAccessor;
astore 4
7: new java.util.HashMap
dup
aload 6
invokeinterface java.util.Map.size:()I
iconst_1
iadd
invokespecial java.util.HashMap.<init>:(I)V
astore 7
start local 7 8: aload 7
aload 6
invokeinterface java.util.Map.putAll:(Ljava/util/Map;)V
9: aload 7
aload 1
aload 4
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
10: aload 0
aload 7
putfield org.jruby.runtime.ivars.VariableTableManager.variableAccessors:Ljava/util/Map;
end local 7 end local 6 11: StackMap locals: org.jruby.runtime.ivars.VariableAccessor org.jruby.RubyClass
StackMap stack:
aload 5
monitorexit
12: goto 15
StackMap locals:
StackMap stack: java.lang.Throwable
13: aload 5
monitorexit
14: athrow
15: StackMap locals:
StackMap stack:
aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/jruby/runtime/ivars/VariableTableManager;
0 16 1 name Ljava/lang/String;
0 16 2 getter Ljava/lang/invoke/MethodHandle;
0 16 3 setter Ljava/lang/invoke/MethodHandle;
1 16 4 ivarAccessor Lorg/jruby/runtime/ivars/VariableAccessor;
4 11 6 myVariableAccessors Ljava/util/Map<Ljava/lang/String;Lorg/jruby/runtime/ivars/VariableAccessor;>;
8 11 7 newVariableAccessors Ljava/util/Map<Ljava/lang/String;Lorg/jruby/runtime/ivars/VariableAccessor;>;
Exception table:
from to target type
3 12 13 any
13 14 13 any
MethodParameters:
Name Flags
name
getter
setter
public org.jruby.runtime.ivars.VariableAccessor getVariableAccessorForRead(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/jruby/runtime/ivars/VariableAccessor;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.jruby.runtime.ivars.VariableTableManager.getVariableAccessorsForRead:()Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.jruby.runtime.ivars.VariableAccessor
astore 2
start local 2 1: aload 2
ifnonnull 2
getstatic org.jruby.runtime.ivars.VariableAccessor.DUMMY_ACCESSOR:Lorg/jruby/runtime/ivars/VariableAccessor;
astore 2
2: StackMap locals: org.jruby.runtime.ivars.VariableAccessor
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/runtime/ivars/VariableTableManager;
0 3 1 name Ljava/lang/String;
1 3 2 accessor Lorg/jruby/runtime/ivars/VariableAccessor;
MethodParameters:
Name Flags
name
public org.jruby.runtime.ivars.VariableAccessor getObjectIdAccessorForRead();
descriptor: ()Lorg/jruby/runtime/ivars/VariableAccessor;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.runtime.ivars.VariableTableManager.objectIdVariableAccessorField:Lorg/jruby/runtime/ivars/VariableAccessorField;
invokevirtual org.jruby.runtime.ivars.VariableAccessorField.getVariableAccessorForRead:()Lorg/jruby/runtime/ivars/VariableAccessor;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/runtime/ivars/VariableTableManager;
public org.jruby.runtime.ivars.VariableAccessor getObjectIdAccessorForWrite();
descriptor: ()Lorg/jruby/runtime/ivars/VariableAccessor;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.runtime.ivars.VariableTableManager.hasObjectID:I
ifne 1
aload 0
iconst_1
putfield org.jruby.runtime.ivars.VariableTableManager.hasObjectID:I
1: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.runtime.ivars.VariableTableManager.objectIdVariableAccessorField:Lorg/jruby/runtime/ivars/VariableAccessorField;
aload 0
invokevirtual org.jruby.runtime.ivars.VariableAccessorField.getVariableAccessorForWrite:(Lorg/jruby/runtime/ivars/VariableTableManager;)Lorg/jruby/runtime/ivars/VariableAccessor;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/runtime/ivars/VariableTableManager;
public org.jruby.runtime.ivars.VariableAccessor getFFIHandleAccessorForRead();
descriptor: ()Lorg/jruby/runtime/ivars/VariableAccessor;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.runtime.ivars.VariableTableManager.ffiHandleVariableAccessorField:Lorg/jruby/runtime/ivars/VariableAccessorField;
invokevirtual org.jruby.runtime.ivars.VariableAccessorField.getVariableAccessorForRead:()Lorg/jruby/runtime/ivars/VariableAccessor;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/runtime/ivars/VariableTableManager;
public org.jruby.runtime.ivars.VariableAccessor getFFIHandleAccessorForWrite();
descriptor: ()Lorg/jruby/runtime/ivars/VariableAccessor;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.runtime.ivars.VariableTableManager.hasFFI:I
ifne 1
aload 0
iconst_1
putfield org.jruby.runtime.ivars.VariableTableManager.hasFFI:I
1: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.runtime.ivars.VariableTableManager.ffiHandleVariableAccessorField:Lorg/jruby/runtime/ivars/VariableAccessorField;
aload 0
invokevirtual org.jruby.runtime.ivars.VariableAccessorField.getVariableAccessorForWrite:(Lorg/jruby/runtime/ivars/VariableTableManager;)Lorg/jruby/runtime/ivars/VariableAccessor;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/runtime/ivars/VariableTableManager;
public org.jruby.runtime.ivars.VariableAccessor getObjectGroupAccessorForRead();
descriptor: ()Lorg/jruby/runtime/ivars/VariableAccessor;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.runtime.ivars.VariableTableManager.objectGroupVariableAccessorField:Lorg/jruby/runtime/ivars/VariableAccessorField;
invokevirtual org.jruby.runtime.ivars.VariableAccessorField.getVariableAccessorForRead:()Lorg/jruby/runtime/ivars/VariableAccessor;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/runtime/ivars/VariableTableManager;
public org.jruby.runtime.ivars.VariableAccessor getObjectGroupAccessorForWrite();
descriptor: ()Lorg/jruby/runtime/ivars/VariableAccessor;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.runtime.ivars.VariableTableManager.hasObjectspaceGroup:I
ifne 1
aload 0
iconst_1
putfield org.jruby.runtime.ivars.VariableTableManager.hasObjectspaceGroup:I
1: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.runtime.ivars.VariableTableManager.objectGroupVariableAccessorField:Lorg/jruby/runtime/ivars/VariableAccessorField;
aload 0
invokevirtual org.jruby.runtime.ivars.VariableAccessorField.getVariableAccessorForWrite:(Lorg/jruby/runtime/ivars/VariableTableManager;)Lorg/jruby/runtime/ivars/VariableAccessor;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/runtime/ivars/VariableTableManager;
public final java.lang.Object getFFIHandle(org.jruby.RubyBasicObject);
descriptor: (Lorg/jruby/RubyBasicObject;)Ljava/lang/Object;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.jruby.runtime.ivars.VariableTableManager.getFFIHandleAccessorForRead:()Lorg/jruby/runtime/ivars/VariableAccessor;
aload 1
invokevirtual org.jruby.runtime.ivars.VariableAccessor.get:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/runtime/ivars/VariableTableManager;
0 1 1 self Lorg/jruby/RubyBasicObject;
MethodParameters:
Name Flags
self
public final void setFFIHandle(org.jruby.RubyBasicObject, java.lang.Object);
descriptor: (Lorg/jruby/RubyBasicObject;Ljava/lang/Object;)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.jruby.runtime.ivars.VariableTableManager.getFFIHandleAccessorForWrite:()Lorg/jruby/runtime/ivars/VariableAccessor;
invokevirtual org.jruby.runtime.ivars.VariableAccessor.getIndex:()I
istore 3
start local 3 1: aload 0
getfield org.jruby.runtime.ivars.VariableTableManager.realClass:Lorg/jruby/RubyClass;
aload 1
iload 3
aload 2
invokestatic org.jruby.runtime.ivars.VariableTableManager.setVariableInternal:(Lorg/jruby/RubyClass;Lorg/jruby/RubyBasicObject;ILjava/lang/Object;)V
2: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/runtime/ivars/VariableTableManager;
0 3 1 self Lorg/jruby/RubyBasicObject;
0 3 2 value Ljava/lang/Object;
1 3 3 index I
MethodParameters:
Name Flags
self
value
public int getVariableTableSize();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.runtime.ivars.VariableTableManager.variableAccessors:Ljava/util/Map;
invokeinterface java.util.Map.size:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/runtime/ivars/VariableTableManager;
public int ();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.runtime.ivars.VariableTableManager.variableNames:[Ljava/lang/String;
arraylength
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/runtime/ivars/VariableTableManager;
public java.util.Map<java.lang.String, org.jruby.runtime.ivars.VariableAccessor> getVariableTableCopy();
descriptor: ()Ljava/util/Map;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.util.HashMap
dup
aload 0
invokevirtual org.jruby.runtime.ivars.VariableTableManager.getVariableAccessorsForRead:()Ljava/util/Map;
invokespecial java.util.HashMap.<init>:(Ljava/util/Map;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/runtime/ivars/VariableTableManager;
Signature: ()Ljava/util/Map<Ljava/lang/String;Lorg/jruby/runtime/ivars/VariableAccessor;>;
public java.lang.String[] getVariableNames();
descriptor: ()[Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.runtime.ivars.VariableTableManager.variableNames:[Ljava/lang/String;
invokevirtual java.lang.String[].clone:()Ljava/lang/Object;
checkcast java.lang.String[]
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/runtime/ivars/VariableTableManager;
public void syncVariables(org.jruby.RubyBasicObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/RubyBasicObject;Lorg/jruby/runtime/builtin/IRubyObject;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=10, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokeinterface org.jruby.runtime.builtin.IRubyObject.getMetaClass:()Lorg/jruby/RubyClass;
invokevirtual org.jruby.RubyClass.getRealClass:()Lorg/jruby/RubyClass;
astore 3
start local 3 1: aload 3
aload 0
getfield org.jruby.runtime.ivars.VariableTableManager.realClass:Lorg/jruby/RubyClass;
if_acmpne 2
iconst_1
goto 3
StackMap locals: org.jruby.RubyClass
StackMap stack:
2: iconst_0
StackMap locals:
StackMap stack: int
3: istore 4
start local 4 4: iload 4
ifeq 24
aload 0
getfield org.jruby.runtime.ivars.VariableTableManager.fieldVariables:I
ifne 24
5: aload 3
invokevirtual org.jruby.RubyClass.getObjectIdAccessorField:()Lorg/jruby/runtime/ivars/VariableAccessorField;
invokevirtual org.jruby.runtime.ivars.VariableAccessorField.getVariableAccessorForRead:()Lorg/jruby/runtime/ivars/VariableAccessor;
invokevirtual org.jruby.runtime.ivars.VariableAccessor.getIndex:()I
istore 5
start local 5 6: aload 2
checkcast org.jruby.RubyBasicObject
getfield org.jruby.RubyBasicObject.varTable:[Ljava/lang/Object;
astore 6
start local 6 7: getstatic org.jruby.util.unsafe.UnsafeHolder.U:Lsun/misc/Unsafe;
ifnonnull 14
8: aload 1
dup
astore 7
monitorenter
9: aload 1
aload 1
getfield org.jruby.RubyBasicObject.varTable:[Ljava/lang/Object;
aload 6
iload 5
invokestatic org.jruby.runtime.ivars.VariableTableManager.makeSyncedTable:([Ljava/lang/Object;[Ljava/lang/Object;I)[Ljava/lang/Object;
putfield org.jruby.RubyBasicObject.varTable:[Ljava/lang/Object;
10: aload 7
monitorexit
11: goto 34
StackMap locals: org.jruby.runtime.ivars.VariableTableManager org.jruby.RubyBasicObject org.jruby.runtime.builtin.IRubyObject org.jruby.RubyClass int int java.lang.Object[] org.jruby.RubyBasicObject
StackMap stack: java.lang.Throwable
12: aload 7
monitorexit
13: athrow
14: StackMap locals:
StackMap stack:
aload 1
getfield org.jruby.RubyBasicObject.varTableStamp:I
istore 7
start local 7 15: iload 7
iconst_1
iand
iconst_1
if_icmpne 17
16: goto 14
17: StackMap locals: int
StackMap stack:
getstatic org.jruby.util.unsafe.UnsafeHolder.U:Lsun/misc/Unsafe;
aload 1
getstatic org.jruby.RubyBasicObject.STAMP_OFFSET:J
iload 7
iinc 7 1
iload 7
invokevirtual sun.misc.Unsafe.compareAndSwapInt:(Ljava/lang/Object;JII)Z
ifne 19
18: goto 14
19: StackMap locals:
StackMap stack:
getstatic org.jruby.util.unsafe.UnsafeHolder.U:Lsun/misc/Unsafe;
aload 1
getstatic org.jruby.RubyBasicObject.VAR_TABLE_OFFSET:J
invokevirtual sun.misc.Unsafe.getObjectVolatile:(Ljava/lang/Object;J)Ljava/lang/Object;
checkcast java.lang.Object[]
astore 8
start local 8 20: aload 8
aload 6
iload 5
invokestatic org.jruby.runtime.ivars.VariableTableManager.makeSyncedTable:([Ljava/lang/Object;[Ljava/lang/Object;I)[Ljava/lang/Object;
astore 9
start local 9 21: getstatic org.jruby.util.unsafe.UnsafeHolder.U:Lsun/misc/Unsafe;
aload 1
getstatic org.jruby.RubyBasicObject.VAR_TABLE_OFFSET:J
aload 9
invokevirtual sun.misc.Unsafe.putOrderedObject:(Ljava/lang/Object;JLjava/lang/Object;)V
22: aload 1
iload 7
iconst_1
iadd
putfield org.jruby.RubyBasicObject.varTableStamp:I
end local 9 end local 8 end local 7 end local 6 end local 5 23: goto 34
24: StackMap locals:
StackMap stack:
aload 3
invokevirtual org.jruby.RubyClass.getVariableAccessorsForRead:()Ljava/util/Map;
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 6
goto 33
StackMap locals: org.jruby.runtime.ivars.VariableTableManager org.jruby.RubyBasicObject org.jruby.runtime.builtin.IRubyObject org.jruby.RubyClass int top java.util.Iterator
StackMap stack:
25: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 5
start local 5 26: aload 5
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast org.jruby.runtime.ivars.VariableAccessor
astore 7
start local 7 27: aload 7
aload 2
invokevirtual org.jruby.runtime.ivars.VariableAccessor.get:(Ljava/lang/Object;)Ljava/lang/Object;
astore 8
start local 8 28: aload 8
ifnull 33
29: iload 4
ifeq 32
30: aload 7
aload 1
aload 8
invokevirtual org.jruby.runtime.ivars.VariableAccessor.set:(Ljava/lang/Object;Ljava/lang/Object;)V
31: goto 33
32: StackMap locals: org.jruby.runtime.ivars.VariableTableManager org.jruby.RubyBasicObject org.jruby.runtime.builtin.IRubyObject org.jruby.RubyClass int java.util.Map$Entry java.util.Iterator org.jruby.runtime.ivars.VariableAccessor java.lang.Object
StackMap stack:
aload 0
getfield org.jruby.runtime.ivars.VariableTableManager.realClass:Lorg/jruby/RubyClass;
aload 7
invokevirtual org.jruby.runtime.ivars.VariableAccessor.getName:()Ljava/lang/String;
invokevirtual org.jruby.RubyClass.getVariableAccessorForWrite:(Ljava/lang/String;)Lorg/jruby/runtime/ivars/VariableAccessor;
aload 1
aload 8
invokevirtual org.jruby.runtime.ivars.VariableAccessor.set:(Ljava/lang/Object;Ljava/lang/Object;)V
end local 8 end local 7 end local 5 33: StackMap locals: org.jruby.runtime.ivars.VariableTableManager org.jruby.RubyBasicObject org.jruby.runtime.builtin.IRubyObject org.jruby.RubyClass int top java.util.Iterator
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 25
34: StackMap locals: org.jruby.runtime.ivars.VariableTableManager org.jruby.RubyBasicObject org.jruby.runtime.builtin.IRubyObject org.jruby.RubyClass int
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 35 0 this Lorg/jruby/runtime/ivars/VariableTableManager;
0 35 1 self Lorg/jruby/RubyBasicObject;
0 35 2 other Lorg/jruby/runtime/builtin/IRubyObject;
1 35 3 otherRealClass Lorg/jruby/RubyClass;
4 35 4 sameTable Z
6 23 5 idIndex I
7 23 6 otherVars [Ljava/lang/Object;
15 23 7 oldStamp I
20 23 8 currentTable [Ljava/lang/Object;
21 23 9 newTable [Ljava/lang/Object;
26 33 5 entry Ljava/util/Map$Entry<Ljava/lang/String;Lorg/jruby/runtime/ivars/VariableAccessor;>;
27 33 7 accessor Lorg/jruby/runtime/ivars/VariableAccessor;
28 33 8 value Ljava/lang/Object;
Exception table:
from to target type
9 11 12 any
12 13 12 any
MethodParameters:
Name Flags
self
other
public boolean hasVariables(org.jruby.RubyBasicObject);
descriptor: (Lorg/jruby/RubyBasicObject;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.runtime.ivars.VariableTableManager.fieldVariables:I
ifgt 5
1: aload 1
getfield org.jruby.RubyBasicObject.varTable:[Ljava/lang/Object;
dup
astore 2
start local 2 2: ifnull 4
aload 2
arraylength
aload 0
getfield org.jruby.runtime.ivars.VariableTableManager.hasObjectID:I
aload 0
getfield org.jruby.runtime.ivars.VariableTableManager.hasFFI:I
iadd
aload 0
getfield org.jruby.runtime.ivars.VariableTableManager.hasObjectspaceGroup:I
iadd
3: if_icmpgt 5
end local 2 StackMap locals:
StackMap stack:
4: iconst_0
ireturn
StackMap locals:
StackMap stack:
5: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/jruby/runtime/ivars/VariableTableManager;
0 6 1 object Lorg/jruby/RubyBasicObject;
2 4 2 myVarTable [Ljava/lang/Object;
MethodParameters:
Name Flags
object
public void serializeVariables(org.jruby.RubyBasicObject, java.io.ObjectOutputStream);
descriptor: (Lorg/jruby/RubyBasicObject;Ljava/io/ObjectOutputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 1
getfield org.jruby.RubyBasicObject.varTable:[Ljava/lang/Object;
ifnull 9
1: aload 0
invokevirtual org.jruby.runtime.ivars.VariableTableManager.getVariableAccessorsForRead:()Ljava/util/Map;
astore 3
start local 3 2: aload 2
aload 3
invokeinterface java.util.Map.size:()I
invokevirtual java.io.ObjectOutputStream.writeInt:(I)V
3: aload 3
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 5
goto 7
StackMap locals: org.jruby.runtime.ivars.VariableTableManager org.jruby.RubyBasicObject java.io.ObjectOutputStream java.util.Map top java.util.Iterator
StackMap stack:
4: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.jruby.runtime.ivars.VariableAccessor
astore 4
start local 4 5: aload 2
ldc "Insecure: can't modify instance variable"
invokevirtual java.io.ObjectOutputStream.writeUTF:(Ljava/lang/String;)V
6: aload 2
aload 4
aload 1
invokevirtual org.jruby.runtime.ivars.VariableAccessor.get:(Ljava/lang/Object;)Ljava/lang/Object;
invokevirtual java.io.ObjectOutputStream.writeObject:(Ljava/lang/Object;)V
end local 4 7: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
end local 3 8: goto 10
9: StackMap locals: org.jruby.runtime.ivars.VariableTableManager org.jruby.RubyBasicObject java.io.ObjectOutputStream
StackMap stack:
aload 2
iconst_0
invokevirtual java.io.ObjectOutputStream.writeInt:(I)V
10: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/jruby/runtime/ivars/VariableTableManager;
0 11 1 object Lorg/jruby/RubyBasicObject;
0 11 2 oos Ljava/io/ObjectOutputStream;
2 8 3 accessors Ljava/util/Map<Ljava/lang/String;Lorg/jruby/runtime/ivars/VariableAccessor;>;
5 7 4 accessor Lorg/jruby/runtime/ivars/VariableAccessor;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
object
oos
public void deserializeVariables(org.jruby.RubyBasicObject, java.io.ObjectInputStream);
descriptor: (Lorg/jruby/RubyBasicObject;Ljava/io/ObjectInputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokevirtual java.io.ObjectInputStream.readInt:()I
istore 3
start local 3 1: iconst_0
istore 4
start local 4 2: goto 7
3: StackMap locals: int int
StackMap stack:
aload 2
invokevirtual java.io.ObjectInputStream.readUTF:()Ljava/lang/String;
astore 5
start local 5 4: aload 2
invokevirtual java.io.ObjectInputStream.readObject:()Ljava/lang/Object;
astore 6
start local 6 5: aload 0
aload 5
invokevirtual org.jruby.runtime.ivars.VariableTableManager.getVariableAccessorForWrite:(Ljava/lang/String;)Lorg/jruby/runtime/ivars/VariableAccessor;
aload 1
aload 6
invokevirtual org.jruby.runtime.ivars.VariableAccessor.set:(Ljava/lang/Object;Ljava/lang/Object;)V
end local 6 end local 5 6: iinc 4 1
StackMap locals:
StackMap stack:
7: iload 4
iload 3
if_icmplt 3
end local 4 8: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/jruby/runtime/ivars/VariableTableManager;
0 9 1 object Lorg/jruby/RubyBasicObject;
0 9 2 ois Ljava/io/ObjectInputStream;
1 9 3 varCount I
2 8 4 i I
4 6 5 name Ljava/lang/String;
5 6 6 value Ljava/lang/Object;
Exceptions:
throws java.io.IOException, java.lang.ClassNotFoundException
MethodParameters:
Name Flags
object
ois
public java.lang.Object clearVariable(org.jruby.RubyBasicObject, java.lang.String);
descriptor: (Lorg/jruby/RubyBasicObject;Ljava/lang/String;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
dup
astore 3
monitorenter
1: aload 0
aload 2
invokevirtual org.jruby.runtime.ivars.VariableTableManager.getVariableAccessorForRead:(Ljava/lang/String;)Lorg/jruby/runtime/ivars/VariableAccessor;
aload 1
invokevirtual org.jruby.runtime.ivars.VariableAccessor.get:(Ljava/lang/Object;)Ljava/lang/Object;
astore 4
start local 4 2: aload 0
aload 2
invokevirtual org.jruby.runtime.ivars.VariableTableManager.getVariableAccessorForWrite:(Ljava/lang/String;)Lorg/jruby/runtime/ivars/VariableAccessor;
aload 1
aconst_null
invokevirtual org.jruby.runtime.ivars.VariableAccessor.set:(Ljava/lang/Object;Ljava/lang/Object;)V
3: aload 4
aload 3
monitorexit
4: areturn
end local 4 5: StackMap locals: org.jruby.runtime.ivars.VariableTableManager org.jruby.RubyBasicObject java.lang.String org.jruby.RubyBasicObject
StackMap stack: java.lang.Throwable
aload 3
monitorexit
6: athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/jruby/runtime/ivars/VariableTableManager;
0 7 1 object Lorg/jruby/RubyBasicObject;
0 7 2 name Ljava/lang/String;
2 5 4 value Ljava/lang/Object;
Exception table:
from to target type
1 4 5 any
5 6 5 any
MethodParameters:
Name Flags
object
name
private long initObjectId(org.jruby.RubyBasicObject, org.jruby.runtime.ivars.VariableAccessor);
descriptor: (Lorg/jruby/RubyBasicObject;Lorg/jruby/runtime/ivars/VariableAccessor;)J
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual org.jruby.RubyBasicObject.getRuntime:()Lorg/jruby/Ruby;
astore 3
start local 3 1: aload 3
invokevirtual org.jruby.Ruby.isObjectSpaceEnabled:()Z
ifeq 4
2: aload 3
invokevirtual org.jruby.Ruby.getObjectSpace:()Lorg/jruby/runtime/ObjectSpace;
aload 1
invokevirtual org.jruby.runtime.ObjectSpace.createAndRegisterObjectId:(Lorg/jruby/runtime/builtin/IRubyObject;)J
lstore 4
start local 4 3: goto 5
end local 4 4: StackMap locals: org.jruby.Ruby
StackMap stack:
aload 1
invokestatic org.jruby.runtime.ObjectSpace.calculateObjectId:(Ljava/lang/Object;)J
lstore 4
start local 4 5: StackMap locals: long
StackMap stack:
aload 0
getfield org.jruby.runtime.ivars.VariableTableManager.realClass:Lorg/jruby/RubyClass;
aload 1
aload 2
invokevirtual org.jruby.runtime.ivars.VariableAccessor.getIndex:()I
lload 4
invokestatic org.jruby.runtime.ivars.VariableTableManager.setObjectId:(Lorg/jruby/RubyClass;Lorg/jruby/RubyBasicObject;IJ)V
6: lload 4
lreturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/jruby/runtime/ivars/VariableTableManager;
0 7 1 self Lorg/jruby/RubyBasicObject;
0 7 2 objectIdAccessor Lorg/jruby/runtime/ivars/VariableAccessor;
1 7 3 runtime Lorg/jruby/Ruby;
3 4 4 id J
5 7 4 id J
MethodParameters:
Name Flags
self
objectIdAccessor
private static void setObjectId(org.jruby.RubyClass, org.jruby.RubyBasicObject, int, long);
descriptor: (Lorg/jruby/RubyClass;Lorg/jruby/RubyBasicObject;IJ)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 2
ifge 1
return
1: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
lload 3
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
invokestatic org.jruby.runtime.ivars.VariableTableManager.setVariableInternal:(Lorg/jruby/RubyClass;Lorg/jruby/RubyBasicObject;ILjava/lang/Object;)V
2: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 realClass Lorg/jruby/RubyClass;
0 3 1 self Lorg/jruby/RubyBasicObject;
0 3 2 index I
0 3 3 value J
MethodParameters:
Name Flags
realClass
self
index
value
private static java.lang.Object[] makeSyncedTable(java.lang.Object[], java.lang.Object[], int);
descriptor: ([Ljava/lang/Object;[Ljava/lang/Object;I)[Ljava/lang/Object;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
ifnull 1
aload 0
arraylength
aload 1
arraylength
if_icmpge 3
1: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.Object[].clone:()Ljava/lang/Object;
checkcast java.lang.Object[]
astore 0
2: goto 4
3: StackMap locals:
StackMap stack:
aload 1
aload 0
iconst_0
aload 1
arraylength
invokestatic org.jruby.util.ArraySupport.copy:([Ljava/lang/Object;[Ljava/lang/Object;II)V
4: StackMap locals:
StackMap stack:
iload 2
iflt 6
iload 2
aload 0
arraylength
if_icmpge 6
5: aload 0
iload 2
aconst_null
aastore
6: StackMap locals:
StackMap stack:
aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 currentTable [Ljava/lang/Object;
0 7 1 otherTable [Ljava/lang/Object;
0 7 2 objectIdIdx I
MethodParameters:
Name Flags
currentTable
otherTable
objectIdIdx
final synchronized org.jruby.runtime.ivars.VariableAccessor allocateVariableAccessor(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/jruby/runtime/ivars/VariableAccessor;
flags: (0x0030) ACC_FINAL, ACC_SYNCHRONIZED
Code:
stack=6, locals=7, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.runtime.ivars.VariableTableManager.realClass:Lorg/jruby/RubyClass;
getfield org.jruby.RubyClass.id:I
istore 2
start local 2 1: aload 0
getfield org.jruby.runtime.ivars.VariableTableManager.variableNames:[Ljava/lang/String;
astore 3
start local 3 2: aload 3
arraylength
istore 4
start local 4 3: getstatic org.jruby.util.cli.Options.VOLATILE_VARIABLES:Lcom/headius/options/Option;
invokevirtual com.headius.options.Option.load:()Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
ifeq 9
4: getstatic org.jruby.util.unsafe.UnsafeHolder.U:Lsun/misc/Unsafe;
ifnonnull 7
5: new org.jruby.runtime.ivars.SynchronizedVariableAccessor
dup
aload 0
getfield org.jruby.runtime.ivars.VariableTableManager.realClass:Lorg/jruby/RubyClass;
aload 1
iload 4
iload 2
invokespecial org.jruby.runtime.ivars.SynchronizedVariableAccessor.<init>:(Lorg/jruby/RubyClass;Ljava/lang/String;II)V
astore 5
start local 5 6: goto 13
end local 5 7: StackMap locals: int java.lang.String[] int
StackMap stack:
new org.jruby.runtime.ivars.StampedVariableAccessor
dup
aload 0
getfield org.jruby.runtime.ivars.VariableTableManager.realClass:Lorg/jruby/RubyClass;
aload 1
iload 4
iload 2
invokespecial org.jruby.runtime.ivars.StampedVariableAccessor.<init>:(Lorg/jruby/RubyClass;Ljava/lang/String;II)V
astore 5
start local 5 8: goto 13
end local 5 9: StackMap locals:
StackMap stack:
getstatic org.jruby.util.unsafe.UnsafeHolder.U:Lsun/misc/Unsafe;
ifnonnull 12
10: new org.jruby.runtime.ivars.NonvolatileVariableAccessor
dup
aload 0
getfield org.jruby.runtime.ivars.VariableTableManager.realClass:Lorg/jruby/RubyClass;
aload 1
iload 4
iload 2
invokespecial org.jruby.runtime.ivars.NonvolatileVariableAccessor.<init>:(Lorg/jruby/RubyClass;Ljava/lang/String;II)V
astore 5
start local 5 11: goto 13
end local 5 12: StackMap locals:
StackMap stack:
new org.jruby.runtime.ivars.StampedVariableAccessor
dup
aload 0
getfield org.jruby.runtime.ivars.VariableTableManager.realClass:Lorg/jruby/RubyClass;
aload 1
iload 4
iload 2
invokespecial org.jruby.runtime.ivars.StampedVariableAccessor.<init>:(Lorg/jruby/RubyClass;Ljava/lang/String;II)V
astore 5
start local 5 13: StackMap locals: org.jruby.runtime.ivars.VariableAccessor
StackMap stack:
iload 4
iconst_1
iadd
anewarray java.lang.String
astore 6
start local 6 14: aload 3
iconst_0
aload 6
iconst_0
iload 4
invokestatic org.jruby.util.ArraySupport.copy:([Ljava/lang/Object;I[Ljava/lang/Object;II)V
15: aload 6
iload 4
aload 1
aastore
16: aload 0
aload 6
putfield org.jruby.runtime.ivars.VariableTableManager.variableNames:[Ljava/lang/String;
17: aload 5
areturn
end local 6 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 18 0 this Lorg/jruby/runtime/ivars/VariableTableManager;
0 18 1 name Ljava/lang/String;
1 18 2 id I
2 18 3 myVariableNames [Ljava/lang/String;
3 18 4 newIndex I
6 7 5 newVariableAccessor Lorg/jruby/runtime/ivars/VariableAccessor;
8 9 5 newVariableAccessor Lorg/jruby/runtime/ivars/VariableAccessor;
11 12 5 newVariableAccessor Lorg/jruby/runtime/ivars/VariableAccessor;
13 18 5 newVariableAccessor Lorg/jruby/runtime/ivars/VariableAccessor;
14 18 6 newVariableNames [Ljava/lang/String;
MethodParameters:
Name Flags
name
final synchronized org.jruby.runtime.ivars.VariableAccessor allocateVariableAccessorForVar(java.lang.String, java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle);
descriptor: (Ljava/lang/String;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodHandle;)Lorg/jruby/runtime/ivars/VariableAccessor;
flags: (0x0030) ACC_FINAL, ACC_SYNCHRONIZED
Code:
stack=8, locals=9, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.jruby.runtime.ivars.VariableTableManager.realClass:Lorg/jruby/RubyClass;
getfield org.jruby.RubyClass.id:I
istore 4
start local 4 1: aload 0
getfield org.jruby.runtime.ivars.VariableTableManager.variableNames:[Ljava/lang/String;
astore 5
start local 5 2: aload 5
arraylength
istore 6
start local 6 3: aload 0
dup
getfield org.jruby.runtime.ivars.VariableTableManager.fieldVariables:I
iconst_1
iadd
putfield org.jruby.runtime.ivars.VariableTableManager.fieldVariables:I
4: new org.jruby.runtime.ivars.FieldVariableAccessor
dup
aload 0
getfield org.jruby.runtime.ivars.VariableTableManager.realClass:Lorg/jruby/RubyClass;
aload 1
iload 6
iload 4
aload 2
aload 3
invokespecial org.jruby.runtime.ivars.FieldVariableAccessor.<init>:(Lorg/jruby/RubyClass;Ljava/lang/String;IILjava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodHandle;)V
astore 7
start local 7 5: iload 6
iconst_1
iadd
anewarray java.lang.String
astore 8
start local 8 6: aload 5
iconst_0
aload 8
iconst_0
iload 6
invokestatic org.jruby.util.ArraySupport.copy:([Ljava/lang/Object;I[Ljava/lang/Object;II)V
7: aload 8
iload 6
aload 1
aastore
8: aload 0
aload 8
putfield org.jruby.runtime.ivars.VariableTableManager.variableNames:[Ljava/lang/String;
9: aload 7
areturn
end local 8 end local 7 end local 6 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 10 0 this Lorg/jruby/runtime/ivars/VariableTableManager;
0 10 1 name Ljava/lang/String;
0 10 2 getter Ljava/lang/invoke/MethodHandle;
0 10 3 setter Ljava/lang/invoke/MethodHandle;
1 10 4 id I
2 10 5 myVariableNames [Ljava/lang/String;
3 10 6 newIndex I
5 10 7 newVariableAccessor Lorg/jruby/runtime/ivars/VariableAccessor;
6 10 8 newVariableNames [Ljava/lang/String;
MethodParameters:
Name Flags
name
getter
setter
public org.jruby.runtime.ivars.VariableAccessorField getObjectIdAccessorField();
descriptor: ()Lorg/jruby/runtime/ivars/VariableAccessorField;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.runtime.ivars.VariableTableManager.objectIdVariableAccessorField:Lorg/jruby/runtime/ivars/VariableAccessorField;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/runtime/ivars/VariableTableManager;
public org.jruby.runtime.ivars.VariableAccessorField getFFIHandleAccessorField();
descriptor: ()Lorg/jruby/runtime/ivars/VariableAccessorField;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.runtime.ivars.VariableTableManager.ffiHandleVariableAccessorField:Lorg/jruby/runtime/ivars/VariableAccessorField;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/runtime/ivars/VariableTableManager;
public org.jruby.runtime.ivars.VariableAccessorField getObjectGroupAccessorField();
descriptor: ()Lorg/jruby/runtime/ivars/VariableAccessorField;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.runtime.ivars.VariableTableManager.objectGroupVariableAccessorField:Lorg/jruby/runtime/ivars/VariableAccessorField;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/runtime/ivars/VariableTableManager;
}
SourceFile: "VariableTableManager.java"
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map