RFR: 8316719: C2 compilation still fails with "bad AD file"

Quan Anh Mai qamai at openjdk.org
Sun Nov 5 18:32:12 UTC 2023


Hi,

As noted by Christian in JBS, checking for loop increment is unreliable. Since we are operating on the `BoolNode`, we can check for the counted loop condition directly.

Please let me know if there is any issue with this approach. Thanks a lot.

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

Commit messages:
 - check for loop condition instead

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

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


More information about the hotspot-compiler-dev mailing list