changeset 52481:cbe83e9c2100

8213438: Remove ClearResponsibleAtSTW Reviewed-by: dholmes, eosterlund, dcubed
author mikael
date Thu, 08 Nov 2018 11:22:28 -0800
parents 66a0e6b3ec1a
children f1bb77833b59
files src/hotspot/share/runtime/synchronizer.cpp
diffstat 1 files changed, 0 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/hotspot/share/runtime/synchronizer.cpp	Thu Nov 08 09:50:54 2018 -0800
+++ b/src/hotspot/share/runtime/synchronizer.cpp	Thu Nov 08 11:22:28 2018 -0800
@@ -1528,10 +1528,6 @@
 // which in turn can mean large(r) numbers of objectmonitors in circulation.
 // This is an unfortunate aspect of this design.
 
-enum ManifestConstants {
-  ClearResponsibleAtSTW = 0
-};
-
 // Deflate a single monitor if not in-use
 // Return true if deflated, false if in-use
 bool ObjectSynchronizer::deflate_monitor(ObjectMonitor* mid, oop obj,
@@ -1544,7 +1540,6 @@
   guarantee(mid->header()->is_neutral(), "invariant");
 
   if (mid->is_busy()) {
-    if (ClearResponsibleAtSTW) mid->_Responsible = NULL;
     deflated = false;
   } else {
     // Deflate the monitor if it is no longer being used