< prev index next >

src/hotspot/share/runtime/thread.cpp

Print this page
rev 54108 : Add logging to ObjectSynchronizer::omFlush(), add global count logging at Info level to ObjectSynchronizer::finish_deflate_idle_monitors(); for monitorinflation logging, switch from cumulative "deflating per-thread idle monitors" mesgs to per-thread "deflating per-thread idle monitors" mesgs; fix timer bug in deflate_thread_local_monitors() where time to acquire gListLock wasn't counted; fix misc typos.

*** 4455,4465 **** Events::log(p, "Thread added: " INTPTR_FORMAT, p2i(p)); } void Threads::remove(JavaThread* p) { ! // Reclaim the objectmonitors from the omInUseList and omFreeList of the moribund thread. ObjectSynchronizer::omFlush(p); // Extra scope needed for Thread_lock, so we can check // that we do not remove thread without safepoint code notice { MutexLocker ml(Threads_lock); --- 4455,4465 ---- Events::log(p, "Thread added: " INTPTR_FORMAT, p2i(p)); } void Threads::remove(JavaThread* p) { ! // Reclaim the ObjectMonitors from the omInUseList and omFreeList of the moribund thread. ObjectSynchronizer::omFlush(p); // Extra scope needed for Thread_lock, so we can check // that we do not remove thread without safepoint code notice { MutexLocker ml(Threads_lock);
< prev index next >