Integrated: 8331736: C2: Live Node limit exceeded limit after JDK-8316991
Cesar Soares Lucas
cslucas at openjdk.org
Thu Jun 6 05:23:50 UTC 2024
On Tue, 4 Jun 2024 16:32:15 GMT, Cesar Soares Lucas <cslucas at openjdk.org> wrote:
> Please, consider this patch to interrupt execution of `split_unique_types` (SUT) when number of live nodes reaches 3/4 of `max_live_nodes`.
>
> The included test case reproduces the problem. The number of live nodes before running phase 3 of SUT is ~20k, after processing about 750 mergemem nodes the number of live nodes is over 70k. This problem was first encountered when running an old `.jar` file that was created before `invokedynamic` optimizations - that's why I disable string optimizations in the test case. The test case is strongly based on [the method that was originally triggering the problem](https://github.com/Unidata/netcdf-java/blob/c782ef80ab54a09befd6d5065c6baeed54949222/cdm/radial/src/main/java/ucar/nc2/iosp/nids/Nidsheader.java#L2174).
>
> Tested on Linux, Win, Mac x86_64 tier1-3 and GHA.
This pull request has now been integrated.
Changeset: b351b5f6
Author: Cesar Soares Lucas <cslucas at openjdk.org>
Committer: Tobias Hartmann <thartmann at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/b351b5f60ed836e6e21aa4ce5681e573a6057eb6
Stats: 181 lines in 2 files changed: 181 ins; 0 del; 0 mod
8331736: C2: Live Node limit exceeded limit after JDK-8316991
Reviewed-by: thartmann, chagedorn
-------------
PR: https://git.openjdk.org/jdk/pull/19545
More information about the hotspot-compiler-dev
mailing list