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

William Kemper wkemper at openjdk.org
Wed Feb 25 11:04:26 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

Thanks for the PR. We did some research about `vm.flagless` and agree it makes sense for this test.

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

Marked as reviewed by wkemper (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/29756#pullrequestreview-3851060772


More information about the shenandoah-dev mailing list