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

com.groupbyinc.flux.bootstrap.JNANatives.class Maven / Gradle / Ivy

There is a newer version: 59
Show newest version
????3M(com/groupbyinc/flux/bootstrap/JNANativesjava/lang/ObjectJNANatives.java0com/groupbyinc/flux/bootstrap/JNACLibrary$Rlimit)com/groupbyinc/flux/bootstrap/JNACLibraryRlimitGcom/groupbyinc/flux/bootstrap/JNAKernel32Library$MemoryBasicInformation0com/groupbyinc/flux/bootstrap/JNAKernel32Library
MemoryBasicInformation6com/groupbyinc/flux/bootstrap/JNAKernel32Library$SizeTSizeT+com/groupbyinc/flux/monitor/jvm/JvmInfo$Mem'com/groupbyinc/flux/monitor/jvm/JvmInfoMemlogger-Lcom/groupbyinc/flux/common/logging/ESLogger;LOCAL_MLOCKALLZ
LOCAL_SECCOMPLOCAL_SECCOMP_ALL$assertionsDisabled()V 
!this*Lcom/groupbyinc/flux/bootstrap/JNANatives;tryMlockalljava/lang/UnsatisfiedLinkError&?mlockall(I)I)*
	+	-java/lang/String/)com/groupbyinc/flux/common/sun/jna/Native1getLastError()I34
25strerror(I)Ljava/lang/String;78
	97com/groupbyinc/flux/common/apache/lucene/util/Constants;LINUX=	<>MAC_OS_X@	<A
!RLIMIT_MEMLOCKIDE		F	getrlimit6(ILcom/groupbyinc/flux/bootstrap/JNACLibrary$Rlimit;)IHI
	Jrlim_cur/Lcom/groupbyinc/flux/common/sun/jna/NativeLong;LM	N-com/groupbyinc/flux/common/sun/jna/NativeLongP	longValue()JRS
QTrlim_maxVM	W	Yjava/lang/StringBuilder[
\!$Unable to retrieve resource limits: ^append-(Ljava/lang/String;)Ljava/lang/StringBuilder;`a
\btoString()Ljava/lang/String;de
\f+com/groupbyinc/flux/common/logging/ESLoggerhwarn((Ljava/lang/String;[Ljava/lang/Object;)Vjkil!Unable to lock JVM Memory: error=n(I)Ljava/lang/StringBuilder;`p
\q,reason=s5This can result in part of the JVM being swapped out.u%Increase RLIMIT_MEMLOCK, soft limit: wrlimitToString(J)Ljava/lang/String;yz
{, hard limit: }	user.namejava/lang/System?getProperty&(Ljava/lang/String;)Ljava/lang/String;??
??[These can be adjusted by modifying /etc/security/limits.conf, for example: 
	# allow user '?' mlockall
?	? soft memlock unlimited
? hard memlock unlimited?`If you are logged in interactively, you will have to re-login for the new limits to take effect.?!Increase RLIMIT_MEMLOCK (ulimit).?rlimit2Lcom/groupbyinc/flux/bootstrap/JNACLibrary$Rlimit;resulte Ljava/lang/UnsatisfiedLinkError;userLjava/lang/String;errnoerrMsg
rlimitSuccess	softLimitJ	hardLimit	?java/lang/AssertionError?
?!
RLIM_INFINITY??		?	unlimited?java/lang/Long?dz
??valuedefinitelyRunningAsRoot()ZWINDOWS?	<?geteuid?4
	?tryVirtualLockgetInstance4()Lcom/groupbyinc/flux/bootstrap/JNAKernel32Library;??
?GetCurrentProcess.()Lcom/groupbyinc/flux/common/sun/jna/Pointer;??
?jvmInfo+()Lcom/groupbyinc/flux/monitor/jvm/JvmInfo;??
?getMem/()Lcom/groupbyinc/flux/monitor/jvm/JvmInfo$Mem;??
?getHeapInit1()Lcom/groupbyinc/flux/common/unit/ByteSizeValue;??
?-com/groupbyinc/flux/common/unit/ByteSizeValue?getBytes?S
??(J)V?
?SetProcessWorkingSetSize?(Lcom/groupbyinc/flux/common/sun/jna/Pointer;Lcom/groupbyinc/flux/bootstrap/JNAKernel32Library$SizeT;Lcom/groupbyinc/flux/bootstrap/JNAKernel32Library$SizeT;)Z??
?FUnable to lock JVM memory. Failed to set working set size. Error code ?*com/groupbyinc/flux/common/sun/jna/Pointer?
!
??size?4
?VirtualQueryEx?(Lcom/groupbyinc/flux/common/sun/jna/Pointer;Lcom/groupbyinc/flux/common/sun/jna/Pointer;Lcom/groupbyinc/flux/bootstrap/JNAKernel32Library$MemoryBasicInformation;I)I??
?State?M	?Protect?M	?BaseAddress,Lcom/groupbyinc/flux/common/sun/jna/Pointer;??	?
RegionSize8Lcom/groupbyinc/flux/bootstrap/JNAKernel32Library$SizeT;??	?
TVirtualLockg(Lcom/groupbyinc/flux/common/sun/jna/Pointer;Lcom/groupbyinc/flux/bootstrap/JNAKernel32Library$SizeT;)Z??
?CloseHandle/(Lcom/groupbyinc/flux/common/sun/jna/Pointer;)Z
java/lang/ThrowablelockablememInfoILcom/groupbyinc/flux/bootstrap/JNAKernel32Library$MemoryBasicInformation;addresskernel2Lcom/groupbyinc/flux/bootstrap/JNAKernel32Library;processaddConsoleCtrlHandler5(Lcom/groupbyinc/flux/bootstrap/ConsoleCtrlHandler;)V5(Lcom/groupbyinc/flux/bootstrap/ConsoleCtrlHandler;)Z

"console ctrl handler correctly setdebugkiunknown error " when adding console ctrl handler:handler2Lcom/groupbyinc/flux/bootstrap/ConsoleCtrlHandler;
trySeccomp(Ljava/nio/file/Path;)V%com/groupbyinc/flux/bootstrap/Seccompinit(Ljava/nio/file/Path;)I!"
 #	%	'isDebugEnabled)?i* unable to install syscall filter,=(Ljava/lang/String;Ljava/lang/Throwable;[Ljava/lang/Object;)V.i/"unable to install syscall filter: 1
getMessage3e
4rettLjava/lang/Throwable;tmpFileLjava/nio/file/Path;java/lang/Class<desiredAssertionStatus>?
=?*com/groupbyinc/flux/common/logging/LoggersA	getLogger@(Ljava/lang/Class;)Lcom/groupbyinc/flux/common/logging/ESLogger;CD
BECodeLocalVariableTableLineNumberTable
StackMapTable
SourceFileInnerClasses  G/*?"?H#$I)% G?	f(;L=	B	7?,6??.??6;?:L???	?B?S?Y?C:?G?K?=?O?UB?X?U7?'?Z?\Y?]_?c?6?:?c?g??m?:??Z?\Y?]o?c?rt?c+?c?g??m?Zv??m?????Z?\Y?]x?c!?|?c~?c?|?c?g??m???l???:?Z?\Y?]??c?c??c??c?c??c??c?c??c?g??m?Z???m??Z???m??'??'H\	:G??o?E???Q??c?Ea??_?	]??Z??I?!6789	:=>?@C D%E1G:HEIGJPK]M?S?P?R?V?W?X?Y?Z?[?]^FcTdWfeiJ$?0?+?#B'??
yzGj*???????B???Y????????????H*??Ilm"n%qJ
??Gi?????????K?'H??Iwx{|~J
	@@'? G)??KL*??L?Y?ŶɶͶ??a??M*+,,?ۚ'?Z?\Y?]ݶc?6?r?g??m???Y??N	7*+??Y??--???c-??U씚'-??U

??-??U???6?*-???Y-?????׶?W-????a7????.+?)*+?W? M+?*+?W?:+?	*+?W????'?????H>?(Y}\z	?#????
??If????#?-?Q?Y?\?r??????????????????????????????JN?Q??
?G@???L'M????
G?Q???M??*?<??Z???+?Z?\Y?]?c?6?r?c?g??m?L?LO'H>?QI"????$?L?O?P?J?$?'B'G?U*?$<?&??(?BL?Z?+??Z-+??0?Z?\Y?]2?c+?5?c?g??m?H 
6E>78U9:I*
??	?????!?1?T?JB??"; GX%?@?????F?Z?.?&?(?I&+.0 3J@KL"	
			




© 2015 - 2025 Weber Informatics LLC | Privacy Policy