Lines Matching refs:usage
50 jvmtiMonitorUsage usage; in Java_art_Monitors_getObjectMonitorUsage() local
51 if (JvmtiErrorToException(env, jvmti_env, jvmti_env->GetObjectMonitorUsage(obj, &usage))) { in Java_art_Monitors_getObjectMonitorUsage()
54 jobjectArray wait = CreateObjectArray(env, usage.waiter_count, "java/lang/Thread", in Java_art_Monitors_getObjectMonitorUsage()
55 [&](jint i) { return usage.waiters[i]; }); in Java_art_Monitors_getObjectMonitorUsage()
57 jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(usage.waiters)); in Java_art_Monitors_getObjectMonitorUsage()
58 jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(usage.notify_waiters)); in Java_art_Monitors_getObjectMonitorUsage()
61 jobjectArray notify_wait = CreateObjectArray(env, usage.notify_waiter_count, "java/lang/Thread", in Java_art_Monitors_getObjectMonitorUsage()
62 [&](jint i) { return usage.notify_waiters[i]; }); in Java_art_Monitors_getObjectMonitorUsage()
64 jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(usage.waiters)); in Java_art_Monitors_getObjectMonitorUsage()
65 jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(usage.notify_waiters)); in Java_art_Monitors_getObjectMonitorUsage()
69 obj, usage.owner, usage.entry_count, wait, notify_wait); in Java_art_Monitors_getObjectMonitorUsage()