RFR: 8323651: compiler/c2/irTests/TestPrunedExHandler.java fails with -XX:+DeoptimizeALot

Jorn Vernee jvernee at openjdk.org
Mon Jan 15 17:17:33 UTC 2024


This test can not work with `-XX:+DeoptimizeALot`. Parts of it depend on a particular sequence of compilation and deoptimization, so if DeoptimizeALot deoptimizes things prematurely, the test can fail.

This PR adds `@requires vm.opt.DeoptimizeALot != true` to the test so that it is skipped when `-XX:+DeoptimizeALot` is used.

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

Commit messages:
 - disable TestPrunedExHandler when running with -XX:+DeoptimizeALot

Changes: https://git.openjdk.org/jdk/pull/17432/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=17432&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8323651
  Stats: 1 line in 1 file changed: 1 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/17432.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/17432/head:pull/17432

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


More information about the hotspot-compiler-dev mailing list