RFR: 8271905: mark hotspot runtime/Metaspace tests which ignore external VM flags

Thomas Stuefe stuefe at openjdk.java.net
Thu Aug 5 04:35:27 UTC 2021

On Wed, 4 Aug 2021 22:56:25 GMT, Igor Ignatyev <iignatyev at openjdk.org> wrote:

> Hi all,
> could you please review the patch that adds `@requires vm.flagless` to two `runtime/Metaspace` tests?
> Thanks,
> -- Igor

Hi Igor,

 I know we spoke about this before, but could you please explain again the motivation for these changes? Is this flag somewhere documented?

AFAIU the flag changes the test such that it gets not executed by the jtreg framework if I specify a VM option on the command line with -vmoption (apart from a very narrow range of allowed options)?

I often run jtreg tests with additional options to exercise tests in different contexts. Having them quietly turn off themselves would not be helpful then.

Thanks, Thomas


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

More information about the hotspot-runtime-dev mailing list