RFR: 8314242: Update applications/scimark/Scimark.java to accept VM flags

Leonid Mesnik lmesnik at openjdk.org
Tue Aug 15 05:15:07 UTC 2023


On Tue, 15 Aug 2023 04:33:44 GMT, David Holmes <dholmes at openjdk.org> wrote:

>> Test applications/scimark/Scimark.java is a small stress test which currently ignores VM flags and is vm.flagless.
>> This fix update it to accept all flags.
>> 
>> Tested by running tier1 and this test with additional VM flags.
>
> test/hotspot/jtreg/applications/scimark/Scimark.java line 49:
> 
>> 47:         }
>> 48: 
>> 49:         System.setProperty("test.noclasspath", "true");
> 
> What does this do?

The "test.noclasspath" is set to don't use the default classpath to run process and only add VM options. This test starts the 3rd-party application and doesn't need test classes and a test library in the path.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/15280#discussion_r1294186156


More information about the hotspot-dev mailing list