src/hotspot/share/services/threadService.cpp
changeset 54795 fd08f5a976e6
parent 54786 ebf733a324d4
child 58177 4932dce35882
child 58678 9cf78a70fa4f
--- a/src/hotspot/share/services/threadService.cpp	Thu May 09 12:56:15 2019 -0400
+++ b/src/hotspot/share/services/threadService.cpp	Thu May 09 12:04:20 2019 -0500
@@ -893,10 +893,7 @@
   }
 
   // Support for JSR-166 locks
-  if (JDK_Version::current().supports_thread_park_blocker() &&
-        (_thread_status == java_lang_Thread::PARKED ||
-         _thread_status == java_lang_Thread::PARKED_TIMED)) {
-
+  if (_thread_status == java_lang_Thread::PARKED || _thread_status == java_lang_Thread::PARKED_TIMED) {
     _blocker_object = thread->current_park_blocker();
     if (_blocker_object != NULL && _blocker_object->is_a(SystemDictionary::java_util_concurrent_locks_AbstractOwnableSynchronizer_klass())) {
       _blocker_object_owner = java_util_concurrent_locks_AbstractOwnableSynchronizer::get_owner_threadObj(_blocker_object);