CACAO
Macros | Functions | Variables
management.cpp File Reference

Go to the source code of this file.

Macros

#define TRACEJMMCALLS(x)
 

Functions

jint jmm_GetVersion (JNIEnv *env)
 
jint jmm_GetOptionalSupport (JNIEnv *env, jmmOptionalSupport *support)
 
jobject jmm_GetInputArguments (JNIEnv *env)
 
jobjectArray jmm_GetInputArgumentArray (JNIEnv *env)
 
jobjectArray jmm_GetMemoryPools (JNIEnv *env, jobject obj)
 
jobjectArray jmm_GetMemoryManagers (JNIEnv *env, jobject obj)
 
jobject jmm_GetMemoryPoolUsage (JNIEnv *env, jobject obj)
 
jobject jmm_GetPeakMemoryPoolUsage (JNIEnv *env, jobject obj)
 
jobject jmm_GetPoolCollectionUsage (JNIEnv *env, jobject obj)
 
void jmm_SetPoolSensor (JNIEnv *env, jobject obj, jmmThresholdType type, jobject sensorObj)
 
jlong jmm_SetPoolThreshold (JNIEnv *env, jobject obj, jmmThresholdType type, jlong threshold)
 
jobject jmm_GetMemoryUsage (JNIEnv *env, jboolean heap)
 
jboolean jmm_GetBoolAttribute (JNIEnv *env, jmmBoolAttribute att)
 
jboolean jmm_SetBoolAttribute (JNIEnv *env, jmmBoolAttribute att, jboolean flag)
 
jlong jmm_GetLongAttribute (JNIEnv *env, jobject obj, jmmLongAttribute att)
 
jint jmm_GetLongAttributes (JNIEnv *env, jobject obj, jmmLongAttribute *atts, jint count, jlong *result)
 
jint jmm_GetThreadInfo (JNIEnv *env, jlongArray ids, jint maxDepth, jobjectArray infoArray)
 
jobjectArray jmm_DumpThreads (JNIEnv *env, jlongArray thread_ids, jboolean locked_monitors, jboolean locked_synchronizers)
 
jobjectArray jmm_GetLoadedClasses (JNIEnv *env)
 
jboolean jmm_ResetStatistic (JNIEnv *env, jvalue obj, jmmStatisticType type)
 
jlong jmm_GetThreadCpuTime (JNIEnv *env, jlong thread_id)
 
jlong jmm_GetThreadCpuTimeWithKind (JNIEnv *env, jlong thread_id, jboolean user_sys_cpu_time)
 
jobjectArray jmm_GetVMGlobalNames (JNIEnv *env)
 
jint jmm_GetVMGlobals (JNIEnv *env, jobjectArray names, jmmVMGlobal *globals, jint count)
 
void jmm_SetVMGlobal (JNIEnv *env, jstring flag_name, jvalue new_value)
 
jint jmm_GetInternalThreadTimes (JNIEnv *env, jobjectArray names, jlongArray times)
 
jobjectArray jmm_FindDeadlockedThreads (JNIEnv *env, jboolean object_monitors_only)
 
jobjectArray jmm_FindMonitorDeadlockedThreads (JNIEnv *env)
 
jint jmm_GetGCExtAttributeInfo (JNIEnv *env, jobject mgr, jmmExtAttributeInfo *info, jint count)
 
void jmm_GetLastGCStat (JNIEnv *env, jobject obj, jmmGCStat *gc_stat)
 
jint jmm_DumpHeap0 (JNIEnv *env, jstring outputfile, jboolean live)
 

Variables

struct jmmInterface_1_ jmm_interface
 

Macro Definition Documentation

#define TRACEJMMCALLS (   x)
Value:
do { \
} \
} while (0)
bool opt_TraceJMMCalls
Definition: options.cpp:214
void log_println(const char *text,...)
Definition: logging.cpp:193

Definition at line 53 of file management.cpp.

Function Documentation

jint jmm_DumpHeap0 ( JNIEnv env,
jstring  outputfile,
jboolean  live 
)

Definition at line 403 of file management.cpp.

jobjectArray jmm_DumpThreads ( JNIEnv env,
jlongArray  thread_ids,
jboolean  locked_monitors,
jboolean  locked_synchronizers 
)

Definition at line 304 of file management.cpp.

jobjectArray jmm_FindDeadlockedThreads ( JNIEnv env,
jboolean  object_monitors_only 
)

Definition at line 376 of file management.cpp.

jobjectArray jmm_FindMonitorDeadlockedThreads ( JNIEnv env)

Definition at line 383 of file management.cpp.

jboolean jmm_GetBoolAttribute ( JNIEnv env,
jmmBoolAttribute  att 
)

Definition at line 207 of file management.cpp.

jint jmm_GetGCExtAttributeInfo ( JNIEnv env,
jobject  mgr,
jmmExtAttributeInfo *  info,
jint  count 
)

Definition at line 390 of file management.cpp.

jobjectArray jmm_GetInputArgumentArray ( JNIEnv env)

Definition at line 135 of file management.cpp.

jobject jmm_GetInputArguments ( JNIEnv env)

Definition at line 128 of file management.cpp.

jint jmm_GetInternalThreadTimes ( JNIEnv env,
jobjectArray  names,
jlongArray  times 
)

Definition at line 369 of file management.cpp.

void jmm_GetLastGCStat ( JNIEnv env,
jobject  obj,
jmmGCStat *  gc_stat 
)

Definition at line 397 of file management.cpp.

jobjectArray jmm_GetLoadedClasses ( JNIEnv env)

Definition at line 311 of file management.cpp.

jlong jmm_GetLongAttribute ( JNIEnv env,
jobject  obj,
jmmLongAttribute  att 
)

Definition at line 249 of file management.cpp.

jint jmm_GetLongAttributes ( JNIEnv env,
jobject  obj,
jmmLongAttribute *  atts,
jint  count,
jlong *  result 
)

Definition at line 290 of file management.cpp.

jobjectArray jmm_GetMemoryManagers ( JNIEnv env,
jobject  obj 
)

Definition at line 154 of file management.cpp.

jobjectArray jmm_GetMemoryPools ( JNIEnv env,
jobject  obj 
)

Definition at line 142 of file management.cpp.

jobject jmm_GetMemoryPoolUsage ( JNIEnv env,
jobject  obj 
)

Definition at line 166 of file management.cpp.

jobject jmm_GetMemoryUsage ( JNIEnv env,
jboolean  heap 
)

Definition at line 200 of file management.cpp.

jint jmm_GetOptionalSupport ( JNIEnv env,
jmmOptionalSupport *  support 
)

Definition at line 113 of file management.cpp.

jobject jmm_GetPeakMemoryPoolUsage ( JNIEnv env,
jobject  obj 
)

Definition at line 173 of file management.cpp.

jobject jmm_GetPoolCollectionUsage ( JNIEnv env,
jobject  obj 
)

Definition at line 180 of file management.cpp.

jlong jmm_GetThreadCpuTime ( JNIEnv env,
jlong  thread_id 
)

Definition at line 335 of file management.cpp.

jlong jmm_GetThreadCpuTimeWithKind ( JNIEnv env,
jlong  thread_id,
jboolean  user_sys_cpu_time 
)

Definition at line 342 of file management.cpp.

jint jmm_GetThreadInfo ( JNIEnv env,
jlongArray  ids,
jint  maxDepth,
jobjectArray  infoArray 
)

Definition at line 297 of file management.cpp.

jint jmm_GetVersion ( JNIEnv env)

Definition at line 107 of file management.cpp.

jobjectArray jmm_GetVMGlobalNames ( JNIEnv env)

Definition at line 349 of file management.cpp.

jint jmm_GetVMGlobals ( JNIEnv env,
jobjectArray  names,
jmmVMGlobal *  globals,
jint  count 
)

Definition at line 356 of file management.cpp.

jboolean jmm_ResetStatistic ( JNIEnv env,
jvalue  obj,
jmmStatisticType  type 
)

Definition at line 318 of file management.cpp.

jboolean jmm_SetBoolAttribute ( JNIEnv env,
jmmBoolAttribute  att,
jboolean  flag 
)

Definition at line 229 of file management.cpp.

void jmm_SetPoolSensor ( JNIEnv env,
jobject  obj,
jmmThresholdType  type,
jobject  sensorObj 
)

Definition at line 187 of file management.cpp.

jlong jmm_SetPoolThreshold ( JNIEnv env,
jobject  obj,
jmmThresholdType  type,
jlong  threshold 
)

Definition at line 193 of file management.cpp.

void jmm_SetVMGlobal ( JNIEnv env,
jstring  flag_name,
jvalue  new_value 
)

Definition at line 363 of file management.cpp.

Variable Documentation

struct jmmInterface_1_ jmm_interface

Definition at line 412 of file management.cpp.