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

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

There is a newer version: 1.6.5
Show newest version
????2_(io/netty/util/internal/PlatformDependentjava/lang/ObjectPlatformDependent.java:io/netty/util/internal/PlatformDependent$AtomicLongCounterAtomicLongCounter-io/netty/util/internal/PlatformDependent$Mpsc	Mpsc*io/netty/util/internal/PlatformDependent$1logger/Lio/netty/util/internal/logging/InternalLogger;"MAX_DIRECT_MEMORY_SIZE_ARG_PATTERNLjava/util/regex/Pattern;
IS_ANDROIDZ
IS_WINDOWSIS_ROOTLjava/lang/Boolean;JAVA_VERSIONI!CAN_ENABLE_TCP_NODELAY_BY_DEFAULTIS_EXPLICIT_NO_UNSAFE
HAS_UNSAFECAN_USE_CHM_V8DIRECT_BUFFER_PREFERREDMAX_DIRECT_MEMORYJMPSC_CHUNK_SIZEMIN_MAX_MPSC_CAPACITYDEFAULT_MAX_MPSC_CAPACITYMAX_ALLOWED_MPSC_CAPACITY@BYTE_ARRAY_BASE_OFFSET
HAS_JAVASSISTTMPDIRLjava/io/File;BIT_MODEADDRESS_SIZEUSE_DIRECT_BUFFER_NO_CLEANERDIRECT_MEMORY_COUNTER(Ljava/util/concurrent/atomic/AtomicLong;DIRECT_MEMORY_LIMITBIG_ENDIAN_NATIVE_ORDER$assertionsDisabled	isAndroid()Z	6	isWindows	9isRoot	<isRoot0>5
?java/lang/BooleanAvalueOf(Z)Ljava/lang/Boolean;CD
BEjava/lang/ThrowableGbooleanValueI5
BJjavaVersion()I	NcanEnableTcpNoDelayByDefault	Q	hasUnsafe	TisUnaligned)io/netty/util/internal/PlatformDependent0WV5
XYdirectBufferPreferred	\maxDirectMemory()J	`hasJavassist)	ctmpdir()Ljava/io/File;*+	gbitMode,	jaddressSize-	mallocateMemory(J)Jop
Xqsize
freeMemory(J)Vtu
XvaddressthrowException(Ljava/lang/Throwable;)VS5
{yz
X}throwException0z
?tLjava/lang/Throwable;newConcurrentHashMap&()Ljava/util/concurrent/ConcurrentMap;	?0io/netty/util/internal/chmv8/ConcurrentHashMapV8?()V??
??&java/util/concurrent/ConcurrentHashMap?
??newLongCounter&()Lio/netty/util/internal/LongCounter;(io/netty/util/internal/chmv8/LongAdderV8?
??/(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45
???
X?bufferLjava/nio/ByteBuffer;directBufferAddress(Ljava/nio/ByteBuffer;)J??
X?directBuffer(JI)Ljava/nio/ByteBuffer;#hasDirectBufferNoCleanerConstructor?5
X?newDirectBuffer??
X?'java/lang/UnsupportedOperationException?Lsun.misc.Unsafe or java.nio.DirectByteBuffer.(long, int) not available?(Ljava/lang/String;)V??
??
memoryAddress	getObject'(Ljava/lang/Object;J)Ljava/lang/Object;??
X?objectLjava/lang/Object;fieldOffsetgetObjectVolatile??
X?getInt(Ljava/lang/Object;J)I??
X?objectFieldOffset(Ljava/lang/reflect/Field;)J??
X?fieldLjava/lang/reflect/Field;getByte(J)B??
X?getShort(J)S??
X?(J)I??
X?getLong?p
X?([BI)B??
X?data[Bindex([BI)S??
X?([BI)I??
X?([BI)J??
X?getLongSafe2	?bytesoffset
getIntSafegetShortSafehashCodeAsciiCompute(Ljava/lang/CharSequence;II)I?5?hashCodeAsciiSanitizeInt(Ljava/lang/CharSequence;I)I

valueLjava/lang/CharSequence;hashjava/lang/CharSequencecharAt(I)ChashCodeAsciiSanitizeShorthashCodeAsciiSanitizsByte(C)ICputOrderedObject((Ljava/lang/Object;JLjava/lang/Object;)V
X putByte(JB)V"#
X$BputShort(JS)V'(
X)SputInt(JI)V,-
X.putLong(JJ)V01
X2([BIB)V"4
X5([BIS)V'7
X8([BII)V,:
X;([BIJ)V0=
X>
copyMemory(JJJ)V@A
XBsrcAddrdstAddrlength([BIJJ)V(	H*(Ljava/lang/Object;JLjava/lang/Object;JJ)V@J
XKsrcsrcIndex(J[BIJ)VdstdstIndex	setMemory([BIJB)V(Ljava/lang/Object;JJB)VRT
XU(JJB)VRW
XXallocateDirectNoCleaner(I)Ljava/nio/ByteBuffer;3	\.	^java/lang/AssertionError`
a?incrementMemoryCounterc?
dZ[
XfdecrementMemoryCounterh?
i
}ecapacityreallocateDirectNoCleaner-(Ljava/nio/ByteBuffer;I)Ljava/nio/ByteBuffer;java/nio/ByteBufferpmM
qrno
XtlenfreeDirectNoCleaner/0	x&java/util/concurrent/atomic/AtomicLongzget|_
{}1	-io/netty/util/internal/OutOfDirectMemoryError?java/lang/StringBuilder?
??failed to allocate ?append-(Ljava/lang/String;)Ljava/lang/StringBuilder;??
??(I)Ljava/lang/StringBuilder;??
??! byte(s) of direct memory (used: ?(J)Ljava/lang/StringBuilder;??
??, max: ?(C)Ljava/lang/StringBuilder;??
??toString()Ljava/lang/String;??
??
??
compareAndSet(JJ)Z??
{?
usedMemory
newUsedMemory	addAndGet?p
{?useDirectBufferNoCleanerequals
([BI[BII)ZunalignedAccess?5
X?
equalsSafe??
???
X?bytes1	startPos1bytes2	startPos2equalsConstantTime
([BI[BII)I(io/netty/util/internal/ConstantTimeUtils???
??
X?
hashCodeAscii([BII)IhashCodeAsciiSafe??
???
X?startPos(Ljava/lang/CharSequence;)I²?5FM?

?
?
?iremainingBytesnewAtomicReferenceFieldUpdater^(Ljava/lang/Class;Ljava/lang/String;)Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;??
X?tclassLjava/lang/Class<-TU;>;Ljava/lang/Class;	fieldNameLjava/lang/String;newAtomicIntegerFieldUpdater\(Ljava/lang/Class;Ljava/lang/String;)Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;??
X?Ljava/lang/Class<-TT;>;newAtomicLongFieldUpdaterY(Ljava/lang/Class;Ljava/lang/String;)Ljava/util/concurrent/atomic/AtomicLongFieldUpdater;??
X?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;??
X?clazzLjava/lang/Class<*>;getContextClassLoader()Ljava/lang/ClassLoader;
XgetSystemClassLoader
XnewConcurrentDeque()Ljava/util/Deque;LM
	(java/util/concurrent/LinkedBlockingDeque
?*java/util/concurrent/ConcurrentLinkedDeque
?
isAndroid0android.app.Application
java/lang/ClassforName=(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;
	Platform: Android-io/netty/util/internal/logging/InternalLoggerdebug!? "androidignored
isWindows0os.name'))io/netty/util/internal/SystemPropertyUtil+8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;|-
,.java/util/Locale0USLjava/util/Locale;23	14java/lang/String6toLowerCase&(Ljava/util/Locale;)Ljava/lang/String;89
7:win<contains(Ljava/lang/CharSequence;)Z>?
7@Platform: WindowsBwindowsjava/lang/InterruptedExceptionEjava/io/IOExceptionGjava/lang/ExceptionI85
K/usr/bin/idM/bin/idO/usr/xpg4/bin/idQidS^(?:0|[1-9][0-9]*)$Ujava/util/regex/PatternWcompile-(Ljava/lang/String;)Ljava/util/regex/Pattern;YZ
X[[Ljava/lang/String;]java/lang/Runtime_
getRuntime()Ljava/lang/Runtime;ab
`c-ueexec(([Ljava/lang/String;)Ljava/lang/Process;gh
`ijava/io/BufferedReaderkjava/io/InputStreamReadermjava/lang/ProcessogetInputStream()Ljava/io/InputStream;qr
psio/netty/util/CharsetUtiluUS_ASCIILjava/nio/charset/Charset;wx	vy2(Ljava/io/InputStream;Ljava/nio/charset/Charset;)V?{
n|(Ljava/io/Reader;)V?~
lreadLine??
l?close??
l?waitFor?M
p?destroy??
p?matcher3(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;??
X?java/util/regex/Matcher?matches?5
??UID: {}?'(Ljava/lang/String;Ljava/lang/Object;)V!? ?0?(Ljava/lang/Object;)Z??
7?^Could not determine the current UID using /usr/bin/id; attempting to bind at privileged ports.?.*(?:denied|not.*permitted).*?java/net/ServerSocket?
??setReuseAddress(Z)V??
??java/net/InetSocketAddress?
??bind(Ljava/net/SocketAddress;)V??
??isDebugEnabled?5 ?$UID: 0 (succeded to bind at port {})?java/lang/Integer?(I)Ljava/lang/Integer;C?
??
??
getMessage??
J?8?
7?6UID: non-root (failed to bind at any privileged ports)?exitCodepLjava/lang/Process;inLjava/io/BufferedReader;uididCmdarr$len$i$messageLjava/lang/Exception;ssLjava/net/ServerSocket;ID_COMMANDSUID_PATTERNPERMISSION_DENIEDjavaVersion0(majorVersionFromJavaSpecificationVersion?M
?Java version: {}?majorVersionjava/lang/SecurityException?

?java/security/AccessController?doPrivileged4(Ljava/security/PrivilegedAction;)Ljava/lang/Object;??
??(Ljava/lang/String;)I??
?;security exception while reading java.specification.version?*(Ljava/lang/String;Ljava/lang/Throwable;)V!? ?javaSpecVersionLjava/lang/SecurityException;\.?split'(Ljava/lang/String;)[Ljava/lang/String;??
7?[I?parseInt??
??
componentsversionexplicitNoUnsafe0io.netty.noUnsafe?
getBoolean(Ljava/lang/String;Z)Z?
,-Dio.netty.noUnsafe: {}0sun.misc.Unsafe: unavailable (io.netty.noUnsafe)io.netty.tryUnsafe(Ljava/lang/String;)Z>	
,
org.jboss.netty.tryUnsafeKsun.misc.Unsafe: unavailable (io.netty.tryUnsafe/org.jboss.netty.tryUnsafe)	tryUnsafenoUnsafe
hasUnsafe0&sun.misc.Unsafe: unavailable (Android)	
X{sun.misc.Unsafe: {}	availableunavailablemaxDirectMemory0sun.misc.VM^getDeclaredMethod@(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;"#
$java/lang/reflect/Method&invoke9(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;()
'*java/lang/Number,	longValue._
-/&java.lang.management.ManagementFactory1"java.lang.management.RuntimeMXBean3getRuntimeMXBean5getInputArguments7java/util/List9sM:;	=(I)Ljava/lang/Object;|?:@group(I)Ljava/lang/String;BC
?Djava/lang/LongF	parseLong(Ljava/lang/String;)JHI
GJ
7@	maxMemoryS_
`T!maxDirectMemory: {} bytes (maybe)V(J)Ljava/lang/Long;CX
GYmaxDirectMemory: {} bytes[vmClassmLjava/lang/reflect/Method;Ljava/util/regex/Matcher;mgmtFactoryClassruntimeClassruntimevmArgs$Ljava/util/List;Ljava/util/List;
hasJavassist0io.netty.noJavassisth-Dio.netty.noJavassist: {}j-Javassist: unavailable (io.netty.noJavassist)l
?=io/netty/util/internal/JavassistTypeParameterMatcherGeneratorogenerateW(Ljava/lang/Class;Ljava/lang/ClassLoader;)Lio/netty/util/internal/TypeParameterMatcher;qr
psJavassist: availableuJavassist: unavailablew?You don't have Javassist in your class path or you don't have enough permission to load dynamically generated classes.  Please check the configuration for better performance.ynoJavassisttmpdir0io.netty.tmpdir}&(Ljava/lang/String;)Ljava/lang/String;|
,?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?? ?userprofilefmkdirs?5
??isDirectory?5
??getAbsoluteFile?f
??pathbitMode0io.netty.bitMode?(Ljava/lang/String;I)I??
,?-Dio.netty.bitMode: {}?sun.arch.data.model?,-Dio.netty.bitMode: {} (sun.arch.data.model)?com.ibm.vm.bitmode?+-Dio.netty.bitMode: {} (com.ibm.vm.bitmode)?os.arch?trim??
7?amd64?x86_64?i386?i486?i586?i686?$-Dio.netty.bitMode: {} (os.arch: {})?9(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V!? ?java.vm.name?([1-9][0-9]+)-?bit?find?5
??archvmBIT_PATTERNaddressSize0lM
X?jend??
?(JI)I
?
X?hashCodeAsciiSanitize(B)I??
X?	?
?(S)I??
X??
?(I)I?
X
?this*Lio/netty/util/internal/PlatformDependent;
access$1001()Lio/netty/util/internal/logging/InternalLogger;desiredAssertionStatus	5

4io/netty/util/internal/logging/InternalLoggerFactorygetInstanceB(Ljava/lang/Class;)Lio/netty/util/internal/logging/InternalLogger;

;\s*-XX:MaxDirectMemorySize\s*=\s*([0-9]+)\s*([kKmMgG]?)\s*$5
&5
?M
?5
5
io.netty.noPreferDirect_
 byteArrayBaseOffset"_
X#g5
%|f
'?M
)?M
+java/nio/ByteOrder-nativeOrder()Ljava/nio/ByteOrder;/0
.1
BIG_ENDIANLjava/nio/ByteOrder;34	.5-Dio.netty.noPreferDirect: {}7?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 unstability.9info;? <io.netty.maxDirectMemory>????????(Ljava/lang/String;J)J?B
,C
{?"io.netty.maxDirectMemory: {} bytesF
ConstantValueCodeLineNumberTable
StackMapTableLocalVariableTable
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/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/util/Queue;/(I)Ljava/util/Queue;-(Ljava/lang/Class<*>;)Ljava/lang/ClassLoader;.()Ljava/util/Deque;
SourceFileInnerClasses1J H!"H#$H%&H'()*+,-./0123c	45I?7?J?	85I?:?J?	;5I|+?=?!YK²=??@?F?=*çL*?+??=?K?"J?????$?K?DH?	LMI?O?J?	P5I?R?J?	S5I?U?J?	V5I?Z?J?	[5I?]?J?	^_I?a?J?	b5I?d?J?	efI?h?J?	iMI?k?J?	lMI?n?J	opI/?r?LsJ	tuI3?w?LxJ

	yzIR?|?
*?~?*???L??J
K

zI,*?L??JMHNO	??I??????Y?????Y???J!"$KNP	??I@?U???Y????Y???J,-/K	??IS?????Y?????Y???L?J78:KNQ	??I_???
??Y#?????Y#???L???JBCEKNR	??Ik?????Y#?????Y#???L ????JNOQKNS	??Ie?????Y*?????Y*???L??T??JYZ\KNU	??IL?|?
???*???L??JehjK	??I/*???L??Jm	??I[?ę	?ǰ??Y˷οL?sJqrtK	??I:*?ӰL???Jy	??I:*?ٰL???J}	??I:*?ݬL???J?	??I/*??L??J?	??I/??LxJ?	??I/??LxJ?	??I/??LxJ?	?pI/??LxJ?	??I:*???L???J?	??I:*???L???J?	??I:*???L???J?	??I:*??L???J?
?I#ܲ?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??L???J??o?K?o
?I?\??.*3x*`3?~x?*`3?~x?*`3?~??*3?~*`3?~x?*`3?~x?*`3x??L\?\J??1?K1
	?Io*??*3x*`3?~???*3?~*`3x???L*?*J???K

IVh*?h`*`?`?L J?

I?z??<*?~*`?~x?*`?~x?*?~x??*`?~x*`?~x?*`?~x?*?~??LzzJ????K?
I??%?Lx&J
		'(I>?*?Lx+J

	,-I>?/?LxJ
	01I> ?3?LxJ
	"4II*?6?L ???&J
	'7II*?9?L ???+J
	,:II*??*??5I?L???7YNSYPSYRSYTSKV?\L*M,?>6??,2::::?d?7YSYfS?j:?lY?nY?t?z?}??:??:????6		?:?:	????
???:	?Y???Q:	?L:	:?
???:	?3???+:	?&:
?
???:?
???:
??%+???????????????????#??\M?>??:??Y??:????Y??????????????6?
???:?:??:?*:??:,??????<???4:?/?$???:?:?
???:
?????M?ù#????F???H???JI??H???H???JI????????H??J??????JO??J???J???JO????????J???L???	?%?	C???F???I???@???.?]1?4???/???6l?O???H??%??],??D??JjZ???%?,?@?C?F?I?`?x??????????????????????????????????????????????????????????????????????#,?2=	D
LO
X^kv?? ?"?%?#?%??????? ?"?%?#?%? ?"?%?#?%? ?"?%?#?%?
?*	+KA#?+^X^?O	^X^7pl7??	^X^7pl7FLHLJDHQHLJDH?^X^7pl7HHLJ??&^X^??X?<??^XX?J?^XX?J?J7_J?LJDH?
^XX?HJ?^XX?
?MIr!???	;???;???????L	??J12479K??MI{#?
Y?޸??7K*??K??*????L??l?J>DEF GKS???I?I*??L+??
M>+??,+2??O????,.??]?,.??aY?b?,.?,.?L*?I??A?]
<??J&	LM
NON$R+SATEVK?^??
?5I?W??;??F?????#?????A???:????n?E?K??E?L?TGNK<MEgNk<mEMi??Oi??	Qi??	????n?M	???d?U??W?Z????\?Z???),H5HL\	
]?^_?v^`???@?a?K?b?`?c?y?dfK^T*
]?@?a?K?b?y?deJ? ??
??)?,?-?3?5?@?K?`?y?????????????????
??????#?*?<?K?KB?,H?N:?#??O??BH
g5I?a????i?;?k?F????m?#??n?tW?v?#?L?x?#?z?#?0GHHLI??Q{J:?????#?.?0?;?F?H?I?T?_?K?'WH
|fI6	~????K*???*??*??????K*???*??*??L???????K*???*??*????L+?W??Y??+?????????K*???*??*???Y??+?????????K*???*??*???????K*???*??*??L?L???Y???K???Y???K??*??*??H7?H8Y?HZ??H???H???HL*aX??
??+??+??+J?#?
????&?*?6?8?>?H?L?X?Z?a?e?}?????????????????
?????K'??!?47?)?H?
?
??I?%*????Y*??L+??W+????+???M+?!"JL #%?%???+J&	 !#$(")#*K
??DJ
?MI?????;???????????;???????????;?????????*?/?5?;??L?+???
?+???	@;?.?+???!?+????+???
?+??? ;?????+???*?/?5?;M?\N-,??:??
?E???@?L4?ij????#?????^`Jf01237%8)98::<B=F>U?WCjD~E?F?G?J?K?O?P?Q?R?S?UK	??&7'?/7X?
?MI5?|????JZ[]K
??I?+`666?*3,3????????LR	 ??+??+?+??+?+F%?Jabcd b)gK????I?
?>~6`6d`6?*????>???????????sU*h*3??`h*`????`h*`???`?h*????`h*`???`?h*3??`h*`???`?h*???`?h*3??`h*`????`?h*????`?h*3??`??LH?
?
?
F
???J>no
pqr*q0t\v?z?}?????????K
???+*??I3*??LJ
??I??JJ?IP^????]???\?>??7??:??O?????R????U?U??O?????U?????]?!?a?$?I?&?d?(?h?*?k?,?n?2?6????????8?]???F???|???????:?=?@?D?	???|?	?Ě?_?y?5?_	??!?!?	??
?y??{Y?E?y?
?{Y?E?y???G?Z???L?b^J?$JLN!Q'R-U3WAYGZM[c\{^?e?g?i?k?m?r?u?v?y?z????
????"?&?,?3?@?J?N?]?K6@/@ @@3@? 7? 7?
	]^






© 2015 - 2025 Weber Informatics LLC | Privacy Policy