src/hotspot/share/runtime/deoptimization.cpp
changeset 58662 5b7a967da646
parent 58545 725244418646
child 58679 9c3209ff7550
child 59056 15936b142f86
equal deleted inserted replaced
58661:d2108d9fc4f5 58662:5b7a967da646
   293   bool jvmci_enabled = false;
   293   bool jvmci_enabled = false;
   294 #endif
   294 #endif
   295 
   295 
   296   // Reallocate the non-escaping objects and restore their fields. Then
   296   // Reallocate the non-escaping objects and restore their fields. Then
   297   // relock objects if synchronization on them was eliminated.
   297   // relock objects if synchronization on them was eliminated.
   298   if (jvmci_enabled || ((DoEscapeAnalysis || EliminateNestedLocks) && EliminateAllocations)) {
   298   if (jvmci_enabled || (DoEscapeAnalysis && EliminateAllocations)) {
   299     realloc_failures = eliminate_allocations(thread, exec_mode, cm, deoptee, map, chunk);
   299     realloc_failures = eliminate_allocations(thread, exec_mode, cm, deoptee, map, chunk);
   300   }
   300   }
   301 #endif // COMPILER2_OR_JVMCI
   301 #endif // COMPILER2_OR_JVMCI
   302 
   302 
   303   // Revoke biases, done with in java state.
   303   // Revoke biases, done with in java state.