Constantsยง
- DEFAULT_
MEMORY_ ๐PROPORTION - Use 10% of compute total memory by default. Compute node uses 0.7 * system memory by default.
Functionsยง
- build_
jvm_ with_ native_ registration - dump_
jvm_ stack_ traces - Dumps the JVM stack traces.
- execute_
with_ jni_ env - jobj_
to_ str - A helper method to convert an java object to rust string.
- jvm_env
- load_
jvm_ memory_ stats - Load JVM memory statistics from the runtime. If JVM is not initialized or fail to initialize, return zero.
- locate_
libs_ ๐path - register_
java_ binding_ native_ methods - register_
jvm_ builder - Register the JVM initialization closure.