src/hotspot/share/jfr/periodic/sampling/jfrThreadSampler.cpp
branchJEP-349-branch
changeset 58154 060d9d139109
parent 57878 bffba8d6611a
parent 57699 4aea554692aa
--- a/src/hotspot/share/jfr/periodic/sampling/jfrThreadSampler.cpp	Thu Sep 12 11:35:02 2019 +0200
+++ b/src/hotspot/share/jfr/periodic/sampling/jfrThreadSampler.cpp	Sat Sep 14 13:03:44 2019 +0200
@@ -522,7 +522,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.