src/hotspot/share/jfr/periodic/sampling/jfrThreadSampler.cpp
changeset 57699 4aea554692aa
parent 55267 eabe64456156
child 58154 060d9d139109
child 58679 9c3209ff7550
child 58863 c16ac7a2eba4
--- a/src/hotspot/share/jfr/periodic/sampling/jfrThreadSampler.cpp	Fri Aug 09 10:06:44 2019 +0200
+++ b/src/hotspot/share/jfr/periodic/sampling/jfrThreadSampler.cpp	Fri Aug 09 11:04:08 2019 +0200
@@ -516,7 +516,7 @@
     elapsedTimer sample_time;
     sample_time.start();
     {
-      MutexLocker tlock(Threads_lock, Mutex::_no_safepoint_check_flag);
+      MutexLocker tlock(Threads_lock);
       ThreadsListHandle tlh;
       // Resolve a sample session relative start position index into the thread list array.
       // In cases where the last sampled thread is NULL or not-NULL but stale, find_index() returns -1.