RFR: 8378083: Mark shenandoah/generational/TestOldGrowthTriggers.java as flagless

William Kemper wkemper at openjdk.org
Tue Feb 24 20:31:55 UTC 2026


On Tue, 17 Feb 2026 10:59:24 GMT, SendaoYan <syan at openjdk.org> wrote:

> Hi all,
> 
> Test test/hotspot/jtreg/gc/shenandoah/generational/TestOldGrowthTriggers.java invoke ProcessTools.createLimitedTestJavaProcessBuilder call the test java process, I think we should mark this test as flagless to avoid duplication run when jtreg received extra jvm options.
> 
> This PR also remove the uesless 'import jdk.test.lib.Asserts' and fix the typo 'choose' in test/lib/jdk/test/lib/process/ProcessTools.java

test/hotspot/jtreg/gc/shenandoah/generational/TestOldGrowthTriggers.java line 30:

> 28:  * @key intermittent
> 29:  * @requires vm.gc.Shenandoah
> 30:  * @requires vm.flagless

I am unfamiliar with this option. Would appreciate it if you could explain its significance. Thanks!

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

PR Review Comment: https://git.openjdk.org/jdk/pull/29756#discussion_r2849390953


More information about the shenandoah-dev mailing list