diff --git a/test/hotspot/jtreg/applications/jcstress/README b/test/hotspot/jtreg/applications/jcstress/README index 2aaf1210f9b54..b85b4ddbbe3d7 100644 --- a/test/hotspot/jtreg/applications/jcstress/README +++ b/test/hotspot/jtreg/applications/jcstress/README @@ -1,4 +1,4 @@ -Copyright (c) 2017, 2022, Oracle and/or its affiliates. All rights reserved. +Copyright (c) 2017, 2025, Oracle and/or its affiliates. All rights reserved. DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. This code is free software; you can redistribute it and/or modify it @@ -24,10 +24,13 @@ The tests located under this directory run tests from the Java Concurrency Stress test suite[1] (a.k.a. jcstress). This suite aims to verify the correctness of concurrency support in the JDK. -All the tests are run through the test driver class -- JcstressRunner, which -downloads the specified build of org.openjdk.jcstress:jcstress-tests-all, +All the tests are run through the test driver class -- JcstressRunner, spawns a new JVM to run one jcstress test and checks that it finishes -successfully. +successfully. These tests require a build of org.openjdk.jcstress:jcstress-tests-all. +If this artifact could not be found automatically, you can build it using jcstress +guide[1], and then pass the JAR location with JDK option such as +-Djdk.test.lib.artifacts.jcstress-tests-all=jcstress-tests-all.jar, +either with explicit -javaoption: or TEST_VM_OPTS test variable. When the used version of org.openjdk.jcstress:jcstress-tests-all needs to be changed, one should make corresponding changes to the artifact description in