Crate jvmti_wrapper

Source

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§

AttachGuard
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.
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.
JvmtiEnv
MonitorGuard
Guard for a lock on a java object. This gets returned from the lock_obj method.
NativeMethod
Native method descriptor.
_jvmtiEnv
jvmtiAddrLocationMap
jvmtiCapabilities
jvmtiClassDefinition
jvmtiEventCallbacks
jvmtiExtensionEventInfo
jvmtiExtensionFunctionInfo
jvmtiFrameInfo
jvmtiHeapCallbacks
jvmtiHeapReferenceInfo
jvmtiHeapReferenceInfoArray
jvmtiHeapReferenceInfoConstantPool
jvmtiHeapReferenceInfoField
jvmtiHeapReferenceInfoJniLocal
jvmtiHeapReferenceInfoReserved
jvmtiHeapReferenceInfoStackLocal
jvmtiInterface_1
jvmtiLineNumberEntry
jvmtiLocalVariableEntry
jvmtiMonitorStackDepthInfo
jvmtiMonitorUsage
jvmtiParamInfo
jvmtiStackInfo
jvmtiThreadGroupInfo
jvmtiThreadInfo
jvmtiTimerInfo

Enums§

JNIVersion
JNI Version
_jrawMonitorID
jvmtiError
jvmtiEvent
jvmtiEventMode
jvmtiHeapObjectFilter
jvmtiHeapReferenceKind
jvmtiHeapRootKind
jvmtiIterationControl
jvmtiJlocationFormat
jvmtiObjectReferenceKind
jvmtiParamKind
jvmtiParamTypes
jvmtiPhase
jvmtiPrimitiveType
jvmtiTimerKind
jvmtiVerboseFlag

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
jrawMonitorID
jthread
jthreadGroup
jvmtiArrayPrimitiveValueCallback
jvmtiEnv
jvmtiEventBreakpoint
jvmtiEventClassFileLoadHook
jvmtiEventClassLoad
jvmtiEventClassPrepare
jvmtiEventCompiledMethodLoad
jvmtiEventCompiledMethodUnload
jvmtiEventDataDumpRequest
jvmtiEventDynamicCodeGenerated
jvmtiEventException
jvmtiEventExceptionCatch
jvmtiEventFieldAccess
jvmtiEventFieldModification
jvmtiEventFramePop
jvmtiEventGarbageCollectionFinish
jvmtiEventGarbageCollectionStart
jvmtiEventMethodEntry
jvmtiEventMethodExit
jvmtiEventMonitorContendedEnter
jvmtiEventMonitorContendedEntered
jvmtiEventMonitorWait
jvmtiEventMonitorWaited
jvmtiEventNativeMethodBind
jvmtiEventObjectFree
jvmtiEventReserved
jvmtiEventResourceExhausted
jvmtiEventSingleStep
jvmtiEventThreadEnd
jvmtiEventThreadStart
jvmtiEventVMDeath
jvmtiEventVMInit
jvmtiEventVMObjectAlloc
jvmtiEventVMStart
jvmtiExtensionEvent
jvmtiExtensionFunction
jvmtiHeapIterationCallback
jvmtiHeapObjectCallback
jvmtiHeapReferenceCallback
jvmtiHeapRootCallback
jvmtiObjectReferenceCallback
jvmtiPrimitiveFieldCallback
jvmtiReservedCallback
jvmtiStackReferenceCallback
jvmtiStartFunction
jvmtiStringPrimitiveValueCallback