RFR: 8315916: assert(C->live_nodes() <= C->max_node_limit()) failed: Live Node limit exceeded
Dhamoder Nalla
dhanalla at openjdk.org
Thu Aug 8 00:23:41 UTC 2024
In the debug build, the assert is triggered during the parsing (before Code_Gen). In the Release build, however, the compilation bails out at `Compile::check_node_count()` during the code generation phase and completes execution without any issues.
When I commented out the assert(C->live_nodes() <= C->max_node_limit()), both debug and Release builds exhibited the same behavior: the compilation bails out, and execution completes without any issues.
The assert statement is not essential, as it is causing unnecessary failures in the debug build.
-------------
Commit messages:
- Removing the unnecessary assert
Changes: https://git.openjdk.org/jdk/pull/20504/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=20504&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8315916
Stats: 4 lines in 1 file changed: 0 ins; 4 del; 0 mod
Patch: https://git.openjdk.org/jdk/pull/20504.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/20504/head:pull/20504
PR: https://git.openjdk.org/jdk/pull/20504
More information about the hotspot-compiler-dev
mailing list