Crate jvmti_wrapper
source · [−]Modules
Descriptors for classes and method IDs.
Wrappers for object pointers returned from the JVM.
Parser for java type signatures.
String types for going to/from java strings.
jni-sys
re-exports
Structs
A RAII implementation of scoped guard which detaches the current thread
when dropped. The attached JNIEnv
can be accessed through this guard
via its Deref
implementation.
Thread attachment manager. It allows to execute closures in attached threads with automatic
local references management done with with_local_frame
. It combines the performance benefits
of permanent attaches whilst removing the risk of local references leaks if used consistently.
FFI-compatible JNIEnv struct. You can safely use this as the JNIEnv argument to exported methods that will be called by java. This is where most of the magic happens. All methods on this object are wrappers around JNI functions, so the documentation on their behavior is still pretty applicable.
The Java VM, providing Invocation API support.
Guard for a lock on a java object. This gets returned from the lock_obj
method.
Native method descriptor.
Enums
JNI Version
Constants
The capacity of local frames, allocated for attached threads by default. Same as the default value Hotspot uses when calling native Java methods.