RFR: 8332245: C2: missing record_for_ign() call in GraphKit::must_be_not_null()

Roland Westrelin roland at openjdk.org
Tue May 14 16:23:13 UTC 2024


The `If` node that's created by `GraphKit::must_be_not_null()` is not
enqueued for igvn when it's created. The test case shows it prevents 2
identical tests from commoning when the first igvn executes. This is a
minor issue I noticed whule working on something else.

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

Commit messages:
 - test and fix

Changes: https://git.openjdk.org/jdk/pull/19233/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=19233&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8332245
  Stats: 75 lines in 2 files changed: 75 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/19233.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/19233/head:pull/19233

PR: https://git.openjdk.org/jdk/pull/19233


More information about the hotspot-compiler-dev mailing list