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

Vladimir Kozlov kvn at openjdk.org
Mon Jan 15 19:19:19 UTC 2024


On Mon, 15 Jan 2024 17:54: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.
>
> Jorn Vernee has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Bump copyright year

Looks good.

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

Marked as reviewed by kvn (Reviewer).

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


More information about the hotspot-compiler-dev mailing list