final class com.google.common.util.concurrent.AbstractFuture$UnsafeAtomicHelper extends com.google.common.util.concurrent.AbstractFuture$AtomicHelper
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.google.common.util.concurrent.AbstractFuture$UnsafeAtomicHelper
super_class: com.google.common.util.concurrent.AbstractFuture$AtomicHelper
{
static final sun.misc.Unsafe UNSAFE;
descriptor: Lsun/misc/Unsafe;
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final long LISTENERS_OFFSET;
descriptor: J
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final long WAITERS_OFFSET;
descriptor: J
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final long VALUE_OFFSET;
descriptor: J
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final long WAITER_THREAD_OFFSET;
descriptor: J
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final long WAITER_NEXT_OFFSET;
descriptor: J
flags: (0x0018) ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=2, args_size=0
0: aconst_null
astore 0
start local 0 1: invokestatic sun.misc.Unsafe.getUnsafe:()Lsun/misc/Unsafe;
astore 0
2: goto 10
StackMap locals: sun.misc.Unsafe
StackMap stack: java.lang.SecurityException
3: pop
4: new com.google.common.util.concurrent.AbstractFuture$UnsafeAtomicHelper$1
dup
invokespecial com.google.common.util.concurrent.AbstractFuture$UnsafeAtomicHelper$1.<init>:()V
5: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedExceptionAction;)Ljava/lang/Object;
checkcast sun.misc.Unsafe
6: astore 0
7: goto 10
StackMap locals:
StackMap stack: java.security.PrivilegedActionException
8: astore 1
start local 1 9: new java.lang.RuntimeException
dup
ldc "Could not initialize intrinsics"
aload 1
invokevirtual java.security.PrivilegedActionException.getCause:()Ljava/lang/Throwable;
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 1 10: StackMap locals:
StackMap stack:
ldc Lcom/google/common/util/concurrent/AbstractFuture;
astore 1
start local 1 11: aload 0
aload 1
ldc "waiters"
invokevirtual java.lang.Class.getDeclaredField:(Ljava/lang/String;)Ljava/lang/reflect/Field;
invokevirtual sun.misc.Unsafe.objectFieldOffset:(Ljava/lang/reflect/Field;)J
putstatic com.google.common.util.concurrent.AbstractFuture$UnsafeAtomicHelper.WAITERS_OFFSET:J
12: aload 0
aload 1
ldc "listeners"
invokevirtual java.lang.Class.getDeclaredField:(Ljava/lang/String;)Ljava/lang/reflect/Field;
invokevirtual sun.misc.Unsafe.objectFieldOffset:(Ljava/lang/reflect/Field;)J
putstatic com.google.common.util.concurrent.AbstractFuture$UnsafeAtomicHelper.LISTENERS_OFFSET:J
13: aload 0
aload 1
ldc "value"
invokevirtual java.lang.Class.getDeclaredField:(Ljava/lang/String;)Ljava/lang/reflect/Field;
invokevirtual sun.misc.Unsafe.objectFieldOffset:(Ljava/lang/reflect/Field;)J
putstatic com.google.common.util.concurrent.AbstractFuture$UnsafeAtomicHelper.VALUE_OFFSET:J
14: aload 0
ldc Lcom/google/common/util/concurrent/AbstractFuture$Waiter;
ldc "thread"
invokevirtual java.lang.Class.getDeclaredField:(Ljava/lang/String;)Ljava/lang/reflect/Field;
invokevirtual sun.misc.Unsafe.objectFieldOffset:(Ljava/lang/reflect/Field;)J
putstatic com.google.common.util.concurrent.AbstractFuture$UnsafeAtomicHelper.WAITER_THREAD_OFFSET:J
15: aload 0
ldc Lcom/google/common/util/concurrent/AbstractFuture$Waiter;
ldc "next"
invokevirtual java.lang.Class.getDeclaredField:(Ljava/lang/String;)Ljava/lang/reflect/Field;
invokevirtual sun.misc.Unsafe.objectFieldOffset:(Ljava/lang/reflect/Field;)J
putstatic com.google.common.util.concurrent.AbstractFuture$UnsafeAtomicHelper.WAITER_NEXT_OFFSET:J
16: aload 0
putstatic com.google.common.util.concurrent.AbstractFuture$UnsafeAtomicHelper.UNSAFE:Lsun/misc/Unsafe;
end local 1 17: goto 21
StackMap locals:
StackMap stack: java.lang.Exception
18: astore 1
start local 1 19: aload 1
invokestatic com.google.common.base.Throwables.throwIfUnchecked:(Ljava/lang/Throwable;)V
20: new java.lang.RuntimeException
dup
aload 1
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 1 end local 0 21: StackMap locals:
StackMap stack:
return
LocalVariableTable:
Start End Slot Name Signature
1 21 0 unsafe Lsun/misc/Unsafe;
9 10 1 e Ljava/security/PrivilegedActionException;
11 17 1 abstractFuture Ljava/lang/Class<*>;
19 21 1 e Ljava/lang/Exception;
Exception table:
from to target type
1 2 3 Class java.lang.SecurityException
4 7 8 Class java.security.PrivilegedActionException
10 17 18 Class java.lang.Exception
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial com.google.common.util.concurrent.AbstractFuture$AtomicHelper.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/util/concurrent/AbstractFuture$UnsafeAtomicHelper;
void putThread(com.google.common.util.concurrent.AbstractFuture$Waiter, java.lang.Thread);
descriptor: (Lcom/google/common/util/concurrent/AbstractFuture$Waiter;Ljava/lang/Thread;)V
flags: (0x0000)
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: getstatic com.google.common.util.concurrent.AbstractFuture$UnsafeAtomicHelper.UNSAFE:Lsun/misc/Unsafe;
aload 1
getstatic com.google.common.util.concurrent.AbstractFuture$UnsafeAtomicHelper.WAITER_THREAD_OFFSET:J
aload 2
invokevirtual sun.misc.Unsafe.putObject:(Ljava/lang/Object;JLjava/lang/Object;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/common/util/concurrent/AbstractFuture$UnsafeAtomicHelper;
0 2 1 waiter Lcom/google/common/util/concurrent/AbstractFuture$Waiter;
0 2 2 newValue Ljava/lang/Thread;
MethodParameters:
Name Flags
waiter
newValue
void putNext(com.google.common.util.concurrent.AbstractFuture$Waiter, com.google.common.util.concurrent.AbstractFuture$Waiter);
descriptor: (Lcom/google/common/util/concurrent/AbstractFuture$Waiter;Lcom/google/common/util/concurrent/AbstractFuture$Waiter;)V
flags: (0x0000)
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: getstatic com.google.common.util.concurrent.AbstractFuture$UnsafeAtomicHelper.UNSAFE:Lsun/misc/Unsafe;
aload 1
getstatic com.google.common.util.concurrent.AbstractFuture$UnsafeAtomicHelper.WAITER_NEXT_OFFSET:J
aload 2
invokevirtual sun.misc.Unsafe.putObject:(Ljava/lang/Object;JLjava/lang/Object;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/common/util/concurrent/AbstractFuture$UnsafeAtomicHelper;
0 2 1 waiter Lcom/google/common/util/concurrent/AbstractFuture$Waiter;
0 2 2 newValue Lcom/google/common/util/concurrent/AbstractFuture$Waiter;
MethodParameters:
Name Flags
waiter
newValue
boolean casWaiters(com.google.common.util.concurrent.AbstractFuture<?>, com.google.common.util.concurrent.AbstractFuture$Waiter, com.google.common.util.concurrent.AbstractFuture$Waiter);
descriptor: (Lcom/google/common/util/concurrent/AbstractFuture;Lcom/google/common/util/concurrent/AbstractFuture$Waiter;Lcom/google/common/util/concurrent/AbstractFuture$Waiter;)Z
flags: (0x0000)
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: getstatic com.google.common.util.concurrent.AbstractFuture$UnsafeAtomicHelper.UNSAFE:Lsun/misc/Unsafe;
aload 1
getstatic com.google.common.util.concurrent.AbstractFuture$UnsafeAtomicHelper.WAITERS_OFFSET:J
aload 2
aload 3
invokevirtual sun.misc.Unsafe.compareAndSwapObject:(Ljava/lang/Object;JLjava/lang/Object;Ljava/lang/Object;)Z
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/util/concurrent/AbstractFuture$UnsafeAtomicHelper;
0 1 1 future Lcom/google/common/util/concurrent/AbstractFuture<*>;
0 1 2 expect Lcom/google/common/util/concurrent/AbstractFuture$Waiter;
0 1 3 update Lcom/google/common/util/concurrent/AbstractFuture$Waiter;
Signature: (Lcom/google/common/util/concurrent/AbstractFuture<*>;Lcom/google/common/util/concurrent/AbstractFuture$Waiter;Lcom/google/common/util/concurrent/AbstractFuture$Waiter;)Z
MethodParameters:
Name Flags
future
expect
update
boolean casListeners(com.google.common.util.concurrent.AbstractFuture<?>, com.google.common.util.concurrent.AbstractFuture$Listener, com.google.common.util.concurrent.AbstractFuture$Listener);
descriptor: (Lcom/google/common/util/concurrent/AbstractFuture;Lcom/google/common/util/concurrent/AbstractFuture$Listener;Lcom/google/common/util/concurrent/AbstractFuture$Listener;)Z
flags: (0x0000)
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: getstatic com.google.common.util.concurrent.AbstractFuture$UnsafeAtomicHelper.UNSAFE:Lsun/misc/Unsafe;
aload 1
getstatic com.google.common.util.concurrent.AbstractFuture$UnsafeAtomicHelper.LISTENERS_OFFSET:J
aload 2
aload 3
invokevirtual sun.misc.Unsafe.compareAndSwapObject:(Ljava/lang/Object;JLjava/lang/Object;Ljava/lang/Object;)Z
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/util/concurrent/AbstractFuture$UnsafeAtomicHelper;
0 1 1 future Lcom/google/common/util/concurrent/AbstractFuture<*>;
0 1 2 expect Lcom/google/common/util/concurrent/AbstractFuture$Listener;
0 1 3 update Lcom/google/common/util/concurrent/AbstractFuture$Listener;
Signature: (Lcom/google/common/util/concurrent/AbstractFuture<*>;Lcom/google/common/util/concurrent/AbstractFuture$Listener;Lcom/google/common/util/concurrent/AbstractFuture$Listener;)Z
MethodParameters:
Name Flags
future
expect
update
boolean casValue(com.google.common.util.concurrent.AbstractFuture<?>, , );
descriptor: (Lcom/google/common/util/concurrent/AbstractFuture;Ljava/lang/Object;Ljava/lang/Object;)Z
flags: (0x0000)
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: getstatic com.google.common.util.concurrent.AbstractFuture$UnsafeAtomicHelper.UNSAFE:Lsun/misc/Unsafe;
aload 1
getstatic com.google.common.util.concurrent.AbstractFuture$UnsafeAtomicHelper.VALUE_OFFSET:J
aload 2
aload 3
invokevirtual sun.misc.Unsafe.compareAndSwapObject:(Ljava/lang/Object;JLjava/lang/Object;Ljava/lang/Object;)Z
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/util/concurrent/AbstractFuture$UnsafeAtomicHelper;
0 1 1 future Lcom/google/common/util/concurrent/AbstractFuture<*>;
0 1 2 expect Ljava/lang/Object;
0 1 3 update Ljava/lang/Object;
Signature: (Lcom/google/common/util/concurrent/AbstractFuture<*>;Ljava/lang/Object;Ljava/lang/Object;)Z
MethodParameters:
Name Flags
future
expect
update
}
SourceFile: "AbstractFuture.java"
NestHost: com.google.common.util.concurrent.AbstractFuture
InnerClasses:
private abstract AtomicHelper = com.google.common.util.concurrent.AbstractFuture$AtomicHelper of com.google.common.util.concurrent.AbstractFuture
private final Listener = com.google.common.util.concurrent.AbstractFuture$Listener of com.google.common.util.concurrent.AbstractFuture
private final UnsafeAtomicHelper = com.google.common.util.concurrent.AbstractFuture$UnsafeAtomicHelper of com.google.common.util.concurrent.AbstractFuture
com.google.common.util.concurrent.AbstractFuture$UnsafeAtomicHelper$1
private final Waiter = com.google.common.util.concurrent.AbstractFuture$Waiter of com.google.common.util.concurrent.AbstractFuture