class com.google.common.util.concurrent.Striped$SmallLazyStriped<L> extends com.google.common.util.concurrent.Striped$PowerOfTwoStriped<L>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.google.common.util.concurrent.Striped$SmallLazyStriped
super_class: com.google.common.util.concurrent.Striped$PowerOfTwoStriped
{
final java.util.concurrent.atomic.AtomicReferenceArray<com.google.common.util.concurrent.Striped$SmallLazyStriped$ArrayReference<? extends L>> locks;
descriptor: Ljava/util/concurrent/atomic/AtomicReferenceArray;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/concurrent/atomic/AtomicReferenceArray<Lcom/google/common/util/concurrent/Striped$SmallLazyStriped$ArrayReference<+TL;>;>;
final com.google.common.base.Supplier<L> supplier;
descriptor: Lcom/google/common/base/Supplier;
flags: (0x0010) ACC_FINAL
Signature: Lcom/google/common/base/Supplier<TL;>;
final int size;
descriptor: I
flags: (0x0010) ACC_FINAL
final java.lang.ref.ReferenceQueue<L> queue;
descriptor: Ljava/lang/ref/ReferenceQueue;
flags: (0x0010) ACC_FINAL
Signature: Ljava/lang/ref/ReferenceQueue<TL;>;
void <init>(int, com.google.common.base.Supplier<L>);
descriptor: (ILcom/google/common/base/Supplier;)V
flags: (0x0000)
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
invokespecial com.google.common.util.concurrent.Striped$PowerOfTwoStriped.<init>:(I)V
1: aload 0
new java.lang.ref.ReferenceQueue
dup
invokespecial java.lang.ref.ReferenceQueue.<init>:()V
putfield com.google.common.util.concurrent.Striped$SmallLazyStriped.queue:Ljava/lang/ref/ReferenceQueue;
2: aload 0
aload 0
getfield com.google.common.util.concurrent.Striped$SmallLazyStriped.mask:I
iconst_m1
if_icmpne 3
ldc 2147483647
goto 4
StackMap locals: com.google.common.util.concurrent.Striped$SmallLazyStriped int com.google.common.base.Supplier
StackMap stack: com.google.common.util.concurrent.Striped$SmallLazyStriped
3: aload 0
getfield com.google.common.util.concurrent.Striped$SmallLazyStriped.mask:I
iconst_1
iadd
StackMap locals: com.google.common.util.concurrent.Striped$SmallLazyStriped int com.google.common.base.Supplier
StackMap stack: com.google.common.util.concurrent.Striped$SmallLazyStriped int
4: putfield com.google.common.util.concurrent.Striped$SmallLazyStriped.size:I
5: aload 0
new java.util.concurrent.atomic.AtomicReferenceArray
dup
aload 0
getfield com.google.common.util.concurrent.Striped$SmallLazyStriped.size:I
invokespecial java.util.concurrent.atomic.AtomicReferenceArray.<init>:(I)V
putfield com.google.common.util.concurrent.Striped$SmallLazyStriped.locks:Ljava/util/concurrent/atomic/AtomicReferenceArray;
6: aload 0
aload 2
putfield com.google.common.util.concurrent.Striped$SmallLazyStriped.supplier:Lcom/google/common/base/Supplier;
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/google/common/util/concurrent/Striped$SmallLazyStriped<TL;>;
0 8 1 stripes I
0 8 2 supplier Lcom/google/common/base/Supplier<TL;>;
Signature: (ILcom/google/common/base/Supplier<TL;>;)V
MethodParameters:
Name Flags
stripes
supplier
public L getAt();
descriptor: (I)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield com.google.common.util.concurrent.Striped$SmallLazyStriped.size:I
ldc 2147483647
if_icmpeq 2
1: iload 1
aload 0
invokevirtual com.google.common.util.concurrent.Striped$SmallLazyStriped.size:()I
invokestatic com.google.common.base.Preconditions.checkElementIndex:(II)I
pop
2: StackMap locals:
StackMap stack:
aload 0
getfield com.google.common.util.concurrent.Striped$SmallLazyStriped.locks:Ljava/util/concurrent/atomic/AtomicReferenceArray;
iload 1
invokevirtual java.util.concurrent.atomic.AtomicReferenceArray.get:(I)Ljava/lang/Object;
checkcast com.google.common.util.concurrent.Striped$SmallLazyStriped$ArrayReference
astore 2
start local 2 3: aload 2
ifnonnull 4
aconst_null
goto 5
StackMap locals: com.google.common.util.concurrent.Striped$SmallLazyStriped$ArrayReference
StackMap stack:
4: aload 2
invokevirtual com.google.common.util.concurrent.Striped$SmallLazyStriped$ArrayReference.get:()Ljava/lang/Object;
StackMap locals:
StackMap stack: java.lang.Object
5: astore 3
start local 3 6: aload 3
ifnull 8
7: aload 3
areturn
8: StackMap locals: java.lang.Object
StackMap stack:
aload 0
getfield com.google.common.util.concurrent.Striped$SmallLazyStriped.supplier:Lcom/google/common/base/Supplier;
invokeinterface com.google.common.base.Supplier.get:()Ljava/lang/Object;
astore 4
start local 4 9: new com.google.common.util.concurrent.Striped$SmallLazyStriped$ArrayReference
dup
aload 4
iload 1
aload 0
getfield com.google.common.util.concurrent.Striped$SmallLazyStriped.queue:Ljava/lang/ref/ReferenceQueue;
invokespecial com.google.common.util.concurrent.Striped$SmallLazyStriped$ArrayReference.<init>:(Ljava/lang/Object;ILjava/lang/ref/ReferenceQueue;)V
astore 5
start local 5 10: goto 17
11: StackMap locals: java.lang.Object com.google.common.util.concurrent.Striped$SmallLazyStriped$ArrayReference
StackMap stack:
aload 0
getfield com.google.common.util.concurrent.Striped$SmallLazyStriped.locks:Ljava/util/concurrent/atomic/AtomicReferenceArray;
iload 1
invokevirtual java.util.concurrent.atomic.AtomicReferenceArray.get:(I)Ljava/lang/Object;
checkcast com.google.common.util.concurrent.Striped$SmallLazyStriped$ArrayReference
astore 2
12: aload 2
ifnonnull 13
aconst_null
goto 14
StackMap locals:
StackMap stack:
13: aload 2
invokevirtual com.google.common.util.concurrent.Striped$SmallLazyStriped$ArrayReference.get:()Ljava/lang/Object;
StackMap locals:
StackMap stack: java.lang.Object
14: astore 3
15: aload 3
ifnull 17
16: aload 3
areturn
17: StackMap locals:
StackMap stack:
aload 0
getfield com.google.common.util.concurrent.Striped$SmallLazyStriped.locks:Ljava/util/concurrent/atomic/AtomicReferenceArray;
iload 1
aload 2
aload 5
invokevirtual java.util.concurrent.atomic.AtomicReferenceArray.compareAndSet:(ILjava/lang/Object;Ljava/lang/Object;)Z
ifeq 11
18: aload 0
invokevirtual com.google.common.util.concurrent.Striped$SmallLazyStriped.drainQueue:()V
19: aload 4
areturn
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 20 0 this Lcom/google/common/util/concurrent/Striped$SmallLazyStriped<TL;>;
0 20 1 index I
3 20 2 existingRef Lcom/google/common/util/concurrent/Striped$SmallLazyStriped$ArrayReference<+TL;>;
6 20 3 existing TL;
9 20 4 created TL;
10 20 5 newRef Lcom/google/common/util/concurrent/Striped$SmallLazyStriped$ArrayReference<TL;>;
Signature: (I)TL;
MethodParameters:
Name Flags
index
private void drainQueue();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=1
start local 0 0: goto 3
start local 1 1: StackMap locals: java.lang.ref.Reference
StackMap stack:
aload 1
checkcast com.google.common.util.concurrent.Striped$SmallLazyStriped$ArrayReference
astore 2
start local 2 2: aload 0
getfield com.google.common.util.concurrent.Striped$SmallLazyStriped.locks:Ljava/util/concurrent/atomic/AtomicReferenceArray;
aload 2
getfield com.google.common.util.concurrent.Striped$SmallLazyStriped$ArrayReference.index:I
aload 2
aconst_null
invokevirtual java.util.concurrent.atomic.AtomicReferenceArray.compareAndSet:(ILjava/lang/Object;Ljava/lang/Object;)Z
pop
end local 2 end local 1 3: StackMap locals:
StackMap stack:
aload 0
getfield com.google.common.util.concurrent.Striped$SmallLazyStriped.queue:Ljava/lang/ref/ReferenceQueue;
invokevirtual java.lang.ref.ReferenceQueue.poll:()Ljava/lang/ref/Reference;
dup
astore 1
start local 1 4: ifnonnull 1
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/google/common/util/concurrent/Striped$SmallLazyStriped<TL;>;
1 3 1 ref Ljava/lang/ref/Reference<+TL;>;
4 6 1 ref Ljava/lang/ref/Reference<+TL;>;
2 3 2 arrayRef Lcom/google/common/util/concurrent/Striped$SmallLazyStriped$ArrayReference<+TL;>;
public int size();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.common.util.concurrent.Striped$SmallLazyStriped.size:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/util/concurrent/Striped$SmallLazyStriped<TL;>;
}
Signature: <L:Ljava/lang/Object;>Lcom/google/common/util/concurrent/Striped$PowerOfTwoStriped<TL;>;
SourceFile: "Striped.java"
NestHost: com.google.common.util.concurrent.Striped
InnerClasses:
private abstract PowerOfTwoStriped = com.google.common.util.concurrent.Striped$PowerOfTwoStriped of com.google.common.util.concurrent.Striped
SmallLazyStriped = com.google.common.util.concurrent.Striped$SmallLazyStriped of com.google.common.util.concurrent.Striped
private final ArrayReference = com.google.common.util.concurrent.Striped$SmallLazyStriped$ArrayReference of com.google.common.util.concurrent.Striped$SmallLazyStriped
RuntimeInvisibleAnnotations:
com.google.common.annotations.VisibleForTesting()