mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-19 10:34:38 +02:00
8232162: Object reallocation in Deoptimization::fetch_unroll_info_helper should not depend on EliminateNestedLocks
Reviewed-by: thartmann, neliasso
This commit is contained in:
parent
600b3e7e37
commit
6e08f8434c
1 changed files with 1 additions and 1 deletions
|
@ -295,7 +295,7 @@ Deoptimization::UnrollBlock* Deoptimization::fetch_unroll_info_helper(JavaThread
|
|||
|
||||
// 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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue