Skip to content

8362501: Update test/hotspot/jtreg/applications/jcstress/README #26369

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions test/hotspot/jtreg/applications/jcstress/README
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -24,10 +24,15 @@ 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. Before you start these tests, you should get the specified
build of org.openjdk.jcstress:jcstress-tests-all. The quickest way to
get the specified build is to download the prebuilt JAR from
[here](https://builds.shipilev.net/jcstress/).
You should specific the JAR location with jtreg option such as
-javaoption:-Djdk.test.lib.artifacts.jcstress-tests-all=
jcstress-tests-all-20241217-2035.jar when start jcstress tests in jtreg.

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
Expand Down