RFR: 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:41:27 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, ongoing (windows-x64, linux-x64, linux-aarch64, and macosx-x64)

Thanks for reviewing, Tobias, David, and Stefan! I will integrate as soon as testing is done.

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

PR Comment: https://git.openjdk.org/jdk/pull/18906#issuecomment-2071515574


More information about the hotspot-compiler-dev mailing list