classes.io.netty.util.internal.PlatformDependent0.class Maven / Gradle / Ivy
???? 2 )io/netty/util/internal/PlatformDependent0 java/lang/Object PlatformDependent0.java +io/netty/util/internal/PlatformDependent0$8 +io/netty/util/internal/PlatformDependent0$7 +io/netty/util/internal/PlatformDependent0$6
+io/netty/util/internal/PlatformDependent0$5 +io/netty/util/internal/PlatformDependent0$4 +io/netty/util/internal/PlatformDependent0$3 +io/netty/util/internal/PlatformDependent0$2 +io/netty/util/internal/PlatformDependent0$1 logger /Lio/netty/util/internal/logging/InternalLogger; UNSAFE Lsun/misc/Unsafe; ADDRESS_FIELD_OFFSET J BYTE_ARRAY_BASE_OFFSET DIRECT_BUFFER_CONSTRUCTOR Ljava/lang/reflect/Constructor; "Ljava/lang/reflect/Constructor<*>; HASH_CODE_ASCII_SEED I²?5 HASH_CODE_C1?5? HASH_CODE_C2 UNSAFE_COPY_THRESHOLD UNALIGNED Z isUnaligned ()Z ) * - hasUnsafe 0 unalignedAccess throwException (Ljava/lang/Throwable;)V cause 5 !io/netty/util/internal/ObjectUtil 7 checkNotNull 8(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; 9 :
8 ; java/lang/Throwable = sun/misc/Unsafe ? 3 4
@ A Ljava/lang/Throwable; #hasDirectBufferNoCleanerConstructor E reallocateDirectNoCleaner -(Ljava/nio/ByteBuffer;I)Ljava/nio/ByteBuffer; directBufferAddress (Ljava/nio/ByteBuffer;)J I J
K reallocateMemory (JJ)J M N
@ O newDirectBuffer (JI)Ljava/nio/ByteBuffer; Q R
S buffer Ljava/nio/ByteBuffer; capacity allocateDirectNoCleaner (I)Ljava/nio/ByteBuffer; allocateMemory (J)J Z [
@ \ address ^ checkPositiveOrZero (JLjava/lang/String;)J ` a
8 b W (ILjava/lang/String;)I ` e
8 f java/lang/Long h valueOf (J)Ljava/lang/Long; j k
i l java/lang/Integer n (I)Ljava/lang/Integer; j p
o q java/lang/reflect/Constructor s newInstance '([Ljava/lang/Object;)Ljava/lang/Object; u v
t w java/nio/ByteBuffer y java/lang/Error { } 4
| ~ freeDirectBuffer (Ljava/nio/ByteBuffer;)V io/netty/util/internal/Cleaner0 ? ? ?
? ? ? getLong (Ljava/lang/Object;J)J ? ?
? byteArrayBaseOffset ()J ? getObject '(Ljava/lang/Object;J)Ljava/lang/Object; ? ?
@ ? object Ljava/lang/Object; fieldOffset getObjectVolatile ? ?
@ ? getInt (Ljava/lang/Object;J)I ? ?
@ ?
@ ? objectFieldOffset (Ljava/lang/reflect/Field;)J ? ?
@ ? field Ljava/lang/reflect/Field; getByte (J)B ? ?
@ ? getShort (J)S ? ?
@ ? (J)I ? ?
@ ? ? [
@ ? ([BI)B (Ljava/lang/Object;J)B ? ?
@ ? data [B index ([BI)S (Ljava/lang/Object;J)S ? ?
@ ? ([BI)I ([BI)J putOrderedObject ((Ljava/lang/Object;JLjava/lang/Object;)V ? ?
@ ? value putByte (JB)V ? ?
@ ? B putShort (JS)V ? ?
@ ? S putInt (JI)V ? ?
@ ? putLong (JJ)V ? ?
@ ? ([BIB)V (Ljava/lang/Object;JB)V ? ?
@ ? ([BIS)V (Ljava/lang/Object;JS)V ? ?
@ ? ([BII)V (Ljava/lang/Object;JI)V ? ?
@ ? ([BIJ)V (Ljava/lang/Object;JJ)V ? ?
@ ?
copyMemory (JJJ)V java/lang/Math ? min ? N
? ? ? ?
@ ? size srcAddr dstAddr length *(Ljava/lang/Object;JLjava/lang/Object;JJ)V ? ?
@ ? src srcOffset dst dstOffset setMemory (JJB)V ? ?
@ ? bytes (Ljava/lang/Object;JJB)V ? ?
@ o offset equals
([BI[BII)Z ? getChar (Ljava/lang/Object;J)C
@
i j bytes1 startPos1 bytes2 startPos2 baseOffset1 baseOffset2 remainingBytes end equalsConstantTime
([BI[BII)I (io/netty/util/internal/ConstantTimeUtils (JJ)I
result
hashCodeAscii ([BII)I hashCodeAsciiCompute (JI)I%&
' hashCodeAsciiSanitize (B)I)*
+ (S)I)-
. (I)I)0
1 startPos hash
baseOffset newAtomicReferenceFieldUpdater ^(Ljava/lang/Class;Ljava/lang/String;)Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater; java/lang/Exception; 8io/netty/util/internal/UnsafeAtomicReferenceFieldUpdater= 7(Lsun/misc/Unsafe;Ljava/lang/Class;Ljava/lang/String;)V }?
>@ tclass Ljava/lang/Class<-TU;>; Ljava/lang/Class; fieldName Ljava/lang/String; newAtomicIntegerFieldUpdater \(Ljava/lang/Class;Ljava/lang/String;)Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater; 6io/netty/util/internal/UnsafeAtomicIntegerFieldUpdaterI
J@ Ljava/lang/Class<-TT;>; newAtomicLongFieldUpdater Y(Ljava/lang/Class;Ljava/lang/String;)Ljava/util/concurrent/atomic/AtomicLongFieldUpdater; 3io/netty/util/internal/UnsafeAtomicLongFieldUpdaterO
P@ getClassLoader *(Ljava/lang/Class;)Ljava/lang/ClassLoader; java/lang/SystemT getSecurityManager ()Ljava/lang/SecurityManager;VW
UX java/lang/ClassZ ()Ljava/lang/ClassLoader;R\
[] (Ljava/lang/Class;)V }_
` java/security/AccessControllerb doPrivileged 4(Ljava/security/PrivilegedAction;)Ljava/lang/Object;de
cf java/lang/ClassLoaderh clazz Ljava/lang/Class<*>; getContextClassLoader java/lang/Threadm
currentThread ()Ljava/lang/Thread;op
nql\
ns ()V }u
v getSystemClassLoaderx\
iy
v addressSize ()I|}
@~
freeMemory (J)V??
@?
v this +Lio/netty/util/internal/PlatformDependent0; java/lang/InstantiationException? java/lang/IllegalAccessException? +java/lang/reflect/InvocationTargetException? 4io/netty/util/internal/logging/InternalLoggerFactory? getInstance B(Ljava/lang/Class;)Lio/netty/util/internal/logging/InternalLogger;??
?? ? allocateDirect? Y
z? } ?
? java/lang/reflect/Field? "java.nio.Buffer.address: available? -io/netty/util/internal/logging/InternalLogger? debug (Ljava/lang/String;)V???? $java.nio.Buffer.address: unavailable? *(Ljava/lang/String;Ljava/lang/Throwable;)V????
v &sun.misc.Unsafe.theUnsafe: unavailable? $sun.misc.Unsafe.theUnsafe: available? (Lsun/misc/Unsafe;)V }?
? %sun.misc.Unsafe.copyMemory: available? 'sun.misc.Unsafe.copyMemory: unavailable?????????
? $direct buffer constructor: available? &direct buffer constructor: unavailable?
? arrayBaseOffset (Ljava/lang/Class;)I??
@?
v java/lang/Boolean? booleanValue? ,
?? &java.nio.Bits.unaligned: available, {}? (Z)Ljava/lang/Boolean; j?
?? '(Ljava/lang/String;Ljava/lang/Object;)V???? os.arch? ? )io/netty/util/internal/SystemPropertyUtil? get 8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;??
?? ^(i[3-6]86|x86(_64)?|x64|amd64)$? java/lang/String? matches (Ljava/lang/String;)Z??
?? java/lang/StringBuilder?
?v &java.nio.Bits.unaligned: unavailable, ? append -(Ljava/lang/String;)Ljava/lang/StringBuilder;??
?? (Z)Ljava/lang/StringBuilder;??
?? toString ()Ljava/lang/String;??
?? /java.nio.DirectByteBuffer.(long, int): {}? available? unavailable?
? addressField unsafe finalUnsafe maybeException maybeUnsafe directBufferConstructor e "Ljava/lang/InstantiationException; "Ljava/lang/IllegalAccessException; -Ljava/lang/reflect/InvocationTargetException; maybeDirectBufferConstructor unaligned arch Ljava/lang/Exception; maybeUnaligned direct maybeAddressField Signature
ConstantValue Code LineNumberTable
StackMapTable LocalVariableTable LocalVariableTypeTable
Exceptions ?(Ljava/lang/Class<-TU;>;Ljava/lang/String;)Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater; }(Ljava/lang/Class<-TT;>;Ljava/lang/String;)Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater; z(Ljava/lang/Class<-TT;>;Ljava/lang/String;)Ljava/util/concurrent/atomic/AtomicLongFieldUpdater; -(Ljava/lang/Class<*>;)Ljava/lang/ClassLoader;
SourceFile InnerClasses 0
! " # ! $ % ! $ &