[−][src]Struct jvm_rs::jmm::jmmInterface_1_
Fields
reserved1: *mut c_void
reserved2: *mut c_void
GetVersion: Option<unsafe extern "C" fn(env: *mut JNIEnv) -> jint>
GetOptionalSupport: Option<unsafe extern "C" fn(env: *mut JNIEnv, support_ptr: *mut jmmOptionalSupport) -> jint>
GetThreadInfo: Option<unsafe extern "C" fn(env: *mut JNIEnv, ids: jlongArray, maxDepth: jint, infoArray: jobjectArray) -> jint>
GetMemoryPools: Option<unsafe extern "C" fn(env: *mut JNIEnv, mgr: jobject) -> jobjectArray>
GetMemoryManagers: Option<unsafe extern "C" fn(env: *mut JNIEnv, pool: jobject) -> jobjectArray>
GetMemoryPoolUsage: Option<unsafe extern "C" fn(env: *mut JNIEnv, pool: jobject) -> jobject>
GetPeakMemoryPoolUsage: Option<unsafe extern "C" fn(env: *mut JNIEnv, pool: jobject) -> jobject>
GetOneThreadAllocatedMemory: Option<unsafe extern "C" fn(env: *mut JNIEnv, thread_id: jlong) -> jlong>
GetThreadAllocatedMemory: Option<unsafe extern "C" fn(env: *mut JNIEnv, ids: jlongArray, sizeArray: jlongArray)>
GetMemoryUsage: Option<unsafe extern "C" fn(env: *mut JNIEnv, heap: jboolean) -> jobject>
GetLongAttribute: Option<unsafe extern "C" fn(env: *mut JNIEnv, obj: jobject, att: jmmLongAttribute) -> jlong>
GetBoolAttribute: Option<unsafe extern "C" fn(env: *mut JNIEnv, att: jmmBoolAttribute) -> jboolean>
SetBoolAttribute: Option<unsafe extern "C" fn(env: *mut JNIEnv, att: jmmBoolAttribute, flag: jboolean) -> jboolean>
GetLongAttributes: Option<unsafe extern "C" fn(env: *mut JNIEnv, obj: jobject, atts: *mut jmmLongAttribute, count: jint, result: *mut jlong) -> jint>
FindCircularBlockedThreads: Option<unsafe extern "C" fn(env: *mut JNIEnv) -> jobjectArray>
GetThreadCpuTime: Option<unsafe extern "C" fn(env: *mut JNIEnv, thread_id: jlong) -> jlong>
GetVMGlobalNames: Option<unsafe extern "C" fn(env: *mut JNIEnv) -> jobjectArray>
GetVMGlobals: Option<unsafe extern "C" fn(env: *mut JNIEnv, names: jobjectArray, globals: *mut jmmVMGlobal, count: jint) -> jint>
GetInternalThreadTimes: Option<unsafe extern "C" fn(env: *mut JNIEnv, names: jobjectArray, times: jlongArray) -> jint>
ResetStatistic: Option<unsafe extern "C" fn(env: *mut JNIEnv, obj: jvalue, type_: jmmStatisticType) -> jboolean>
SetPoolSensor: Option<unsafe extern "C" fn(env: *mut JNIEnv, pool: jobject, type_: jmmThresholdType, sensor: jobject)>
SetPoolThreshold: Option<unsafe extern "C" fn(env: *mut JNIEnv, pool: jobject, type_: jmmThresholdType, threshold: jlong) -> jlong>
GetPoolCollectionUsage: Option<unsafe extern "C" fn(env: *mut JNIEnv, pool: jobject) -> jobject>
GetGCExtAttributeInfo: Option<unsafe extern "C" fn(env: *mut JNIEnv, mgr: jobject, ext_info: *mut jmmExtAttributeInfo, count: jint) -> jint>
GetLastGCStat: Option<unsafe extern "C" fn(env: *mut JNIEnv, mgr: jobject, gc_stat: *mut jmmGCStat)>
GetThreadCpuTimeWithKind: Option<unsafe extern "C" fn(env: *mut JNIEnv, thread_id: jlong, user_sys_cpu_time: jboolean) -> jlong>
GetThreadCpuTimesWithKind: Option<unsafe extern "C" fn(env: *mut JNIEnv, ids: jlongArray, timeArray: jlongArray, user_sys_cpu_time: jboolean)>
DumpHeap0: Option<unsafe extern "C" fn(env: *mut JNIEnv, outputfile: jstring, live: jboolean) -> jint>
FindDeadlocks: Option<unsafe extern "C" fn(env: *mut JNIEnv, object_monitors_only: jboolean) -> jobjectArray>
SetVMGlobal: Option<unsafe extern "C" fn(env: *mut JNIEnv, flag_name: jstring, new_value: jvalue)>
reserved6: *mut c_void
DumpThreads: Option<unsafe extern "C" fn(env: *mut JNIEnv, ids: jlongArray, lockedMonitors: jboolean, lockedSynchronizers: jboolean, maxDepth: jint) -> jobjectArray>
SetGCNotificationEnabled: Option<unsafe extern "C" fn(env: *mut JNIEnv, mgr: jobject, enabled: jboolean)>
GetDiagnosticCommands: Option<unsafe extern "C" fn(env: *mut JNIEnv) -> jobjectArray>
GetDiagnosticCommandInfo: Option<unsafe extern "C" fn(env: *mut JNIEnv, cmds: jobjectArray, infoArray: *mut dcmdInfo)>
GetDiagnosticCommandArgumentsInfo: Option<unsafe extern "C" fn(env: *mut JNIEnv, commandName: jstring, infoArray: *mut dcmdArgInfo)>
ExecuteDiagnosticCommand: Option<unsafe extern "C" fn(env: *mut JNIEnv, command: jstring) -> jstring>
SetDiagnosticFrameworkNotificationEnabled: Option<unsafe extern "C" fn(env: *mut JNIEnv, enabled: jboolean)>
Trait Implementations
impl Clone for jmmInterface_1_
[src]
fn clone(&self) -> jmmInterface_1_
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for jmmInterface_1_
[src]
impl Debug for jmmInterface_1_
[src]
Auto Trait Implementations
impl RefUnwindSafe for jmmInterface_1_
impl !Send for jmmInterface_1_
impl !Sync for jmmInterface_1_
impl Unpin for jmmInterface_1_
impl UnwindSafe for jmmInterface_1_
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,