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

Alan Bateman alanb at openjdk.org
Mon Jan 15 17:29:19 UTC 2024


On Mon, 15 Jan 2024 16:58:33 GMT, Jorn Vernee <jvernee at openjdk.org> wrote:

> 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.

Thanks, this test runs in the loom with DeoptimizeALot so we've had to exclude it. I assume you'll bump the copyright date before integrating.

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

Marked as reviewed by alanb (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/17432#pullrequestreview-1822073572


More information about the hotspot-compiler-dev mailing list