Searched refs:thread_id (Results 1 - 25 of 28) sorted by relevance

12

/openjdk9/hotspot/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/bsd/
H A DBsdThread.java31 private int thread_id; field in class:BsdThread
41 this.thread_id = (int) threadIdAddr.getCIntegerAt(0, 4, true);
60 return thread_id;
64 return Integer.toString(thread_id);
/openjdk9/hotspot/src/share/vm/runtime/
H A DosThread.cpp42 st->print("nid=0x%x ", thread_id());
H A DosThread.hpp106 thread_id_t thread_id() const { return _thread_id; } function in class:OSThread
112 // thread has a unique thread_id (BsdThreads or NPTL). It can be used
H A Dthread.cpp141 java_lang_Thread::thread_id((javathread)->threadObj()), \
142 (uintptr_t) (javathread)->osthread()->thread_id(), \
839 st->print(" [id=%d]", osthread()->thread_id());
2895 st->print("#" INT64_FORMAT " ", java_lang_Thread::thread_id(thread_oop));
2936 st->print(", id=%d", osthread()->thread_id());
4051 java_tid == java_lang_Thread::thread_id(tobj)) {
H A Dsafepoint.cpp990 p2i(_thread), _thread->osthread()->thread_id(), s, _has_called_back,
H A Ddeoptimization.cpp770 tty->print_cr(" Thread = " INTPTR_FORMAT ", thread ID = %d", p2i(thread), thread->osthread()->thread_id());
1338 xtty->begin_head("deoptimized thread='" UINTX_FORMAT "' reason='%s' pc='" INTPTR_FORMAT "'",(uintx)thread->osthread()->thread_id(), trap_reason_name(reason), p2i(fr.pc()));
/openjdk9/hotspot/src/share/vm/compiler/
H A DcompileLog.hpp61 CompileLog(const char* file_name, FILE* fp, intx thread_id);
64 intx thread_id() { return _thread_id; } function in class:CompileLog
H A DcompileLog.cpp38 CompileLog::CompileLog(const char* file_name, FILE* fp, intx thread_id) argument
43 _thread_id = thread_id;
214 jio_snprintf(buf, buflen, UINTX_FORMAT, log->thread_id());
H A DcompileBroker.cpp1639 intx thread_id = os::current_thread_id(); local
1644 thread_id, os::current_process_id());
1648 os::file_separator(), thread_id, os::current_process_id());
1656 CompileLog* log = new(ResourceObj::C_HEAP, mtCompiler) CompileLog(file_name, fp, thread_id);
1666 xtty->elem("thread_logfile thread='" INTX_FORMAT "' filename='%s'", thread_id, file_name);
/openjdk9/hotspot/src/share/vm/trace/
H A DtraceMacros.hpp39 #define THREAD_TRACE_ID(thread) ((traceid)thread->osthread()->thread_id())
/openjdk9/hotspot/src/share/vm/gc/shared/
H A DthreadLocalAllocBuffer.inline.hpp93 "slow", p2i(myThread()), myThread()->osthread()->thread_id(),
H A DthreadLocalAllocBuffer.cpp152 p2i(myThread()), myThread()->osthread()->thread_id(),
286 tag, p2i(thrd), thrd->osthread()->thread_id(),
/openjdk9/hotspot/src/share/vm/services/
H A Djmm.h261 jlong (JNICALL *GetThreadCpuTime) (JNIEnv *env, jlong thread_id);
298 jlong thread_id,
H A Dmanagement.cpp1410 // If thread_id == 0, return CPU time for the current thread.
1411 JVM_ENTRY(jlong, jmm_GetThreadCpuTime(JNIEnv *env, jlong thread_id))
1416 if (thread_id < 0) {
1422 if (thread_id == 0) {
1427 java_thread = Threads::find_java_thread_from_java_tid(thread_id);
2145 // If thread_id == 0, CPU time for the current thread is returned.
2149 JVM_ENTRY(jlong, jmm_GetThreadCpuTimeWithKind(JNIEnv *env, jlong thread_id, jboolean user_sys_cpu_time))
2154 if (thread_id < 0) {
2160 if (thread_id == 0) {
2165 java_thread = Threads::find_java_thread_from_java_tid(thread_id);
[all...]
/openjdk9/jdk/src/java.management/share/native/include/
H A Djmm.h261 jlong (JNICALL *GetThreadCpuTime) (JNIEnv *env, jlong thread_id);
298 jlong thread_id,
/openjdk9/hotspot/src/share/vm/utilities/
H A Dostream.cpp844 intx thread_id = os::current_thread_id(); local
845 intx holder = hold(thread_id);
874 intx thread_id = os::current_thread_id();
875 return defaultStream::instance->hold(thread_id);
884 intx thread_id = os::current_thread_id(); local
885 if (defaultStream::instance->writer() == thread_id) {
888 release_tty(thread_id);
H A DvmError.cpp616 st->print_cr("JavaThread " PTR_FORMAT " (nid = %d) was being processed", p2i(jt), jt->osthread()->thread_id());
/openjdk9/jdk/src/java.base/windows/native/libjli/
H A Djava_md.c680 unsigned thread_id; local
698 &thread_id);
706 &thread_id);
/openjdk9/hotspot/src/share/vm/interpreter/
H A DbytecodeInterpreterProfiling.hpp87 (int) THREAD->osthread()->thread_id(), \
H A DbytecodeTracer.cpp97 st->print("[%ld] ", (long) Thread::current()->osthread()->thread_id());
111 st->print("[%ld] ", (long) Thread::current()->osthread()->thread_id());
/openjdk9/hotspot/src/os/solaris/vm/
H A Dos_solaris.cpp743 if (osthr->thread_id() != -1) {
749 osthr->thread_id(), osthr->lwp_id(), prio);
789 static OSThread* create_os_thread(Thread* thread, thread_t thread_id) { argument
795 osthread->set_thread_id(thread_id);
808 osthread->thread_id(), osthread->lwp_id());
1208 int status = thr_continue(thread->osthread()->thread_id());
3492 status = thr_setprio(thread->osthread()->thread_id(), newpri);
3496 set_lwp_class_and_priority(osthread->thread_id(),
3504 lwp_status = set_lwp_class_and_priority(osthread->thread_id(),
3520 int status = thr_getprio(thread->osthread()->thread_id(),
[all...]
/openjdk9/hotspot/src/os/windows/vm/
H A Dos_windows.cpp482 int thread_id) {
497 osthread->set_thread_id(thread_id);
581 unsigned thread_id; local
651 &thread_id);
656 thread_id, describe_beginthreadex_attributes(buf, sizeof(buf), stack_size, initflag));
674 osthread->set_thread_id(thread_id);
5411 get_thread_handle_for_extended_context(&h, _thread->osthread()->thread_id());
481 create_os_thread(Thread* thread, HANDLE thread_handle, int thread_id) argument
/openjdk9/hotspot/src/os/bsd/vm/
H A Dos_bsd.cpp655 // Additional thread_id used to correlate threads in SA
662 return m_ident_info.thread_id;
688 uint64_t unique_thread_id = locate_unique_thread_id(osthread->thread_id());
840 uint64_t unique_thread_id = locate_unique_thread_id(osthread->thread_id());
1176 // OSThread::thread_id() method in osThread_bsd.hpp file
2644 int ret = setpriority(PRIO_PROCESS, thread->osthread()->thread_id(), newpri);
2665 *priority_ptr = getpriority(PRIO_PROCESS, thread->osthread()->thread_id());
3959 mach_thread = thread->osthread()->thread_id();
/openjdk9/hotspot/src/share/vm/prims/
H A DjvmtiTagMap.cpp2171 reference_info.stack_local.thread_id = tid;
3070 jlong tid = java_lang_Thread::thread_id(threadObj);
/openjdk9/hotspot/src/share/vm/classfile/
H A DjavaClasses.hpp343 static jlong thread_id(oop java_thread);

Completed in 542 milliseconds

12