(Generated by scripts/public_api_report.sh)
This report summarizes the intended public surface of jvmti-bindings.
Agenttraitexport_agent!macroget_default_callbacksjnire-export (crate::sys::jni)describe_jni_result- Modules:
env,sys,classfile,prelude,embed(feature-gated),advanced(feature-gated)
Public types:
JvmtiJniEnvLocalRefGlobalRefThreadInfoThreadGroupInfoMonitorUsageStackInfoExtensionParamInfoExtensionFunctionInfoExtensionEventInfoLocalVariableEntry
Common Jvmti helper methods:
set_default_agent_callbacksadd_class_file_load_hook_capabilitiesadd_method_trace_capabilitiesadd_exception_capabilitiesadd_heap_sampling_capabilitiesenable_class_file_load_hook_eventsenable_method_entry_exit_eventsenable_exception_eventsenable_heap_sampling_eventsenable_vm_lifecycle_eventsconfigure_class_file_load_hook_agentconfigure_method_trace_agentconfigure_exception_agentconfigure_heap_sampling_agentget_error_name_string
sys::jni- Raw JNI types, constants, and function tables.sys::jvmti- Raw JVMTI types, constants, and function tables.- Diagnostics:
jni::result_name,jni::describe_result,jvmti::error_name. - Capability presets:
jvmtiCapabilities::for_class_file_load_hook,for_method_trace,for_exceptions,for_heap_sampling.
Note: sys mirrors JNI/JVMTI headers and may grow with new JDK versions.
ClassFileand supporting structs/enums for all standard Java 8-27 attributes.ClassFile::parse(bytes)entry point.
Recommended imports for agent authors:
Agent,export_agent!,get_default_callbacksenv::{Jvmti, JniEnv, LocalRef, GlobalRef}sys::{jni, jvmti}embed::{JavaVmBuilder, JavaVm, AttachedThread}when theembedfeature is enabled
Feature-gated JVM embedding helpers (embed feature):
JavaVmBuilderJavaVmAttachedThreadfind_libjvmfind_libjvm_verboseEmbedError
Feature-gated helpers (disabled by default):
advanced::heap_graph(heap-graphfeature)
envand top-level exports are intended to be stable.sysis a low-level mirror of JNI/JVMTI C headers.advancedis explicitly allowed to change more rapidly.