RFR: 8345156: C2: Add bailouts next to a few asserts

Daniel Skantz duke at openjdk.org
Mon Dec 2 13:13:12 UTC 2024


This patch associates product bailouts with a few existing debug asserts. The criteria are that there have been product bugs associated with failing these asserts in the past, and that there are not too many callers to the method where the compilation is now cancelled or any measurable impact on compilation time.

Testing: T1-T4 and extra testing. Tested compilation time with -XX:+CITime on performance benchmarks and the effect was not measurable.

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

Commit messages:
 - Merge branch 'master' of github.com:openjdk/jdk into cancel-more-compilations
 - add new bailouts

Changes: https://git.openjdk.org/jdk/pull/22482/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=22482&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8345156
  Stats: 68 lines in 8 files changed: 56 ins; 5 del; 7 mod
  Patch: https://git.openjdk.org/jdk/pull/22482.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/22482/head:pull/22482

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


More information about the hotspot-compiler-dev mailing list