public class com.google.common.util.concurrent.AtomicDoubleArray implements java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.google.common.util.concurrent.AtomicDoubleArray
super_class: java.lang.Object
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
private transient java.util.concurrent.atomic.AtomicLongArray longs;
descriptor: Ljava/util/concurrent/atomic/AtomicLongArray;
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
public void <init>(int);
descriptor: (I)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
new java.util.concurrent.atomic.AtomicLongArray
dup
iload 1
invokespecial java.util.concurrent.atomic.AtomicLongArray.<init>:(I)V
putfield com.google.common.util.concurrent.AtomicDoubleArray.longs:Ljava/util/concurrent/atomic/AtomicLongArray;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/common/util/concurrent/AtomicDoubleArray;
0 3 1 length I
MethodParameters:
Name Flags
length
public void <init>(double[]);
descriptor: ([D)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 1
arraylength
istore 2
start local 2 2: iload 2
newarray 11
astore 3
start local 3 3: iconst_0
istore 4
start local 4 4: goto 7
5: StackMap locals: com.google.common.util.concurrent.AtomicDoubleArray double[] int long[] int
StackMap stack:
aload 3
iload 4
aload 1
iload 4
daload
invokestatic java.lang.Double.doubleToRawLongBits:(D)J
lastore
6: iinc 4 1
StackMap locals:
StackMap stack:
7: iload 4
iload 2
if_icmplt 5
end local 4 8: aload 0
new java.util.concurrent.atomic.AtomicLongArray
dup
aload 3
invokespecial java.util.concurrent.atomic.AtomicLongArray.<init>:([J)V
putfield com.google.common.util.concurrent.AtomicDoubleArray.longs:Ljava/util/concurrent/atomic/AtomicLongArray;
9: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/google/common/util/concurrent/AtomicDoubleArray;
0 10 1 array [D
2 10 2 len I
3 10 3 longArray [J
4 8 4 i I
MethodParameters:
Name Flags
array
public final int length();
descriptor: ()I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.common.util.concurrent.AtomicDoubleArray.longs:Ljava/util/concurrent/atomic/AtomicLongArray;
invokevirtual java.util.concurrent.atomic.AtomicLongArray.length:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/util/concurrent/AtomicDoubleArray;
public final double get(int);
descriptor: (I)D
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.google.common.util.concurrent.AtomicDoubleArray.longs:Ljava/util/concurrent/atomic/AtomicLongArray;
iload 1
invokevirtual java.util.concurrent.atomic.AtomicLongArray.get:(I)J
invokestatic java.lang.Double.longBitsToDouble:(J)D
dreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/util/concurrent/AtomicDoubleArray;
0 1 1 i I
MethodParameters:
Name Flags
i
public final void set(int, double);
descriptor: (ID)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=6, args_size=3
start local 0 start local 1 start local 2 0: dload 2
invokestatic java.lang.Double.doubleToRawLongBits:(D)J
lstore 4
start local 4 1: aload 0
getfield com.google.common.util.concurrent.AtomicDoubleArray.longs:Ljava/util/concurrent/atomic/AtomicLongArray;
iload 1
lload 4
invokevirtual java.util.concurrent.atomic.AtomicLongArray.set:(IJ)V
2: return
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/common/util/concurrent/AtomicDoubleArray;
0 3 1 i I
0 3 2 newValue D
1 3 4 next J
MethodParameters:
Name Flags
i
newValue
public final void lazySet(int, double);
descriptor: (ID)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=6, args_size=3
start local 0 start local 1 start local 2 0: dload 2
invokestatic java.lang.Double.doubleToRawLongBits:(D)J
lstore 4
start local 4 1: aload 0
getfield com.google.common.util.concurrent.AtomicDoubleArray.longs:Ljava/util/concurrent/atomic/AtomicLongArray;
iload 1
lload 4
invokevirtual java.util.concurrent.atomic.AtomicLongArray.lazySet:(IJ)V
2: return
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/common/util/concurrent/AtomicDoubleArray;
0 3 1 i I
0 3 2 newValue D
1 3 4 next J
MethodParameters:
Name Flags
i
newValue
public final double getAndSet(int, double);
descriptor: (ID)D
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=6, args_size=3
start local 0 start local 1 start local 2 0: dload 2
invokestatic java.lang.Double.doubleToRawLongBits:(D)J
lstore 4
start local 4 1: aload 0
getfield com.google.common.util.concurrent.AtomicDoubleArray.longs:Ljava/util/concurrent/atomic/AtomicLongArray;
iload 1
lload 4
invokevirtual java.util.concurrent.atomic.AtomicLongArray.getAndSet:(IJ)J
invokestatic java.lang.Double.longBitsToDouble:(J)D
dreturn
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/common/util/concurrent/AtomicDoubleArray;
0 2 1 i I
0 2 2 newValue D
1 2 4 next J
MethodParameters:
Name Flags
i
newValue
public final boolean compareAndSet(int, double, double);
descriptor: (IDD)Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=6, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 4 0: aload 0
getfield com.google.common.util.concurrent.AtomicDoubleArray.longs:Ljava/util/concurrent/atomic/AtomicLongArray;
iload 1
dload 2
invokestatic java.lang.Double.doubleToRawLongBits:(D)J
dload 4
invokestatic java.lang.Double.doubleToRawLongBits:(D)J
invokevirtual java.util.concurrent.atomic.AtomicLongArray.compareAndSet:(IJJ)Z
ireturn
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/util/concurrent/AtomicDoubleArray;
0 1 1 i I
0 1 2 expect D
0 1 4 update D
MethodParameters:
Name Flags
i
expect
update
public final boolean weakCompareAndSet(int, double, double);
descriptor: (IDD)Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=6, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 4 0: aload 0
getfield com.google.common.util.concurrent.AtomicDoubleArray.longs:Ljava/util/concurrent/atomic/AtomicLongArray;
iload 1
dload 2
invokestatic java.lang.Double.doubleToRawLongBits:(D)J
dload 4
invokestatic java.lang.Double.doubleToRawLongBits:(D)J
invokevirtual java.util.concurrent.atomic.AtomicLongArray.weakCompareAndSet:(IJJ)Z
ireturn
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/util/concurrent/AtomicDoubleArray;
0 1 1 i I
0 1 2 expect D
0 1 4 update D
MethodParameters:
Name Flags
i
expect
update
public final double getAndAdd(int, double);
descriptor: (ID)D
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=6, locals=12, args_size=3
start local 0 start local 1 start local 2 0: StackMap locals:
StackMap stack:
aload 0
getfield com.google.common.util.concurrent.AtomicDoubleArray.longs:Ljava/util/concurrent/atomic/AtomicLongArray;
iload 1
invokevirtual java.util.concurrent.atomic.AtomicLongArray.get:(I)J
lstore 4
start local 4 1: lload 4
invokestatic java.lang.Double.longBitsToDouble:(J)D
dstore 6
start local 6 2: dload 6
dload 2
dadd
dstore 8
start local 8 3: dload 8
invokestatic java.lang.Double.doubleToRawLongBits:(D)J
lstore 10
start local 10 4: aload 0
getfield com.google.common.util.concurrent.AtomicDoubleArray.longs:Ljava/util/concurrent/atomic/AtomicLongArray;
iload 1
lload 4
lload 10
invokevirtual java.util.concurrent.atomic.AtomicLongArray.compareAndSet:(IJJ)Z
ifeq 0
5: dload 6
dreturn
end local 10 end local 8 end local 6 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/google/common/util/concurrent/AtomicDoubleArray;
0 6 1 i I
0 6 2 delta D
1 6 4 current J
2 6 6 currentVal D
3 6 8 nextVal D
4 6 10 next J
RuntimeInvisibleAnnotations:
com.google.errorprone.annotations.CanIgnoreReturnValue()
MethodParameters:
Name Flags
i
delta
public double addAndGet(int, double);
descriptor: (ID)D
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=12, args_size=3
start local 0 start local 1 start local 2 0: StackMap locals:
StackMap stack:
aload 0
getfield com.google.common.util.concurrent.AtomicDoubleArray.longs:Ljava/util/concurrent/atomic/AtomicLongArray;
iload 1
invokevirtual java.util.concurrent.atomic.AtomicLongArray.get:(I)J
lstore 4
start local 4 1: lload 4
invokestatic java.lang.Double.longBitsToDouble:(J)D
dstore 6
start local 6 2: dload 6
dload 2
dadd
dstore 8
start local 8 3: dload 8
invokestatic java.lang.Double.doubleToRawLongBits:(D)J
lstore 10
start local 10 4: aload 0
getfield com.google.common.util.concurrent.AtomicDoubleArray.longs:Ljava/util/concurrent/atomic/AtomicLongArray;
iload 1
lload 4
lload 10
invokevirtual java.util.concurrent.atomic.AtomicLongArray.compareAndSet:(IJJ)Z
ifeq 0
5: dload 8
dreturn
end local 10 end local 8 end local 6 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/google/common/util/concurrent/AtomicDoubleArray;
0 6 1 i I
0 6 2 delta D
1 6 4 current J
2 6 6 currentVal D
3 6 8 nextVal D
4 6 10 next J
RuntimeInvisibleAnnotations:
com.google.errorprone.annotations.CanIgnoreReturnValue()
MethodParameters:
Name Flags
i
delta
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=1
start local 0 0: aload 0
invokevirtual com.google.common.util.concurrent.AtomicDoubleArray.length:()I
iconst_1
isub
istore 1
start local 1 1: iload 1
iconst_m1
if_icmpne 3
2: ldc "[]"
areturn
3: StackMap locals: int
StackMap stack:
new java.lang.StringBuilder
dup
bipush 19
iload 1
iconst_1
iadd
imul
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 2
start local 2 4: aload 2
bipush 91
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
5: iconst_0
istore 3
start local 3 6: StackMap locals: java.lang.StringBuilder int
StackMap stack:
aload 2
aload 0
getfield com.google.common.util.concurrent.AtomicDoubleArray.longs:Ljava/util/concurrent/atomic/AtomicLongArray;
iload 3
invokevirtual java.util.concurrent.atomic.AtomicLongArray.get:(I)J
invokestatic java.lang.Double.longBitsToDouble:(J)D
invokevirtual java.lang.StringBuilder.append:(D)Ljava/lang/StringBuilder;
pop
7: iload 3
iload 1
if_icmpne 9
8: aload 2
bipush 93
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
9: StackMap locals:
StackMap stack:
aload 2
bipush 44
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
bipush 32
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
10: iinc 3 1
goto 6
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/google/common/util/concurrent/AtomicDoubleArray;
1 11 1 iMax I
4 11 2 b Ljava/lang/StringBuilder;
6 11 3 i I
private void writeObject(java.io.ObjectOutputStream);
descriptor: (Ljava/io/ObjectOutputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.io.ObjectOutputStream.defaultWriteObject:()V
1: aload 0
invokevirtual com.google.common.util.concurrent.AtomicDoubleArray.length:()I
istore 2
start local 2 2: aload 1
iload 2
invokevirtual java.io.ObjectOutputStream.writeInt:(I)V
3: iconst_0
istore 3
start local 3 4: goto 7
5: StackMap locals: int int
StackMap stack:
aload 1
aload 0
iload 3
invokevirtual com.google.common.util.concurrent.AtomicDoubleArray.get:(I)D
invokevirtual java.io.ObjectOutputStream.writeDouble:(D)V
6: iinc 3 1
StackMap locals:
StackMap stack:
7: iload 3
iload 2
if_icmplt 5
end local 3 8: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/google/common/util/concurrent/AtomicDoubleArray;
0 9 1 s Ljava/io/ObjectOutputStream;
2 9 2 length I
4 8 3 i I
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=4, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.io.ObjectInputStream.defaultReadObject:()V
1: aload 1
invokevirtual java.io.ObjectInputStream.readInt:()I
istore 2
start local 2 2: invokestatic com.google.common.primitives.ImmutableLongArray.builder:()Lcom/google/common/primitives/ImmutableLongArray$Builder;
astore 3
start local 3 3: iconst_0
istore 4
start local 4 4: goto 7
5: StackMap locals: int com.google.common.primitives.ImmutableLongArray$Builder int
StackMap stack:
aload 3
aload 1
invokevirtual java.io.ObjectInputStream.readDouble:()D
invokestatic java.lang.Double.doubleToRawLongBits:(D)J
invokevirtual com.google.common.primitives.ImmutableLongArray$Builder.add:(J)Lcom/google/common/primitives/ImmutableLongArray$Builder;
pop
6: iinc 4 1
StackMap locals:
StackMap stack:
7: iload 4
iload 2
if_icmplt 5
end local 4 8: aload 0
new java.util.concurrent.atomic.AtomicLongArray
dup
aload 3
invokevirtual com.google.common.primitives.ImmutableLongArray$Builder.build:()Lcom/google/common/primitives/ImmutableLongArray;
invokevirtual com.google.common.primitives.ImmutableLongArray.toArray:()[J
invokespecial java.util.concurrent.atomic.AtomicLongArray.<init>:([J)V
putfield com.google.common.util.concurrent.AtomicDoubleArray.longs:Ljava/util/concurrent/atomic/AtomicLongArray;
9: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/google/common/util/concurrent/AtomicDoubleArray;
0 10 1 s Ljava/io/ObjectInputStream;
2 10 2 length I
3 10 3 builder Lcom/google/common/primitives/ImmutableLongArray$Builder;
4 8 4 i I
Exceptions:
throws java.io.IOException, java.lang.ClassNotFoundException
MethodParameters:
Name Flags
s
}
SourceFile: "AtomicDoubleArray.java"
InnerClasses:
public final Builder = com.google.common.primitives.ImmutableLongArray$Builder of com.google.common.primitives.ImmutableLongArray
RuntimeInvisibleAnnotations:
com.google.common.annotations.GwtIncompatible()