public class java.util.concurrent.atomic.AtomicMarkableReference<V>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: java.util.concurrent.atomic.AtomicMarkableReference
super_class: java.lang.Object
{
private volatile java.util.concurrent.atomic.AtomicMarkableReference$Pair<V> pair;
descriptor: Ljava/util/concurrent/atomic/AtomicMarkableReference$Pair;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
Signature: Ljava/util/concurrent/atomic/AtomicMarkableReference$Pair<TV;>;
private static final java.lang.invoke.VarHandle PAIR;
descriptor: Ljava/lang/invoke/VarHandle;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=1, args_size=0
0: invokestatic java.lang.invoke.MethodHandles.lookup:()Ljava/lang/invoke/MethodHandles$Lookup;
astore 0
start local 0 1: aload 0
ldc Ljava/util/concurrent/atomic/AtomicMarkableReference;
ldc "pair"
2: ldc Ljava/util/concurrent/atomic/AtomicMarkableReference$Pair;
3: invokevirtual java.lang.invoke.MethodHandles$Lookup.findVarHandle:(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/invoke/VarHandle;
putstatic java.util.concurrent.atomic.AtomicMarkableReference.PAIR:Ljava/lang/invoke/VarHandle;
end local 0 4: goto 7
StackMap locals:
StackMap stack: java.lang.ReflectiveOperationException
5: astore 0
start local 0 6: new java.lang.ExceptionInInitializerError
dup
aload 0
invokespecial java.lang.ExceptionInInitializerError.<init>:(Ljava/lang/Throwable;)V
athrow
end local 0 7: StackMap locals:
StackMap stack:
return
LocalVariableTable:
Start End Slot Name Signature
1 4 0 l Ljava/lang/invoke/MethodHandles$Lookup;
6 7 0 e Ljava/lang/ReflectiveOperationException;
Exception table:
from to target type
0 4 5 Class java.lang.ReflectiveOperationException
public void <init>(V, );
descriptor: (Ljava/lang/Object;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
iload 2
invokestatic java.util.concurrent.atomic.AtomicMarkableReference$Pair.of:(Ljava/lang/Object;Z)Ljava/util/concurrent/atomic/AtomicMarkableReference$Pair;
putfield java.util.concurrent.atomic.AtomicMarkableReference.pair:Ljava/util/concurrent/atomic/AtomicMarkableReference$Pair;
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/util/concurrent/atomic/AtomicMarkableReference<TV;>;
0 3 1 initialRef TV;
0 3 2 initialMark Z
Signature: (TV;Z)V
MethodParameters:
Name Flags
initialRef
initialMark
public V getReference();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.util.concurrent.atomic.AtomicMarkableReference.pair:Ljava/util/concurrent/atomic/AtomicMarkableReference$Pair;
getfield java.util.concurrent.atomic.AtomicMarkableReference$Pair.reference:Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/util/concurrent/atomic/AtomicMarkableReference<TV;>;
Signature: ()TV;
public boolean isMarked();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.util.concurrent.atomic.AtomicMarkableReference.pair:Ljava/util/concurrent/atomic/AtomicMarkableReference$Pair;
getfield java.util.concurrent.atomic.AtomicMarkableReference$Pair.mark:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/util/concurrent/atomic/AtomicMarkableReference<TV;>;
public V get();
descriptor: ([Z)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield java.util.concurrent.atomic.AtomicMarkableReference.pair:Ljava/util/concurrent/atomic/AtomicMarkableReference$Pair;
astore 2
start local 2 1: aload 1
iconst_0
aload 2
getfield java.util.concurrent.atomic.AtomicMarkableReference$Pair.mark:Z
bastore
2: aload 2
getfield java.util.concurrent.atomic.AtomicMarkableReference$Pair.reference:Ljava/lang/Object;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/util/concurrent/atomic/AtomicMarkableReference<TV;>;
0 3 1 markHolder [Z
1 3 2 pair Ljava/util/concurrent/atomic/AtomicMarkableReference$Pair<TV;>;
Signature: ([Z)TV;
MethodParameters:
Name Flags
markHolder
public boolean weakCompareAndSet(V, V, boolean, );
descriptor: (Ljava/lang/Object;Ljava/lang/Object;ZZ)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
aload 2
1: iload 3
iload 4
2: invokevirtual java.util.concurrent.atomic.AtomicMarkableReference.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;ZZ)Z
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/util/concurrent/atomic/AtomicMarkableReference<TV;>;
0 3 1 expectedReference TV;
0 3 2 newReference TV;
0 3 3 expectedMark Z
0 3 4 newMark Z
Signature: (TV;TV;ZZ)Z
MethodParameters:
Name Flags
expectedReference
newReference
expectedMark
newMark
public boolean compareAndSet(V, V, boolean, );
descriptor: (Ljava/lang/Object;Ljava/lang/Object;ZZ)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
getfield java.util.concurrent.atomic.AtomicMarkableReference.pair:Ljava/util/concurrent/atomic/AtomicMarkableReference$Pair;
astore 5
start local 5 1: aload 1
aload 5
getfield java.util.concurrent.atomic.AtomicMarkableReference$Pair.reference:Ljava/lang/Object;
if_acmpne 7
2: iload 3
aload 5
getfield java.util.concurrent.atomic.AtomicMarkableReference$Pair.mark:Z
if_icmpne 7
3: aload 2
aload 5
getfield java.util.concurrent.atomic.AtomicMarkableReference$Pair.reference:Ljava/lang/Object;
if_acmpne 5
4: iload 4
aload 5
getfield java.util.concurrent.atomic.AtomicMarkableReference$Pair.mark:Z
if_icmpeq 6
5: StackMap locals: java.util.concurrent.atomic.AtomicMarkableReference$Pair
StackMap stack:
aload 0
aload 5
aload 2
iload 4
invokestatic java.util.concurrent.atomic.AtomicMarkableReference$Pair.of:(Ljava/lang/Object;Z)Ljava/util/concurrent/atomic/AtomicMarkableReference$Pair;
invokevirtual java.util.concurrent.atomic.AtomicMarkableReference.casPair:(Ljava/util/concurrent/atomic/AtomicMarkableReference$Pair;Ljava/util/concurrent/atomic/AtomicMarkableReference$Pair;)Z
ifeq 7
6: StackMap locals:
StackMap stack:
iconst_1
ireturn
StackMap locals:
StackMap stack:
7: iconst_0
ireturn
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 8 0 this Ljava/util/concurrent/atomic/AtomicMarkableReference<TV;>;
0 8 1 expectedReference TV;
0 8 2 newReference TV;
0 8 3 expectedMark Z
0 8 4 newMark Z
1 8 5 current Ljava/util/concurrent/atomic/AtomicMarkableReference$Pair<TV;>;
Signature: (TV;TV;ZZ)Z
MethodParameters:
Name Flags
expectedReference
newReference
expectedMark
newMark
public void set(V, );
descriptor: (Ljava/lang/Object;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield java.util.concurrent.atomic.AtomicMarkableReference.pair:Ljava/util/concurrent/atomic/AtomicMarkableReference$Pair;
astore 3
start local 3 1: aload 1
aload 3
getfield java.util.concurrent.atomic.AtomicMarkableReference$Pair.reference:Ljava/lang/Object;
if_acmpne 2
iload 2
aload 3
getfield java.util.concurrent.atomic.AtomicMarkableReference$Pair.mark:Z
if_icmpeq 3
2: StackMap locals: java.util.concurrent.atomic.AtomicMarkableReference$Pair
StackMap stack:
aload 0
aload 1
iload 2
invokestatic java.util.concurrent.atomic.AtomicMarkableReference$Pair.of:(Ljava/lang/Object;Z)Ljava/util/concurrent/atomic/AtomicMarkableReference$Pair;
putfield java.util.concurrent.atomic.AtomicMarkableReference.pair:Ljava/util/concurrent/atomic/AtomicMarkableReference$Pair;
3: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/util/concurrent/atomic/AtomicMarkableReference<TV;>;
0 4 1 newReference TV;
0 4 2 newMark Z
1 4 3 current Ljava/util/concurrent/atomic/AtomicMarkableReference$Pair<TV;>;
Signature: (TV;Z)V
MethodParameters:
Name Flags
newReference
newMark
public boolean attemptMark(V, );
descriptor: (Ljava/lang/Object;Z)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield java.util.concurrent.atomic.AtomicMarkableReference.pair:Ljava/util/concurrent/atomic/AtomicMarkableReference$Pair;
astore 3
start local 3 1: aload 1
aload 3
getfield java.util.concurrent.atomic.AtomicMarkableReference$Pair.reference:Ljava/lang/Object;
if_acmpne 5
2: iload 2
aload 3
getfield java.util.concurrent.atomic.AtomicMarkableReference$Pair.mark:Z
if_icmpeq 4
3: aload 0
aload 3
aload 1
iload 2
invokestatic java.util.concurrent.atomic.AtomicMarkableReference$Pair.of:(Ljava/lang/Object;Z)Ljava/util/concurrent/atomic/AtomicMarkableReference$Pair;
invokevirtual java.util.concurrent.atomic.AtomicMarkableReference.casPair:(Ljava/util/concurrent/atomic/AtomicMarkableReference$Pair;Ljava/util/concurrent/atomic/AtomicMarkableReference$Pair;)Z
ifeq 5
4: StackMap locals: java.util.concurrent.atomic.AtomicMarkableReference$Pair
StackMap stack:
iconst_1
ireturn
StackMap locals:
StackMap stack:
5: iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljava/util/concurrent/atomic/AtomicMarkableReference<TV;>;
0 6 1 expectedReference TV;
0 6 2 newMark Z
1 6 3 current Ljava/util/concurrent/atomic/AtomicMarkableReference$Pair<TV;>;
Signature: (TV;Z)Z
MethodParameters:
Name Flags
expectedReference
newMark
private boolean casPair(java.util.concurrent.atomic.AtomicMarkableReference$Pair<V>, java.util.concurrent.atomic.AtomicMarkableReference$Pair<V>);
descriptor: (Ljava/util/concurrent/atomic/AtomicMarkableReference$Pair;Ljava/util/concurrent/atomic/AtomicMarkableReference$Pair;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: getstatic java.util.concurrent.atomic.AtomicMarkableReference.PAIR:Ljava/lang/invoke/VarHandle;
aload 0
aload 1
aload 2
invokevirtual java.lang.invoke.VarHandle.compareAndSet:(Ljava/util/concurrent/atomic/AtomicMarkableReference;Ljava/util/concurrent/atomic/AtomicMarkableReference$Pair;Ljava/util/concurrent/atomic/AtomicMarkableReference$Pair;)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/util/concurrent/atomic/AtomicMarkableReference<TV;>;
0 1 1 cmp Ljava/util/concurrent/atomic/AtomicMarkableReference$Pair<TV;>;
0 1 2 val Ljava/util/concurrent/atomic/AtomicMarkableReference$Pair<TV;>;
Signature: (Ljava/util/concurrent/atomic/AtomicMarkableReference$Pair<TV;>;Ljava/util/concurrent/atomic/AtomicMarkableReference$Pair<TV;>;)Z
MethodParameters:
Name Flags
cmp
val
}
Signature: <V:Ljava/lang/Object;>Ljava/lang/Object;
SourceFile: "AtomicMarkableReference.java"
NestMembers:
java.util.concurrent.atomic.AtomicMarkableReference$Pair
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
private Pair = java.util.concurrent.atomic.AtomicMarkableReference$Pair of java.util.concurrent.atomic.AtomicMarkableReference