< prev index next >

src/hotspot/share/runtime/osThread.cpp

Print this page
rev 49812 : Thread Dump Extension (memory allocation)

*** 38,47 **** --- 38,59 ---- } // Printing void OSThread::print_on(outputStream *st) const { st->print("nid=0x%x ", thread_id()); + + #ifdef _AIX + st->print("ktid=" UINT64_FORMAT " ", kernel_thread_id()); + #endif + + #if defined(LINUX) || defined(BSD) + st->print("pthread-id=0x%lx ", (unsigned long) pthread_id()); + #endif + #if defined(__sun) + st->print("lwp-id=0x%lx ", lwp_id()); + #endif + switch (_state) { case ALLOCATED: st->print("allocated "); break; case INITIALIZED: st->print("initialized "); break; case RUNNABLE: st->print("runnable "); break; case MONITOR_WAIT: st->print("waiting for monitor entry "); break;
< prev index next >