src/hotspot/share/runtime/deoptimization.cpp
changeset 58662 5b7a967da646
parent 58545 725244418646
child 58679 9c3209ff7550
child 59056 15936b142f86
--- a/src/hotspot/share/runtime/deoptimization.cpp	Thu Oct 17 13:34:06 2019 +0800
+++ b/src/hotspot/share/runtime/deoptimization.cpp	Wed Oct 16 17:03:40 2019 +0200
@@ -295,7 +295,7 @@
 
   // Reallocate the non-escaping objects and restore their fields. Then
   // relock objects if synchronization on them was eliminated.
-  if (jvmci_enabled || ((DoEscapeAnalysis || EliminateNestedLocks) && EliminateAllocations)) {
+  if (jvmci_enabled || (DoEscapeAnalysis && EliminateAllocations)) {
     realloc_failures = eliminate_allocations(thread, exec_mode, cm, deoptee, map, chunk);
   }
 #endif // COMPILER2_OR_JVMCI