src/hotspot/share/runtime/synchronizer.cpp
changeset 57602 dbe471d2f8f8
parent 55345 492b644bb9c2
child 57734 18f4d3d46d54
--- a/src/hotspot/share/runtime/synchronizer.cpp	Wed Jul 31 10:03:44 2019 +0200
+++ b/src/hotspot/share/runtime/synchronizer.cpp	Wed Jul 31 06:37:13 2019 -0400
@@ -442,7 +442,7 @@
 ObjectLocker::ObjectLocker(Handle obj, Thread* thread, bool doLock) {
   _dolock = doLock;
   _thread = thread;
-  debug_only(if (StrictSafepointChecks) _thread->check_for_valid_safepoint_state(false);)
+  _thread->check_for_valid_safepoint_state(false);
   _obj = obj;
 
   if (_dolock) {