Module jvm_runtime

Source

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.