RFR: 8315916: assert(C->live_nodes() <= C->max_node_limit()) failed: Live Node limit exceeded [v4]

Dhamoder Nalla dhanalla at openjdk.org
Mon Oct 21 02:39:00 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.

Dhamoder Nalla has updated the pull request incrementally with one additional commit since the last revision:

  change CRLF to LF

-------------

Changes:
  - all: https://git.openjdk.org/jdk/pull/20504/files
  - new: https://git.openjdk.org/jdk/pull/20504/files/8a414baf..8f9cd174

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=20504&range=03
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=20504&range=02-03

  Stats: 51 lines in 1 file changed: 0 ins; 1 del; 50 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