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

12

/openjdk7/hotspot/agent/src/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);
47 this.thread_id = (int) id;
55 return (((BsdThread) obj).thread_id == thread_id);
59 return thread_id;
63 return Integer.toString(thread_id);
/openjdk7/hotspot/src/share/vm/compiler/
H A DcompileLog.hpp58 CompileLog(const char* file, FILE* fp, intx thread_id);
61 intx thread_id() { return _thread_id; } function in class:CompileLog
H A DcompileLog.cpp37 CompileLog::CompileLog(const char* file, FILE* fp, intx thread_id) argument
43 _thread_id = thread_id;
216 jio_snprintf(buf, buflen, UINTX_FORMAT, log->thread_id());
H A DcompileBroker.cpp1633 intx thread_id = os::current_thread_id(); local
1638 thread_id, os::current_process_id());
1642 os::file_separator(), thread_id, os::current_process_id());
1656 CompileLog* log = new(ResourceObj::C_HEAP, mtCompiler) CompileLog(file, fp, thread_id);
1663 xtty->elem("thread_logfile thread='%d' filename='%s'", thread_id, file);
/openjdk7/hotspot/src/share/vm/runtime/
H A DosThread.cpp43 st->print("nid=0x%lx ", thread_id());
H A DosThread.hpp116 thread_id_t thread_id() const { return _thread_id; } function in class:OSThread
122 // thread has a unique thread_id (BsdThreads or NPTL). It can be used
H A Dthread.cpp133 java_lang_Thread::thread_id((javathread)->threadObj()), \
134 (javathread)->osthread()->thread_id(), \
151 java_lang_Thread::thread_id((javathread)->threadObj()), \
152 (uintptr_t) (javathread)->osthread()->thread_id(), \
423 tty->print_cr("Thread::%s " INTPTR_FORMAT " [%lx] %s (prio: %d)", msg, thread, thread->osthread()->thread_id(), name, prio);
858 st->print(" [id=%d]", osthread()->thread_id());
1644 event.set_javalangthread(java_lang_Thread::thread_id(this->threadObj()));
1779 event.set_javalangthread(java_lang_Thread::thread_id(this->threadObj()));
2834 st->print(", id=%d", osthread()->thread_id());
H A Djava.cpp531 event.set_javalangthread(java_lang_Thread::thread_id(thread->threadObj()));
H A DvmThread.cpp393 event.set_caller(is_concurrent ? 0 : op->calling_thread()->osthread()->thread_id());
H A DobjectMonitor.cpp1687 iterator->_notifier_tid = Self->osthread()->thread_id();
1813 iterator->_notifier_tid = Self->osthread()->thread_id();
/openjdk7/hotspot/src/share/vm/memory/
H A DthreadLocalAllocBuffer.inline.hpp101 "slow", thrd, thrd->osthread()->thread_id(),
H A DthreadLocalAllocBuffer.cpp160 myThread(), myThread()->osthread()->thread_id(),
292 tag, thrd, thrd->osthread()->thread_id(),
/openjdk7/hotspot/agent/src/os/bsd/
H A DMacosxDebuggerLocal.m216 * Lookup the thread_t that corresponds to the given thread_id.
217 * The thread_id should be the result from calling thread_info() with THREAD_IDENTIFIER_INFO
218 * and reading the m_ident_info.thread_id returned.
225 lookupThreadFromThreadId(task_t task, jlong thread_id) {
227 printf("lookupThreadFromThreadId thread_id=0x%llx\n", thread_id);
258 if (thread_id == m_ident_info.thread_id)
280 jlong thread_id)
295 tid = lookupThreadFromThreadId(gTask, thread_id);
[all...]
/openjdk7/hotspot/src/share/vm/services/
H A Djmm.h257 jlong (JNICALL *GetThreadCpuTime) (JNIEnv *env, jlong thread_id);
294 jlong thread_id,
H A Dmanagement.cpp365 static JavaThread* find_java_thread_from_id(jlong thread_id) { argument
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, jboolea
[all...]
/openjdk7/jdk/src/share/javavm/export/
H A Djmm.h257 jlong (JNICALL *GetThreadCpuTime) (JNIEnv *env, jlong thread_id);
294 jlong thread_id,
/openjdk7/hotspot/src/share/vm/utilities/
H A Dostream.cpp799 intx thread_id = os::current_thread_id(); local
800 intx holder = hold(thread_id);
829 intx thread_id = os::current_thread_id();
830 return defaultStream::instance->hold(thread_id);
839 intx thread_id = os::current_thread_id(); local
840 if (defaultStream::instance->writer() == thread_id) {
843 release_tty(thread_id);
/openjdk7/jdk/src/share/demo/jvmti/hprof/
H A Dhprof_io.h129 void io_heap_root_thread_object(ObjectIndex thread_id,
/openjdk7/hotspot/src/share/vm/interpreter/
H A DbytecodeTracer.cpp95 st->print("[%ld] ", (long) Thread::current()->osthread()->thread_id());
109 st->print("[%ld] ", (long) Thread::current()->osthread()->thread_id());
/openjdk7/hotspot/src/share/vm/gc_implementation/shared/
H A DgcTraceSend.cpp112 e.set_thread(pf_info.thread()->thread_id());
/openjdk7/hotspot/src/os/windows/launcher/
H A Djava_md.c1337 unsigned thread_id; local
1355 &thread_id);
1363 &thread_id);
/openjdk7/jdk/src/windows/bin/
H A Djava_md.c1145 unsigned thread_id; local
1163 &thread_id);
1171 &thread_id);
/openjdk7/hotspot/src/os/solaris/vm/
H A Dos_solaris.cpp1050 if ( osthr->thread_id() != -1 ) {
1056 osthr->thread_id(), osthr->lwp_id(), prio);
1085 static OSThread* create_os_thread(Thread* thread, thread_t thread_id) { argument
1091 osthread->set_thread_id(thread_id);
1104 osthread->thread_id(), osthread->lwp_id() );
1601 int status = thr_continue(thread->osthread()->thread_id());
4273 status = thr_setprio(thread->osthread()->thread_id(), newpri);
4279 set_lwp_class_and_priority(osthread->thread_id(),
4287 lwp_status = set_lwp_class_and_priority(osthread->thread_id(),
4303 int status = thr_getprio(thread->osthread()->thread_id(),
[all...]
/openjdk7/hotspot/src/os/windows/vm/
H A Dos_windows.cpp438 static OSThread* create_os_thread(Thread* thread, HANDLE thread_handle, int thread_id) { argument
453 osthread->set_thread_id(thread_id);
511 unsigned thread_id; local
583 &thread_id);
593 &thread_id);
607 osthread->set_thread_id(thread_id);
5093 get_thread_handle_for_extended_context(&h, _thread->osthread()->thread_id());
/openjdk7/hotspot/src/os/bsd/vm/
H A Dos_bsd.cpp975 // Additional thread_id used to correlate threads in SA
981 return m_ident_info.thread_id;
1012 // thread_id is mach thread on macos
1016 // thread_id is pthread_id on BSD
1020 // thread_id is kernel thread id (similar to Solaris LWP id)
1854 // OSThread::thread_id() method in osThread_bsd.hpp file
3829 int ret = setpriority(PRIO_PROCESS, thread->osthread()->thread_id(), newpri);
3850 *priority_ptr = getpriority(PRIO_PROCESS, thread->osthread()->thread_id());
5353 mach_thread = thread->osthread()->thread_id();
5384 pid_t tid = thread->osthread()->thread_id();
[all...]

Completed in 360 milliseconds

12