final class com.google.common.cache.LongAdder extends com.google.common.cache.Striped64 implements java.io.Serializable, com.google.common.cache.LongAddable
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.google.common.cache.LongAdder
super_class: com.google.common.cache.Striped64
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 7249069246863182397
final long fn(long, long);
descriptor: (JJ)J
flags: (0x0010) ACC_FINAL
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 3 0: lload 1
lload 3
ladd
lreturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/cache/LongAdder;
0 1 1 v J
0 1 3 x J
MethodParameters:
Name Flags
v
x
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial com.google.common.cache.Striped64.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/cache/LongAdder;
public void add(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=12, args_size=2
start local 0 start local 1 0: aload 0
getfield com.google.common.cache.LongAdder.cells:[Lcom/google/common/cache/Striped64$Cell;
dup
astore 3
start local 3 1: ifnonnull 3
aload 0
aload 0
getfield com.google.common.cache.LongAdder.base:J
dup2
lstore 4
start local 4 2: lload 4
lload 1
ladd
invokevirtual com.google.common.cache.LongAdder.casBase:(JJ)Z
ifne 14
end local 4 3: StackMap locals: com.google.common.cache.Striped64$Cell[]
StackMap stack:
iconst_1
istore 11
start local 11 4: getstatic com.google.common.cache.LongAdder.threadHashCode:Ljava/lang/ThreadLocal;
invokevirtual java.lang.ThreadLocal.get:()Ljava/lang/Object;
checkcast int[]
dup
astore 8
start local 8 5: ifnull 13
6: aload 3
ifnull 13
7: aload 3
arraylength
dup
istore 10
start local 10 8: iconst_1
if_icmplt 13
9: aload 3
iload 10
iconst_1
isub
aload 8
iconst_0
iaload
iand
aaload
dup
astore 9
start local 9 10: ifnull 13
11: aload 9
aload 9
getfield com.google.common.cache.Striped64$Cell.value:J
dup2
lstore 6
start local 6 12: lload 6
lload 1
ladd
invokevirtual com.google.common.cache.Striped64$Cell.cas:(JJ)Z
dup
istore 11
ifne 14
end local 10 end local 9 end local 6 StackMap locals: com.google.common.cache.LongAdder long com.google.common.cache.Striped64$Cell[] top top top top int[] top top int
StackMap stack:
13: aload 0
lload 1
aload 8
iload 11
invokevirtual com.google.common.cache.LongAdder.retryUpdate:(J[IZ)V
end local 11 end local 8 14: StackMap locals: com.google.common.cache.LongAdder long com.google.common.cache.Striped64$Cell[]
StackMap stack:
return
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lcom/google/common/cache/LongAdder;
0 15 1 x J
1 15 3 as [Lcom/google/common/cache/Striped64$Cell;
2 3 4 b J
12 13 6 v J
5 14 8 hc [I
10 13 9 a Lcom/google/common/cache/Striped64$Cell;
8 13 10 n I
4 14 11 uncontended Z
MethodParameters:
Name Flags
x
public void increment();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
lconst_1
invokevirtual com.google.common.cache.LongAdder.add:(J)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/common/cache/LongAdder;
public void decrement();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
ldc -1
invokevirtual com.google.common.cache.LongAdder.add:(J)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/common/cache/LongAdder;
public long sum();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=7, args_size=1
start local 0 0: aload 0
getfield com.google.common.cache.LongAdder.base:J
lstore 1
start local 1 1: aload 0
getfield com.google.common.cache.LongAdder.cells:[Lcom/google/common/cache/Striped64$Cell;
astore 3
start local 3 2: aload 3
ifnull 10
3: aload 3
arraylength
istore 4
start local 4 4: iconst_0
istore 5
start local 5 5: goto 9
6: StackMap locals: com.google.common.cache.LongAdder long com.google.common.cache.Striped64$Cell[] int int
StackMap stack:
aload 3
iload 5
aaload
astore 6
start local 6 7: aload 6
ifnull 8
lload 1
aload 6
getfield com.google.common.cache.Striped64$Cell.value:J
ladd
lstore 1
end local 6 8: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
9: iload 5
iload 4
if_icmplt 6
end local 5 end local 4 10: StackMap locals:
StackMap stack:
lload 1
lreturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/google/common/cache/LongAdder;
1 11 1 sum J
2 11 3 as [Lcom/google/common/cache/Striped64$Cell;
4 10 4 n I
5 10 5 i I
7 8 6 a Lcom/google/common/cache/Striped64$Cell;
public void reset();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
lconst_0
invokevirtual com.google.common.cache.LongAdder.internalReset:(J)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/common/cache/LongAdder;
public long sumThenReset();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=7, args_size=1
start local 0 0: aload 0
getfield com.google.common.cache.LongAdder.base:J
lstore 1
start local 1 1: aload 0
getfield com.google.common.cache.LongAdder.cells:[Lcom/google/common/cache/Striped64$Cell;
astore 3
start local 3 2: aload 0
lconst_0
putfield com.google.common.cache.LongAdder.base:J
3: aload 3
ifnull 13
4: aload 3
arraylength
istore 4
start local 4 5: iconst_0
istore 5
start local 5 6: goto 12
7: StackMap locals: com.google.common.cache.LongAdder long com.google.common.cache.Striped64$Cell[] int int
StackMap stack:
aload 3
iload 5
aaload
astore 6
start local 6 8: aload 6
ifnull 11
9: lload 1
aload 6
getfield com.google.common.cache.Striped64$Cell.value:J
ladd
lstore 1
10: aload 6
lconst_0
putfield com.google.common.cache.Striped64$Cell.value:J
end local 6 11: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
12: iload 5
iload 4
if_icmplt 7
end local 5 end local 4 13: StackMap locals:
StackMap stack:
lload 1
lreturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/google/common/cache/LongAdder;
1 14 1 sum J
2 14 3 as [Lcom/google/common/cache/Striped64$Cell;
5 13 4 n I
6 13 5 i I
8 11 6 a Lcom/google/common/cache/Striped64$Cell;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.google.common.cache.LongAdder.sum:()J
invokestatic java.lang.Long.toString:(J)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/cache/LongAdder;
public long longValue();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.google.common.cache.LongAdder.sum:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/cache/LongAdder;
public int intValue();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.google.common.cache.LongAdder.sum:()J
l2i
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/cache/LongAdder;
public float floatValue();
descriptor: ()F
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.google.common.cache.LongAdder.sum:()J
l2f
freturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/cache/LongAdder;
public double doubleValue();
descriptor: ()D
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.google.common.cache.LongAdder.sum:()J
l2d
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/cache/LongAdder;
private void writeObject(java.io.ObjectOutputStream);
descriptor: (Ljava/io/ObjectOutputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.io.ObjectOutputStream.defaultWriteObject:()V
1: aload 1
aload 0
invokevirtual com.google.common.cache.LongAdder.sum:()J
invokevirtual java.io.ObjectOutputStream.writeLong:(J)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/common/cache/LongAdder;
0 3 1 s Ljava/io/ObjectOutputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
s
private void readObject(java.io.ObjectInputStream);
descriptor: (Ljava/io/ObjectInputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.io.ObjectInputStream.defaultReadObject:()V
1: aload 0
iconst_0
putfield com.google.common.cache.LongAdder.busy:I
2: aload 0
aconst_null
putfield com.google.common.cache.LongAdder.cells:[Lcom/google/common/cache/Striped64$Cell;
3: aload 0
aload 1
invokevirtual java.io.ObjectInputStream.readLong:()J
putfield com.google.common.cache.LongAdder.base:J
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/google/common/cache/LongAdder;
0 5 1 s Ljava/io/ObjectInputStream;
Exceptions:
throws java.io.IOException, java.lang.ClassNotFoundException
MethodParameters:
Name Flags
s
}
SourceFile: "LongAdder.java"
InnerClasses:
final Cell = com.google.common.cache.Striped64$Cell of com.google.common.cache.Striped64
RuntimeInvisibleAnnotations:
com.google.common.annotations.GwtCompatible(emulated = true)