Integrated: 8334421: assert(!oldbox->is_unbalanced()) failed: this should not be called for unbalanced region
Vladimir Kozlov
kvn at openjdk.org
Tue Jun 25 16:08:14 UTC 2024
On Mon, 24 Jun 2024 23:22:34 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:
> [JDK-8324969](https://bugs.openjdk.org/browse/JDK-8324969) changes was not complete. When Escape Analysis tries to determine if lock can be eliminated it looks only if corresponding object does not escape. I does not take into account if coarsening locks elimination already happened and created unbalanced regions.
>
> Added check that not-escaped object is not referenced from an unbalanced region before marking or eliminating corresponding locks.
>
> Dump additional information for coarsened locks when debugging.
>
> New regression test was added
>
> Tested tier1-5,stress,xcomp
This pull request has now been integrated.
Changeset: 9c89f086
Author: Vladimir Kozlov <kvn at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/9c89f0861c1b6d25e1a7c3ac1add9a168d807788
Stats: 237 lines in 6 files changed: 231 ins; 1 del; 5 mod
8334421: assert(!oldbox->is_unbalanced()) failed: this should not be called for unbalanced region
Reviewed-by: vlivanov, thartmann
-------------
PR: https://git.openjdk.org/jdk/pull/19870
More information about the hotspot-compiler-dev
mailing list