class org.jruby.util.collections.ConcurrentAutoTable implements java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.jruby.util.collections.ConcurrentAutoTable
super_class: java.lang.Object
{
private volatile org.jruby.util.collections.ConcurrentAutoTable$CAT _cat;
descriptor: Lorg/jruby/util/collections/ConcurrentAutoTable$CAT;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private static final java.util.concurrent.atomic.AtomicReferenceFieldUpdater<org.jruby.util.collections.ConcurrentAutoTable, org.jruby.util.collections.ConcurrentAutoTable$CAT> _catUpdater;
descriptor: Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater<Lorg/jruby/util/collections/ConcurrentAutoTable;Lorg/jruby/util/collections/ConcurrentAutoTable$CAT;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: ldc Lorg/jruby/util/collections/ConcurrentAutoTable;
ldc Lorg/jruby/util/collections/ConcurrentAutoTable$CAT;
ldc "_cat"
invokestatic java.util.concurrent.atomic.AtomicReferenceFieldUpdater.newUpdater:(Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/String;)Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
1: putstatic org.jruby.util.collections.ConcurrentAutoTable._catUpdater:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
2: return
LocalVariableTable:
Start End Slot Name Signature
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=7, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new org.jruby.util.collections.ConcurrentAutoTable$CAT
dup
aconst_null
iconst_4
lconst_0
invokespecial org.jruby.util.collections.ConcurrentAutoTable$CAT.<init>:(Lorg/jruby/util/collections/ConcurrentAutoTable$CAT;IJ)V
putfield org.jruby.util.collections.ConcurrentAutoTable._cat:Lorg/jruby/util/collections/ConcurrentAutoTable$CAT;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/util/collections/ConcurrentAutoTable;
public void add(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
lload 1
lconst_0
invokevirtual org.jruby.util.collections.ConcurrentAutoTable.add_if_mask:(JJ)J
pop2
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/util/collections/ConcurrentAutoTable;
0 1 1 x J
MethodParameters:
Name Flags
x
public void decrement();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
ldc -1
lconst_0
invokevirtual org.jruby.util.collections.ConcurrentAutoTable.add_if_mask:(JJ)J
pop2
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/util/collections/ConcurrentAutoTable;
public void increment();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
lconst_1
lconst_0
invokevirtual org.jruby.util.collections.ConcurrentAutoTable.add_if_mask:(JJ)J
pop2
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/util/collections/ConcurrentAutoTable;
public void set(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=2
start local 0 start local 1 0: new org.jruby.util.collections.ConcurrentAutoTable$CAT
dup
aconst_null
iconst_4
lload 1
invokespecial org.jruby.util.collections.ConcurrentAutoTable$CAT.<init>:(Lorg/jruby/util/collections/ConcurrentAutoTable$CAT;IJ)V
astore 3
start local 3 1: StackMap locals: org.jruby.util.collections.ConcurrentAutoTable$CAT
StackMap stack:
aload 0
aload 0
getfield org.jruby.util.collections.ConcurrentAutoTable._cat:Lorg/jruby/util/collections/ConcurrentAutoTable$CAT;
aload 3
invokevirtual org.jruby.util.collections.ConcurrentAutoTable.CAS_cat:(Lorg/jruby/util/collections/ConcurrentAutoTable$CAT;Lorg/jruby/util/collections/ConcurrentAutoTable$CAT;)Z
ifeq 1
2: return
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/util/collections/ConcurrentAutoTable;
0 3 1 x J
1 3 3 newcat Lorg/jruby/util/collections/ConcurrentAutoTable$CAT;
MethodParameters:
Name Flags
x
public long get();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.util.collections.ConcurrentAutoTable._cat:Lorg/jruby/util/collections/ConcurrentAutoTable$CAT;
lconst_0
invokevirtual org.jruby.util.collections.ConcurrentAutoTable$CAT.sum:(J)J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/util/collections/ConcurrentAutoTable;
public int intValue();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.util.collections.ConcurrentAutoTable._cat:Lorg/jruby/util/collections/ConcurrentAutoTable$CAT;
lconst_0
invokevirtual org.jruby.util.collections.ConcurrentAutoTable$CAT.sum:(J)J
l2i
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/util/collections/ConcurrentAutoTable;
public long longValue();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.util.collections.ConcurrentAutoTable._cat:Lorg/jruby/util/collections/ConcurrentAutoTable$CAT;
lconst_0
invokevirtual org.jruby.util.collections.ConcurrentAutoTable$CAT.sum:(J)J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/util/collections/ConcurrentAutoTable;
public long estimate_get();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.util.collections.ConcurrentAutoTable._cat:Lorg/jruby/util/collections/ConcurrentAutoTable$CAT;
lconst_0
invokevirtual org.jruby.util.collections.ConcurrentAutoTable$CAT.estimate_sum:(J)J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/util/collections/ConcurrentAutoTable;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.util.collections.ConcurrentAutoTable._cat:Lorg/jruby/util/collections/ConcurrentAutoTable$CAT;
lconst_0
invokevirtual org.jruby.util.collections.ConcurrentAutoTable$CAT.toString:(J)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/util/collections/ConcurrentAutoTable;
public int internal_size();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.util.collections.ConcurrentAutoTable._cat:Lorg/jruby/util/collections/ConcurrentAutoTable$CAT;
getfield org.jruby.util.collections.ConcurrentAutoTable$CAT._t:[J
arraylength
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/util/collections/ConcurrentAutoTable;
private long add_if_mask(long, long);
descriptor: (JJ)J
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=5, args_size=3
start local 0 start local 1 start local 3 0: aload 0
getfield org.jruby.util.collections.ConcurrentAutoTable._cat:Lorg/jruby/util/collections/ConcurrentAutoTable$CAT;
lload 1
lload 3
invokestatic org.jruby.util.collections.ConcurrentAutoTable.hash:()I
aload 0
invokevirtual org.jruby.util.collections.ConcurrentAutoTable$CAT.add_if_mask:(JJILorg/jruby/util/collections/ConcurrentAutoTable;)J
lreturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/util/collections/ConcurrentAutoTable;
0 1 1 x J
0 1 3 mask J
MethodParameters:
Name Flags
x
mask
private boolean CAS_cat(org.jruby.util.collections.ConcurrentAutoTable$CAT, org.jruby.util.collections.ConcurrentAutoTable$CAT);
descriptor: (Lorg/jruby/util/collections/ConcurrentAutoTable$CAT;Lorg/jruby/util/collections/ConcurrentAutoTable$CAT;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.jruby.util.collections.ConcurrentAutoTable._catUpdater:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
aload 0
aload 1
aload 2
invokevirtual java.util.concurrent.atomic.AtomicReferenceFieldUpdater.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/util/collections/ConcurrentAutoTable;
0 1 1 oldcat Lorg/jruby/util/collections/ConcurrentAutoTable$CAT;
0 1 2 newcat Lorg/jruby/util/collections/ConcurrentAutoTable$CAT;
MethodParameters:
Name Flags
oldcat
newcat
private static final int hash();
descriptor: ()I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Code:
stack=4, locals=1, args_size=0
0: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
invokestatic java.lang.System.identityHashCode:(Ljava/lang/Object;)I
istore 0
start local 0 1: iload 0
iload 0
bipush 20
iushr
iload 0
bipush 12
iushr
ixor
ixor
istore 0
2: iload 0
iload 0
bipush 7
iushr
iload 0
iconst_4
iushr
ixor
ixor
istore 0
3: iload 0
iconst_2
ishl
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 4 0 h I
}
SourceFile: "NonBlockingHashMapLong.java"
NestMembers:
org.jruby.util.collections.ConcurrentAutoTable$CAT
InnerClasses:
private CAT = org.jruby.util.collections.ConcurrentAutoTable$CAT of org.jruby.util.collections.ConcurrentAutoTable