Modules§
- descriptors
- Descriptors for classes and method IDs.
- errors
- objects
- Wrappers for object pointers returned from the JVM.
- signature
- Parser for java type signatures.
- strings
- String types for going to/from java strings.
- sync
- sys
jni-sys
re-exports
Structs§
- Attach
Guard - A RAII implementation of scoped guard which detaches the current thread
when dropped. The attached
JNIEnv
can be accessed through this guard via itsDeref
implementation. - Executor
- 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. - Jvmti
Env - Monitor
Guard - Guard for a lock on a java object. This gets returned from the
lock_obj
method. - Native
Method - Native method descriptor.
- _jvmti
Env - jvmti
Addr Location Map - jvmti
Capabilities - jvmti
Class Definition - jvmti
Event Callbacks - jvmti
Extension Event Info - jvmti
Extension Function Info - jvmti
Frame Info - jvmti
Heap Callbacks - jvmti
Heap Reference Info - jvmti
Heap Reference Info Array - jvmti
Heap Reference Info Constant Pool - jvmti
Heap Reference Info Field - jvmti
Heap Reference Info JniLocal - jvmti
Heap Reference Info Reserved - jvmti
Heap Reference Info Stack Local - jvmti
Interface_ 1 - jvmti
Line Number Entry - jvmti
Local Variable Entry - jvmti
Monitor Stack Depth Info - jvmti
Monitor Usage - jvmti
Param Info - jvmti
Stack Info - jvmti
Thread Group Info - jvmti
Thread Info - jvmti
Timer Info
Enums§
- JNIVersion
- JNI Version
- _jraw
MonitorID - jvmti
Error - jvmti
Event - jvmti
Event Mode - jvmti
Heap Object Filter - jvmti
Heap Reference Kind - jvmti
Heap Root Kind - jvmti
Iteration Control - jvmti
Jlocation Format - jvmti
Object Reference Kind - jvmti
Param Kind - jvmti
Param Types - jvmti
Phase - jvmti
Primitive Type - jvmti
Timer Kind - jvmti
Verbose Flag
Constants§
- DEFAULT_
LOCAL_ FRAME_ CAPACITY - The capacity of local frames, allocated for attached threads by default. Same as the default value Hotspot uses when calling native Java methods.
- JVMTI_
CLASS_ STATUS_ ARRAY - JVMTI_
CLASS_ STATUS_ ERROR - JVMTI_
CLASS_ STATUS_ INITIALIZED - JVMTI_
CLASS_ STATUS_ PREPARED - JVMTI_
CLASS_ STATUS_ PRIMITIVE - JVMTI_
CLASS_ STATUS_ VERIFIED - JVMTI_
ERROR_ MAX - JVMTI_
HEAP_ FILTER_ CLASS_ TAGGED - JVMTI_
HEAP_ FILTER_ CLASS_ UNTAGGED - JVMTI_
HEAP_ FILTER_ TAGGED - JVMTI_
HEAP_ FILTER_ UNTAGGED - JVMTI_
JAVA_ LANG_ THREAD_ STATE_ BLOCKED - JVMTI_
JAVA_ LANG_ THREAD_ STATE_ MASK - JVMTI_
JAVA_ LANG_ THREAD_ STATE_ NEW - JVMTI_
JAVA_ LANG_ THREAD_ STATE_ RUNNABLE - JVMTI_
JAVA_ LANG_ THREAD_ STATE_ TERMINATED - JVMTI_
JAVA_ LANG_ THREAD_ STATE_ TIMED_ WAITING - JVMTI_
JAVA_ LANG_ THREAD_ STATE_ WAITING - JVMTI_
MAX_ EVENT_ TYPE_ VAL - JVMTI_
MIN_ EVENT_ TYPE_ VAL - JVMTI_
RESOURCE_ EXHAUSTED_ JAVA_ HEAP - JVMTI_
RESOURCE_ EXHAUSTED_ OOM_ ERROR - JVMTI_
RESOURCE_ EXHAUSTED_ THREADS - JVMTI_
THREAD_ MAX_ PRIORITY - JVMTI_
THREAD_ MIN_ PRIORITY - JVMTI_
THREAD_ NORM_ PRIORITY - JVMTI_
THREAD_ STATE_ ALIVE - JVMTI_
THREAD_ STATE_ BLOCKED_ ON_ MONITOR_ ENTER - JVMTI_
THREAD_ STATE_ INTERRUPTED - JVMTI_
THREAD_ STATE_ IN_ NATIVE - JVMTI_
THREAD_ STATE_ IN_ OBJECT_ WAIT - JVMTI_
THREAD_ STATE_ PARKED - JVMTI_
THREAD_ STATE_ RUNNABLE - JVMTI_
THREAD_ STATE_ SLEEPING - JVMTI_
THREAD_ STATE_ SUSPENDED - JVMTI_
THREAD_ STATE_ TERMINATED - JVMTI_
THREAD_ STATE_ VENDOR_ 1 - JVMTI_
THREAD_ STATE_ VENDOR_ 2 - JVMTI_
THREAD_ STATE_ VENDOR_ 3 - JVMTI_
THREAD_ STATE_ WAITING - JVMTI_
THREAD_ STATE_ WAITING_ INDEFINITELY - JVMTI_
THREAD_ STATE_ WAITING_ WITH_ TIMEOUT - JVMTI_
VERSION - JVMTI_
VERSION_ 1 - JVMTI_
VERSION_ 1_ 0 - JVMTI_
VERSION_ 1_ 1 - JVMTI_
VERSION_ 1_ 2 - JVMTI_
VERSION_ INTERFACE_ JNI - JVMTI_
VERSION_ INTERFACE_ JVMTI - JVMTI_
VERSION_ MASK_ INTERFACE_ TYPE - JVMTI_
VERSION_ MASK_ MAJOR - JVMTI_
VERSION_ MASK_ MICRO - JVMTI_
VERSION_ MASK_ MINOR - JVMTI_
VERSION_ SHIFT_ MAJOR - JVMTI_
VERSION_ SHIFT_ MICRO - JVMTI_
VERSION_ SHIFT_ MINOR - JVMTI_
VISIT_ ABORT - JVMTI_
VISIT_ OBJECTS
Type Aliases§
- jlocation
- jraw
MonitorID - jthread
- jthread
Group - jvmti
Array Primitive Value Callback - jvmti
Env - jvmti
Event Breakpoint - jvmti
Event Class File Load Hook - jvmti
Event Class Load - jvmti
Event Class Prepare - jvmti
Event Compiled Method Load - jvmti
Event Compiled Method Unload - jvmti
Event Data Dump Request - jvmti
Event Dynamic Code Generated - jvmti
Event Exception - jvmti
Event Exception Catch - jvmti
Event Field Access - jvmti
Event Field Modification - jvmti
Event Frame Pop - jvmti
Event Garbage Collection Finish - jvmti
Event Garbage Collection Start - jvmti
Event Method Entry - jvmti
Event Method Exit - jvmti
Event Monitor Contended Enter - jvmti
Event Monitor Contended Entered - jvmti
Event Monitor Wait - jvmti
Event Monitor Waited - jvmti
Event Native Method Bind - jvmti
Event Object Free - jvmti
Event Reserved - jvmti
Event Resource Exhausted - jvmti
Event Single Step - jvmti
Event Thread End - jvmti
Event Thread Start - jvmti
EventVM Death - jvmti
EventVM Init - jvmti
EventVM Object Alloc - jvmti
EventVM Start - jvmti
Extension Event - jvmti
Extension Function - jvmti
Heap Iteration Callback - jvmti
Heap Object Callback - jvmti
Heap Reference Callback - jvmti
Heap Root Callback - jvmti
Object Reference Callback - jvmti
Primitive Field Callback - jvmti
Reserved Callback - jvmti
Stack Reference Callback - jvmti
Start Function - jvmti
String Primitive Value Callback