class com.netflix.hystrix.Hystrix$ConcurrentStack<E>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.netflix.hystrix.Hystrix$ConcurrentStack
super_class: java.lang.Object
{
java.util.concurrent.atomic.AtomicReference<com.netflix.hystrix.Hystrix$ConcurrentStack<E>.Node<E>> top;
descriptor: Ljava/util/concurrent/atomic/AtomicReference;
flags: (0x0000)
Signature: Ljava/util/concurrent/atomic/AtomicReference<Lcom/netflix/hystrix/Hystrix$ConcurrentStack<TE;>.Node<TE;>;>;
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.concurrent.atomic.AtomicReference
dup
invokespecial java.util.concurrent.atomic.AtomicReference.<init>:()V
putfield com.netflix.hystrix.Hystrix$ConcurrentStack.top:Ljava/util/concurrent/atomic/AtomicReference;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/netflix/hystrix/Hystrix$ConcurrentStack<TE;>;
public void push();
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: new com.netflix.hystrix.Hystrix$ConcurrentStack$Node
dup
aload 0
aload 1
invokespecial com.netflix.hystrix.Hystrix$ConcurrentStack$Node.<init>:(Lcom/netflix/hystrix/Hystrix$ConcurrentStack;Ljava/lang/Object;)V
astore 2
start local 2 1: StackMap locals: com.netflix.hystrix.Hystrix$ConcurrentStack$Node
StackMap stack:
aload 0
getfield com.netflix.hystrix.Hystrix$ConcurrentStack.top:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast com.netflix.hystrix.Hystrix$ConcurrentStack$Node
astore 3
start local 3 2: aload 2
aload 3
putfield com.netflix.hystrix.Hystrix$ConcurrentStack$Node.next:Lcom/netflix/hystrix/Hystrix$ConcurrentStack$Node;
3: aload 0
getfield com.netflix.hystrix.Hystrix$ConcurrentStack.top:Ljava/util/concurrent/atomic/AtomicReference;
aload 3
aload 2
invokevirtual java.util.concurrent.atomic.AtomicReference.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 1
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/netflix/hystrix/Hystrix$ConcurrentStack<TE;>;
0 5 1 item TE;
1 5 2 newHead Lcom/netflix/hystrix/Hystrix$ConcurrentStack<TE;>.Node<TE;>;
2 5 3 oldHead Lcom/netflix/hystrix/Hystrix$ConcurrentStack<TE;>.Node<TE;>;
Signature: (TE;)V
MethodParameters:
Name Flags
item
public E pop();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: StackMap locals:
StackMap stack:
aload 0
getfield com.netflix.hystrix.Hystrix$ConcurrentStack.top:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast com.netflix.hystrix.Hystrix$ConcurrentStack$Node
astore 1
start local 1 1: aload 1
ifnonnull 3
2: aconst_null
areturn
3: StackMap locals: com.netflix.hystrix.Hystrix$ConcurrentStack$Node
StackMap stack:
aload 1
getfield com.netflix.hystrix.Hystrix$ConcurrentStack$Node.next:Lcom/netflix/hystrix/Hystrix$ConcurrentStack$Node;
astore 2
start local 2 4: aload 0
getfield com.netflix.hystrix.Hystrix$ConcurrentStack.top:Ljava/util/concurrent/atomic/AtomicReference;
aload 1
aload 2
invokevirtual java.util.concurrent.atomic.AtomicReference.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 0
5: aload 1
getfield com.netflix.hystrix.Hystrix$ConcurrentStack$Node.item:Ljava/lang/Object;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/netflix/hystrix/Hystrix$ConcurrentStack<TE;>;
1 6 1 oldHead Lcom/netflix/hystrix/Hystrix$ConcurrentStack<TE;>.Node<TE;>;
4 6 2 newHead Lcom/netflix/hystrix/Hystrix$ConcurrentStack<TE;>.Node<TE;>;
Signature: ()TE;
public boolean isEmpty();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.netflix.hystrix.Hystrix$ConcurrentStack.top:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
ifnonnull 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 Lcom/netflix/hystrix/Hystrix$ConcurrentStack<TE;>;
public int size();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=3, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: aload 0
getfield com.netflix.hystrix.Hystrix$ConcurrentStack.top:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast com.netflix.hystrix.Hystrix$ConcurrentStack$Node
astore 2
start local 2 2: goto 5
3: StackMap locals: int com.netflix.hystrix.Hystrix$ConcurrentStack$Node
StackMap stack:
iinc 1 1
4: aload 2
getfield com.netflix.hystrix.Hystrix$ConcurrentStack$Node.next:Lcom/netflix/hystrix/Hystrix$ConcurrentStack$Node;
astore 2
5: StackMap locals:
StackMap stack:
aload 2
ifnonnull 3
6: iload 1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/netflix/hystrix/Hystrix$ConcurrentStack<TE;>;
1 7 1 currentSize I
2 7 2 current Lcom/netflix/hystrix/Hystrix$ConcurrentStack<TE;>.Node<TE;>;
public E peek();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
getfield com.netflix.hystrix.Hystrix$ConcurrentStack.top:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast com.netflix.hystrix.Hystrix$ConcurrentStack$Node
astore 1
start local 1 1: aload 1
ifnonnull 3
2: aconst_null
areturn
3: StackMap locals: com.netflix.hystrix.Hystrix$ConcurrentStack$Node
StackMap stack:
aload 1
getfield com.netflix.hystrix.Hystrix$ConcurrentStack$Node.item:Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/netflix/hystrix/Hystrix$ConcurrentStack<TE;>;
1 4 1 eNode Lcom/netflix/hystrix/Hystrix$ConcurrentStack<TE;>.Node<TE;>;
Signature: ()TE;
}
Signature: <E:Ljava/lang/Object;>Ljava/lang/Object;
SourceFile: "Hystrix.java"
NestHost: com.netflix.hystrix.Hystrix
InnerClasses:
private ConcurrentStack = com.netflix.hystrix.Hystrix$ConcurrentStack of com.netflix.hystrix.Hystrix
private Node = com.netflix.hystrix.Hystrix$ConcurrentStack$Node of com.netflix.hystrix.Hystrix$ConcurrentStack