Integrated: 8330862: GCBarrierIRExample fails when a different GC is selected via the command line

Roberto Castañeda Lozano rcastanedalo at openjdk.org
Tue Apr 23 06:55:33 UTC 2024


On Tue, 23 Apr 2024 06:29:57 GMT, Roberto Castañeda Lozano <rcastanedalo at openjdk.org> wrote:

> The example IR framework test introduced by [JDK-8330153](https://bugs.openjdk.org/browse/JDK-8330153) runs on (generational) ZGC only (`TestFramework.runWithFlags("-XX:+UseZGC", "-XX:+ZGenerational")`), but allows the jtreg user to select a conflicting GC externally, which causes the VM to fail. This changeset restricts the test so that it only runs if either ZGC or no GC is selected externally.
> 
> **Testing:** tier1-3 (windows-x64, linux-x64, linux-aarch64, and macosx-x64)

This pull request has now been integrated.

Changeset: 574ba140
Author:    Roberto Castañeda Lozano <rcastanedalo at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/574ba1400e015bf579190828fbdf0618eed48bdf
Stats:     1 line in 1 file changed: 1 ins; 0 del; 0 mod

8330862: GCBarrierIRExample fails when a different GC is selected via the command line

Reviewed-by: thartmann, dholmes, stefank

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

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


More information about the hotspot-compiler-dev mailing list