RFR: 8362501: Update test/hotspot/jtreg/applications/jcstress/README

David Holmes dholmes at openjdk.org
Fri Jul 18 02:17:46 UTC 2025


On Thu, 17 Jul 2025 12:29:00 GMT, SendaoYan <syan at openjdk.org> wrote:

> Hi all,
> 
> Currently, this is no documentation on how to run the application/jcstress tests. I think it will be useful to complement the document test/hotspot/jtreg/applications/jcstress/README on how to run the jcstress tests in jtreg.
> 
> No behaviour has been change, only update the ducumentation, no risk.

test/hotspot/jtreg/applications/jcstress/README line 35:

> 33: You should specific the JAR location with jtreg option such as
> 34: -Djdk.test.lib.artifacts.jcstress-tests-all=jcstress-tests-all-20241217-2035.jar
> 35: when start jcstress tests in jtreg.

Suggestion:

You should specify the JAR location by passing the following property when invoking jtreg. For example:
-Djdk.test.lib.artifacts.jcstress-tests-all=jcstress-tests-all-20241217-2035.jar

Though I'm unclear if this is a setting passed directly to jtreg, or whether it should be set via e.g. `-javaoption:-Dxxx` ?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/26369#discussion_r2214724943


More information about the hotspot-runtime-dev mailing list