hotspot/src/share/vm/runtime/memprofiler.cpp
void MemProfilerTask::task() {
{- -------------------------------------------
(1)
---------------------------------------- -}
// Get thread lock to provide mutual exclusion, and so we can iterate safely over the thread list.
MutexLocker mu(Threads_lock);
MemProfiler::do_trace();
}
This document is available under the GNU GENERAL PUBLIC LICENSE Version 2.