changeset 56643:5b7a967da646

8232162: Object reallocation in Deoptimization::fetch_unroll_info_helper should not depend on EliminateNestedLocks Reviewed-by: thartmann, neliasso
author rrich
date Wed, 16 Oct 2019 17:03:40 +0200
parents d2108d9fc4f5
children 11a574b352d0
files src/hotspot/share/runtime/deoptimization.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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