classes.io.netty.util.internal.UnsafeAtomicLongFieldUpdater.class Maven / Gradle / Ivy
???? 2 j 3io/netty/util/internal/UnsafeAtomicLongFieldUpdater OLjava/util/concurrent/atomic/AtomicLongFieldUpdater; 2java/util/concurrent/atomic/AtomicLongFieldUpdater !UnsafeAtomicLongFieldUpdater.java offset J unsafe Lsun/misc/Unsafe; 7(Lsun/misc/Unsafe;Ljava/lang/Class;Ljava/lang/String;)V java/lang/NoSuchFieldException
()V
java/lang/Class getDeclaredField -(Ljava/lang/String;)Ljava/lang/reflect/Field;
java/lang/reflect/Field getModifiers ()I
java/lang/reflect/Modifier
isVolatile (I)Z !
" "java/lang/IllegalArgumentException $ Must be volatile & (Ljava/lang/String;)V (
% ) sun/misc/Unsafe + java/lang/String -
/ objectFieldOffset (Ljava/lang/reflect/Field;)J 1 2
, 3 5 this :Lio/netty/util/internal/UnsafeAtomicLongFieldUpdater; 5Lio/netty/util/internal/UnsafeAtomicLongFieldUpdater; tClass Ljava/lang/Class<-TT;>; Ljava/lang/Class; fieldName Ljava/lang/String; field Ljava/lang/reflect/Field;
compareAndSet (Ljava/lang/Object;JJ)Z compareAndSwapLong (Ljava/lang/Object;JJJ)Z C D
, E obj TT; Ljava/lang/Object; expect update weakCompareAndSet set (Ljava/lang/Object;J)V putLongVolatile (Ljava/lang/Object;JJ)V O P
, Q newValue lazySet putOrderedLong U P
, V get (Ljava/lang/Object;)J getLongVolatile (Ljava/lang/Object;J)J Z [
, \ Code LocalVariableTable LocalVariableTypeTable LineNumberTable
StackMapTable
Exceptions Signature =(Lsun/misc/Unsafe;Ljava/lang/Class<-TT;>;Ljava/lang/String;)V (TT;JJ)Z (TT;J)V (TT;)J
SourceFile 0
^ ? 0*? ,-? :? ? #?
? %Y'? *?*+? 0*+? 4? 6? _ 4 0 7 9 0
0 : <