[lworld] Integrated: 8361166: [lworld] TestG1BarrierGeneration still fails after JDK-8343420

Damon Fenacci dfenacci at openjdk.org
Tue Jul 8 15:08:54 UTC 2025


On Fri, 4 Jul 2025 14:40:37 GMT, Damon Fenacci <dfenacci at openjdk.org> wrote:

> The `TestG1BarrierGeneration::testArrayStore` and `TestG1BarrierGeneration::testArrayStoreTwice` tests are failing with `-XX:-TieredCompilation` because the compilation is inserting a `CastPP` node for the input of the `StoreP` node (due to missing profiling info) and this is restricting the type of the barrier to `notnull`. The test regex checks for exactly `pre post` (nothing after that) and thus fails.
> This change fixes the test by increasing the warmup iterations for the failing tests.
> 
> Tests: Tier 1-3+

This pull request has now been integrated.

Changeset: 64ba13bc
Author:    Damon Fenacci <dfenacci at openjdk.org>
Committer: Tobias Hartmann <thartmann at openjdk.org>
URL:       https://git.openjdk.org/valhalla/commit/64ba13bc8ee4e3f92a30040b785c9707702df370
Stats:     2 lines in 2 files changed: 1 ins; 1 del; 0 mod

8361166: [lworld] TestG1BarrierGeneration still fails after JDK-8343420

Reviewed-by: chagedorn

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

PR: https://git.openjdk.org/valhalla/pull/1502


More information about the valhalla-dev mailing list