hprof_monitor.c File Reference
#include "hprof.h"
Go to the source code of this file.
Data Structures |
| struct | MonitorKey |
| struct | MonitorInfo |
| struct | IterateInfo |
Functions |
| static MonitorKey * | get_pkey (MonitorIndex index) |
| static MonitorInfo * | get_info (MonitorIndex index) |
| static MonitorIndex | find_or_create_entry (JNIEnv *env, TraceIndex trace_index, jobject object) |
| static void | cleanup_item (MonitorIndex index, void *key_ptr, int key_len, void *info_ptr, void *arg) |
| static void | list_item (TableIndex index, void *key_ptr, int key_len, void *info_ptr, void *arg) |
| static void | collect_iterator (MonitorIndex index, void *key_ptr, int key_len, void *info_ptr, void *arg) |
| static int | qsort_compare (const void *p_monitor1, const void *p_monitor2) |
| static void | clear_item (MonitorIndex index, void *key_ptr, int key_len, void *info_ptr, void *arg) |
| static TraceIndex | get_trace (TlsIndex tls_index, JNIEnv *env) |
| void | monitor_init (void) |
| void | monitor_list (void) |
| void | monitor_cleanup (void) |
| void | monitor_clear (void) |
| void | monitor_write_contended_time (JNIEnv *env, double cutoff) |
| void | monitor_contended_enter_event (JNIEnv *env, jthread thread, jobject object) |
| void | monitor_contended_entered_event (JNIEnv *env, jthread thread, jobject object) |
| void | monitor_wait_event (JNIEnv *env, jthread thread, jobject object, jlong timeout) |
| void | monitor_waited_event (JNIEnv *env, jthread thread, jobject object, jboolean timed_out) |
Function Documentation
| static void cleanup_item |
( |
MonitorIndex |
index, |
|
|
void * |
key_ptr, |
|
|
int |
key_len, |
|
|
void * |
info_ptr, |
|
|
void * |
arg | |
|
) |
| | [static] |
| static void clear_item |
( |
MonitorIndex |
index, |
|
|
void * |
key_ptr, |
|
|
int |
key_len, |
|
|
void * |
info_ptr, |
|
|
void * |
arg | |
|
) |
| | [static] |
| static void collect_iterator |
( |
MonitorIndex |
index, |
|
|
void * |
key_ptr, |
|
|
int |
key_len, |
|
|
void * |
info_ptr, |
|
|
void * |
arg | |
|
) |
| | [static] |
| static void list_item |
( |
TableIndex |
index, |
|
|
void * |
key_ptr, |
|
|
int |
key_len, |
|
|
void * |
info_ptr, |
|
|
void * |
arg | |
|
) |
| | [static] |
| void monitor_cleanup |
( |
void |
|
) |
|
| void monitor_clear |
( |
void |
|
) |
|
| void monitor_contended_enter_event |
( |
JNIEnv * |
env, |
|
|
jthread |
thread, |
|
|
jobject |
object | |
|
) |
| | |
| void monitor_contended_entered_event |
( |
JNIEnv * |
env, |
|
|
jthread |
thread, |
|
|
jobject |
object | |
|
) |
| | |
| void monitor_init |
( |
void |
|
) |
|
| void monitor_list |
( |
void |
|
) |
|
| void monitor_wait_event |
( |
JNIEnv * |
env, |
|
|
jthread |
thread, |
|
|
jobject |
object, |
|
|
jlong |
timeout | |
|
) |
| | |
| void monitor_waited_event |
( |
JNIEnv * |
env, |
|
|
jthread |
thread, |
|
|
jobject |
object, |
|
|
jboolean |
timed_out | |
|
) |
| | |
| void monitor_write_contended_time |
( |
JNIEnv * |
env, |
|
|
double |
cutoff | |
|
) |
| | |
| static int qsort_compare |
( |
const void * |
p_monitor1, |
|
|
const void * |
p_monitor2 | |
|
) |
| | [static] |