RFR: 8262049: [TESTBUG] Fix TestReferenceRefersTo.java for Shenandoah IU mode [v3]

Roman Kennke rkennke at openjdk.java.net
Tue Feb 23 08:44:58 UTC 2021


On Tue, 23 Feb 2021 08:24:51 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:

>> How would I do that? IU mode can only be distinguished by VM flag.
>
> I've not tried it, but this might work.
> `@requires vm.gc != "Shenandoah" | vm.opt.ShenandoahGCMode != "iu"`

Indeed, it does. I changed the test requires accordingly.

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

PR: https://git.openjdk.java.net/jdk/pull/2653



More information about the hotspot-gc-dev mailing list