All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.netty.util.internal.PlatformDependent.class Maven / Gradle / Ivy

There is a newer version: 129
Show newest version
????2?(io/netty/util/internal/PlatformDependentjava/lang/ObjectPlatformDependent.javaBio/netty/util/internal/PlatformDependent$ThreadLocalRandomProviderThreadLocalRandomProvider:io/netty/util/internal/PlatformDependent$AtomicLongCounter	AtomicLongCounter-io/netty/util/internal/PlatformDependent$MpscMpsc*io/netty/util/internal/PlatformDependent$3*io/netty/util/internal/PlatformDependent$2*io/netty/util/internal/PlatformDependent$1logger/Lio/netty/util/internal/logging/InternalLogger;"MAX_DIRECT_MEMORY_SIZE_ARG_PATTERNLjava/util/regex/Pattern;
IS_WINDOWSZMAYBE_SUPER_USER!CAN_ENABLE_TCP_NODELAY_BY_DEFAULT
HAS_UNSAFEDIRECT_BUFFER_PREFERREDMAX_DIRECT_MEMORYJMPSC_CHUNK_SIZEIMIN_MAX_MPSC_CAPACITYDEFAULT_MAX_MPSC_CAPACITYMAX_ALLOWED_MPSC_CAPACITY@BYTE_ARRAY_BASE_OFFSETTMPDIRLjava/io/File;BIT_MODEADDRESS_SIZEUSE_DIRECT_BUFFER_NO_CLEANERDIRECT_MEMORY_COUNTER(Ljava/util/concurrent/atomic/AtomicLong;DIRECT_MEMORY_LIMITRANDOM_PROVIDERDLio/netty/util/internal/PlatformDependent$ThreadLocalRandomProvider;CLEANER Lio/netty/util/internal/Cleaner;(UNINITIALIZED_ARRAY_ALLOCATION_THRESHOLDBIG_ENDIAN_NATIVE_ORDERNOOP$assertionsDisabledallocateUninitializedArray(I)[B7"	=)io/netty/util/internal/PlatformDependent0?;<
@A[BCsize	isAndroid()ZFG
@H	isWindows	KmaybeSuperUser	NjavaVersion()IPQ
@RcanEnableTcpNoDelayByDefault	U	hasUnsafe	XisUnalignedZG
@[directBufferPreferred	^maxDirectMemory()J 	btmpdir()Ljava/io/File;+,	fbitMode-"	iaddressSize."	lallocateMemory(J)Jno
@p
freeMemory(J)Vrs
@taddressreallocateMemory(JJ)Jwx
@ynewSizethrowException(Ljava/lang/Throwable;)VWG
~|}
@?throwException0?}
?tLjava/lang/Throwable;java/lang/Throwable?newConcurrentHashMap&()Ljava/util/concurrent/ConcurrentMap;&java/util/concurrent/ConcurrentHashMap?()V??
??newLongCounter&()Lio/netty/util/internal/LongCounter;
R'io/netty/util/internal/LongAdderCounter?
??/(Lio/netty/util/internal/PlatformDependent$1;)V??

?'(I)Ljava/util/concurrent/ConcurrentMap;(I)V??
??initialCapacity((IF)Ljava/util/concurrent/ConcurrentMap;(IF)V??
??
loadFactorF)(IFI)Ljava/util/concurrent/ConcurrentMap;(IFI)V??
??concurrencyLevel5(Ljava/util/Map;)Ljava/util/concurrent/ConcurrentMap;(Ljava/util/Map;)V??
??mapLjava/util/Map<+TK;+TV;>;Ljava/util/Map;freeDirectBuffer(Ljava/nio/ByteBuffer;)V56	?io/netty/util/internal/Cleaner?????bufferLjava/nio/ByteBuffer;directBufferAddress(Ljava/nio/ByteBuffer;)J??
@?directBuffer(JI)Ljava/nio/ByteBuffer;#hasDirectBufferNoCleanerConstructor?G
@?newDirectBuffer??
@?'java/lang/UnsupportedOperationException?Lsun.misc.Unsafe or java.nio.DirectByteBuffer.(long, int) not available?(Ljava/lang/String;)V??
??
memoryAddressgetInt(Ljava/lang/Object;J)I??
@?objectLjava/lang/Object;fieldOffsetgetByte(J)B??
@?getShort(J)S??
@?(J)I??
@?getLong?o
@?([BI)B??
@?dataindex([BI)S??
@?([BI)I??
@?([BI)J??
@?getLongSafe8	??bytesoffset
getIntSafegetShortSafehashCodeAsciiCompute(Ljava/lang/CharSequence;II)I?5?hashCodeAsciiSanitizeInt(Ljava/lang/CharSequence;I)I??
valueLjava/lang/CharSequence;hashjava/lang/CharSequencecharAt(I)C	hashCodeAsciiSanitizeShorthashCodeAsciiSanitizeByte(C)ICputByte(JB)V
@BputShort(JS)V
@SputInt(JI)V
@putLong(JJ)V
@([BIB)V!
@"([BIS)V$
@%([BII)V'
@(([BIJ)V*
@+
copyMemory(JJJ)V-.
@/srcAddrdstAddrlength([BIJJ)V* 	5*(Ljava/lang/Object;JLjava/lang/Object;JJ)V-7
@8srcsrcIndex(J[BIJ)VdstdstIndex	setMemory([BIJB)V(Ljava/lang/Object;JJB)V?A
@B(JJB)V?D
@EallocateDirectNoCleaner(I)Ljava/nio/ByteBuffer;:	I/	Kjava/lang/AssertionErrorM
N?incrementMemoryCounterP?
QGH
@SdecrementMemoryCounterU?
V
?ecapacityreallocateDirectNoCleaner-(Ljava/nio/ByteBuffer;I)Ljava/nio/ByteBuffer;java/nio/ByteBuffer]ZQ
^_[\
@alenfreeDirectNoCleaner01	e&java/util/concurrent/atomic/AtomicLongggetia
hj2 	l-io/netty/util/internal/OutOfDirectMemoryErrornjava/lang/StringBuilderp
q?failed to allocate sappend-(Ljava/lang/String;)Ljava/lang/StringBuilder;uv
qw(I)Ljava/lang/StringBuilder;uy
qz! byte(s) of direct memory (used: |(J)Ljava/lang/StringBuilder;u~
q, max: ?(C)Ljava/lang/StringBuilder;u?
q?toString()Ljava/lang/String;??
q?
o?
compareAndSet(JJ)Z??
h?
usedMemory
newUsedMemory	addAndGet?o
h?useDirectBufferNoCleanerequals
([BI[BII)ZunalignedAccess?G
@?
equalsSafe??
???
@?bytes1	startPos1bytes2	startPos2isZero([BII)Z
isZeroSafe??
???
@?startPosequalsConstantTime
([BI[BII)I(io/netty/util/internal/ConstantTimeUtils???
??
@?
hashCodeAscii([BII)IhashCodeAsciiSafe??
???
@?(Ljava/lang/CharSequence;)I²?53Q???
?
??
?iremainingBytesnewMpscQueue()Ljava/util/Queue;(I)Ljava/util/Queue;??
?

?maxCapacitynewSpscQueue@io/netty/util/internal/shaded/org/jctools/queues/SpscLinkedQueue?
??Mio/netty/util/internal/shaded/org/jctools/queues/atomic/SpscLinkedAtomicQueue?
??java/util/AbstractQueue?newFixedMpscQueue?io/netty/util/internal/shaded/org/jctools/queues/MpscArrayQueue?
??Lio/netty/util/internal/shaded/org/jctools/queues/atomic/MpscAtomicArrayQueue?
??getClassLoader*(Ljava/lang/Class;)Ljava/lang/ClassLoader;??
@?clazzLjava/lang/Class<*>;Ljava/lang/Class;getContextClassLoader()Ljava/lang/ClassLoader;??
@?getSystemClassLoader??
@?newConcurrentDeque()Ljava/util/Deque;(java/util/concurrent/LinkedBlockingDeque?
??*java/util/concurrent/ConcurrentLinkedDeque?
??threadLocalRandom()Ljava/util/Random;34	?current???
isWindows0os.name??)io/netty/util/internal/SystemPropertyUtil?8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;i
?java/util/LocaleUSLjava/util/Locale;	java/lang/String	toLowerCase&(Ljava/util/Locale;)Ljava/lang/String;


wincontains(Ljava/lang/CharSequence;)Z

	Platform: Windows-io/netty/util/internal/logging/InternalLoggerdebug?windowsmaybeSuperUser0	user.name &(Ljava/lang/String;)Ljava/lang/String;i"
?#JG
%
Administrator'(Ljava/lang/Object;)Z?)

*root,toor.usernameLjava/lang/String;
hasUnsafe0
H&sun.misc.Unsafe: unavailable (Android)4isExplicitNoUnsafe6G
@7
@~sun.misc.Unsafe: {}:	available<unavailable>'(Ljava/lang/String;Ljava/lang/Object;)V@AignoredmaxDirectMemory0
?sun.misc.VMFjava/lang/ClassHforName=(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;JK
IL`getDeclaredMethod@(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;OP
IQjava/lang/reflect/MethodSinvoke9(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;UV
TWjava/lang/NumberY	longValue[a
Z\java/lang/ClassLoader^&java.lang.management.ManagementFactory`"java.lang.management.RuntimeMXBeanbgetRuntimeMXBeandgetInputArgumentsfjava/util/ListhEQij	l(I)Ljava/lang/Object;iniojava/util/regex/Patternqmatcher3(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;st
rujava/util/regex/MatcherwmatchesyG
xzgroup(I)Ljava/lang/String;|}
x~java/lang/Long?	parseLong(Ljava/lang/String;)J??
??

	@java/lang/Runtime?
getRuntime()Ljava/lang/Runtime;??
??	maxMemory?a
??!maxDirectMemory: {} bytes (maybe)?valueOf(J)Ljava/lang/Long;??
??maxDirectMemory: {} bytes?vmClassmLjava/lang/reflect/Method;Ljava/util/regex/Matcher;mgmtFactoryClassruntimeClassruntimevmArgs$Ljava/util/List;Ljava/util/List;systemClassLoaderLjava/lang/ClassLoader;tmpdir0io.netty.tmpdir?toDirectory"(Ljava/lang/String;)Ljava/io/File;??
?-Dio.netty.tmpdir: {}?java/io/File?java.io.tmpdir?&-Dio.netty.tmpdir: {} (java.io.tmpdir)?TEMP?java/lang/System?getenv?"
??-Dio.netty.tmpdir: {} (%TEMP%)?USERPROFILE?\AppData\Local\Temp?8-Dio.netty.tmpdir: {} (%USERPROFILE%\AppData\Local\Temp)?\Local Settings\Temp?9-Dio.netty.tmpdir: {} (%USERPROFILE%\Local Settings\Temp)?+-Dio.netty.tmpdir: {} ($TMPDIR)?C:\Windows\Temp?
??/tmp?:Failed to get the temporary directory; falling back to: {}?warn?@?userprofilefjava/lang/Exception?mkdirs?G
??isDirectory?G
??getAbsoluteFile?e
??Ljava/lang/Exception;pathbitMode0io.netty.bitMode?(Ljava/lang/String;I)I??
??-Dio.netty.bitMode: {}?java/lang/Integer?(I)Ljava/lang/Integer;??
??sun.arch.data.model?,-Dio.netty.bitMode: {} (sun.arch.data.model)?)com.groupbyinc.flux.common.ibm.vm.bitmode?+-Dio.netty.bitMode: {} (com.ibm.vm.bitmode)?os.arch?trim??

amd64x86_64i386i486i586
i686$-Dio.netty.bitMode: {} (os.arch: {})9(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)Vjava.vm.name([1-9][0-9]+)-?bitcompile-(Ljava/lang/String;)Ljava/util/regex/Pattern;
rfindG
xparseInt(Ljava/lang/String;)I
? archvmBIT_PATTERNaddressSize0kQ
@&byteArrayBaseOffset0????????byteArrayBaseOffset+a
@,end??
/(JI)I?1
@2hashCodeAsciiSanitize(B)I45
@6??
8(S)I4:
@;??
=(I)I4?
@@
?this*Lio/netty/util/internal/PlatformDependent;
access$1001()Lio/netty/util/internal/logging/InternalLogger;desiredAssertionStatusHG
II4io/netty/util/internal/logging/InternalLoggerFactoryKgetInstanceB(Ljava/lang/Class;)Lio/netty/util/internal/logging/InternalLogger;MN
LO;\s*-XX:MaxDirectMemorySize\s*=\s*([0-9]+)\s*([kKmMgG]?)\s*$Q?G
S2G
Uio.netty.noPreferDirectW
getBoolean(Ljava/lang/String;Z)ZYZ
?[Da
](a
_?e
a?Q
c%Q
ejava/nio/ByteOrdergnativeOrder()Ljava/nio/ByteOrder;ij
hk
BIG_ENDIANLjava/nio/ByteOrder;mn	ho
?96	r
?
?isDebugEnabledvGw-Dio.netty.noPreferDirect: {}yjava/lang/Boolean{(Z)Ljava/lang/Boolean;?}
|~?Your platform does not provide complete low-level API for accessing direct buffers reliably. Unless explicitly requested, heap buffer will always be preferred to avoid potential system instability.?info???io.netty.maxDirectMemory?(Ljava/lang/String;J)J??
??
h?$-Dio.netty.maxDirectMemory: {} bytes?.io.netty.uninitializedArrayAllocationThreshold?hasAllocateArrayMethod?G
@?4-Dio.netty.uninitializedArrayAllocationThreshold: {}?G
?#io/netty/util/internal/CleanerJava9?isSupported?G
??
??#io/netty/util/internal/CleanerJava6?
??
??tryAllocateUninitializedArray
ConstantValueCodeLocalVariableTableLineNumberTable
StackMapTable
Exceptions	Signature5(Ljava/lang/Throwable;)V^TE;X()Ljava/util/concurrent/ConcurrentMap;Y(I)Ljava/util/concurrent/ConcurrentMap;Z(IF)Ljava/util/concurrent/ConcurrentMap;[(IFI)Ljava/util/concurrent/ConcurrentMap;LocalVariableTypeTableq(Ljava/util/Map<+TK;+TV;>;)Ljava/util/concurrent/ConcurrentMap;.()Ljava/util/Queue;/(I)Ljava/util/Queue;-(Ljava/lang/Class<*>;)Ljava/lang/ClassLoader;.()Ljava/util/Deque;
SourceFileInnerClasses1 !"?#$"?%&"?'("?)* +,-"."/012 34567"896:[	;<?X?>?
?>?	???B??E"?????
CD	FG??I???	JG??L???	MG??O???	PQ??S???	TG??V???	WG??Y???	ZG??\???	]G??_???	`a??c??	de??g??		hQ??j??	kQ??m??	no?/?q??E ?	rs?3?u??v ?
 !	wx?: ?z??v { ?$	|}?R??
*???*???????+,
.0?

?}?,*?????4????	??? ??Y????;??	???B?????Y????
Y????BCE?	???3	??Y????	?"?M??	???>
??Y#????
?"
???T??	???I??Y#???? ?"???"?\??	???E	??Y*????	???	???c??	???8
??*????
???
k	l	???/*???????o	???[?Ù	?ư??YʷͿ?? E"?stv?	???:*?Ҭ???? ?{	???/?٬?v ?	???/?ݬ?v ??	???/???v ??	?o?/???v ??	???:*????C?"??	???:*????C?"??	???:*????C?"??	???:*????C?"??
???ز??l*3?8y*`3??0y?*`3??(y?*`3?? y?*`3??y?*`3??y?*`3??y?*`3????*3??*`3??y?*`3??y?*`3??y?*`3?? y?*`3??(y?*`3??0y?*`3?8y?????C??"???o???o
????\???.*3x*`3?~x?*`3?~x?*`3?~??*3?~*`3?~x?*`3?~x?*`3x???\?C\?"???1??1
???o*???*3x*`3?~???*3?~*`3x????*?C*?"?????
????2????h*`??h`*?`??h*??h`*`?`?? 22?"2"?&	??????"?-?1??
????|???>*`?
~*`?
~x?*`?
~x?*?
~x??*`?
~x*`?
~x?*`?
~x?*?
~???||?"?.???&?4?@?A?T?d?r?{???A
??????v ?
?	?>???v ?
	?>???v "?
	?> ? ??v  ?
	!?I*?#?? ?C?"?
	$?I*?&?? ?C?"?
	'?I*?)?? ?C?""?
	*?I* ?,?? ?C?" ?
	-.?J ?0?? 1 2 3 ?
 	-4?[*?6?a ?9??*:C;"2 3 ?
#$	-<?[,?6?a?9??*1 =C>"3 ?
'(	?@?Z*?6?a ?C??*=C>"? ?
+
,	?D?J ?F?? v ? ?
/0	GH??(?J??L??NY?O??R?T?L?W+?X???
Y?(Z"?79;<=">&??H?	[\??0?J??L??NY?O?*?`d=?R*?b?N?W-?X?$%??*&
Y?0??0Z"c"?"HJKM%N&O*P.Q??^?	d??r%?J??L??NY?O?*?`<*???u?W??%??Z"?Z\] ^$_?
P???c?f?_?f?k@?aB!?m??:?oY?qY?rt?x?{}?x????x?m??)????????f!????????? 
R? M? cZ"?&	bd
efgQj\k_mbo??J?

U??n%?f?!?ft???@?J?	???NY?O???? %Z"?rst$v?$	?G??L??y	????"??	???*,???*,????4"?C"?""?C"?""3"????!??H	???r??	???*???	*???? ?C?"3"??????E	????"??	???*,???*,????4"?C"?""?C"?""3"????!??H	???r??	???*???	*???? ?C?"3"??????E	??????<*??~=*????????????????????????????????????**??d**??d**??d???????*??HLX	Za
e}????????????#?!?&?'?)?,-?'??!?4
?)???
?
????%*????Y*??L+??W+???+??M+?!"?? #C?%?1?,?&	23679:>"?#@?
??D?
?Q??????;??????B????;??????B????;??????B???????L+?+?
+?+?	@;?.+?+?!	+?+?+?+?

+?+? ;????+?????M?N-,?v:??
??!?@??4?h"j?"1?##1?$????fFGHIM%N)O8P:RBSFTUUWYjZ~[?\?]?`?a?e?f?g?h?i?k?	??&
'?/
rx
%Q?5????'??pqs?
(a?7??)??-??wx
z?

????"`6?*3,3?????????>"?C"?""?C"?""3"."?~?? ???
????`>?*3????????*?C?"3"."???	????????????>~6`6d`6?*?0?3>???????????nR*?h*3?7`?h*`?9?<`?h*`?>?A`??h*?9?<`?h*`?>?A`??h*3?7`?h*`?>?A`??h*?>?A`??h*3?7`?h*`?9?<`??h*?9?<`??h*3?7`???H?"??C??"?3"?"
??"?."?b??
???*?0?\?n?|??????????????????????????????
?D?+'

???3*?B??CD?
??EF?????G????J???J?P?R??m?T?L?3???V?V?Y?Y?X?\???_?^?c?`?6?b?g?d?j?f?m?l?p?????Y?q?s????Y?t???
?Y?u????x??z?_????B???3??8??????)???	????	?Ú?L?f?5?L	??!?^?	??
?f??hY???f?
?hY???f?m?????B???=??	?
?????>???>???B???O?3?C??=??	????
??Y????s???"???
??Y????s???	?s??????` by?"??.?AC!F'I5K;LEMSNYU_WeYk[qc?e?m?n?u?|?}?????????????!?'?.?;?E?I?X?^?b?x????????????????J@#@@-@!	?
?
?
	?.@=B?B????2







© 2015 - 2025 Weber Informatics LLC | Privacy Policy