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

Jorn Vernee jvernee at openjdk.org
Tue Jan 16 13:28:30 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.

This pull request has now been integrated.

Changeset: 2fd775f6
Author:    Jorn Vernee <jvernee at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/2fd775f69c8eb4d0bd1163e8b5d2615db105352b
Stats:     2 lines in 1 file changed: 1 ins; 0 del; 1 mod

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

Reviewed-by: alanb, kvn

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

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


More information about the hotspot-compiler-dev mailing list