--- old/src/hotspot/share/runtime/memprofiler.cpp Tue Nov 21 15:20:34 2017 +++ new/src/hotspot/share/runtime/memprofiler.cpp Tue Nov 21 15:20:34 2017 @@ -52,8 +52,6 @@ void MemProfilerTask::task() { - // Get thread lock to provide mutual exclusion, and so we can iterate safely over the thread list. - MutexLocker mu(Threads_lock); MemProfiler::do_trace(); }