Lines Matching defs:thread_id
365 static JavaThread* find_java_thread_from_id(jlong thread_id) {
374 thread_id == java_lang_Thread::thread_id(tobj)) {
1512 // If thread_id == 0, return CPU time for the current thread.
1513 JVM_ENTRY(jlong, jmm_GetThreadCpuTime(JNIEnv *env, jlong thread_id))
1518 if (thread_id < 0) {
1524 if (thread_id == 0) {
1529 java_thread = find_java_thread_from_id(thread_id);
1538 // If thread_id == 0, CPU time for the current thread is returned.
1542 JVM_ENTRY(jlong, jmm_GetThreadCpuTimeWithKind(JNIEnv *env, jlong thread_id, jboolean user_sys_cpu_time))
1547 if (thread_id < 0) {
1553 if (thread_id == 0) {
1558 java_thread = find_java_thread_from_id(thread_id);