Closed gireeshpunathil closed 3 years ago
It would be nice to have the owning thread ID (both java and native) in the body section.
As per @mpirvu , the info_ptr field in the call to
info_ptr
GetObjectMonitorUsage(jvmtiEnv* env, jobject object, jvmtiMonitorUsage* info_ptr)
is a structure like this:
typedef struct { jthread owner; jint entry_count; jint waiter_count; jthread* waiters; jint notify_waiter_count; jthread* notify_waiters; } jvmtiMonitorUsage;
which has the owner field.
owner
I'm working on this issue
It would be nice to have the owning thread ID (both java and native) in the body section.
As per @mpirvu , the
info_ptr
field in the call tois a structure like this:
which has the
owner
field.