RFR: 7903754: jcstress: Implement fail-on-error run option [v5]

Jiří Vaněk jvanek at openjdk.org
Fri Jun 13 14:30:45 UTC 2025


> Initial PoC
> 
> It currently show how to set up argument, and how the framework will be terminated. Feedback welcomed.  Should be finished soon

Jiří Vaněk has updated the pull request incrementally with two additional commits since the last revision:

 - Removed conting of groups.
   
   It do not fill its purpose in real life
 - Simplified to simpe -foe
   
   Both existing swithces with parameter changed to simngle -foe swithc,
   whcih do not have any parameter, and if used , jcstress ends as soon as
   possible after first error.
   
   Dropped the %% relative metric. Was good, but was never deployed afaik.
   Simplifed test counting, now only tests are counted (no longer group)
   Kept possibility to forbid exiting in the middle of group via property
   
   Kept posibility to set limit both  for absolute and relative treshold,
   so user can still wait for more errors to appear before it is canceled.

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

Changes:
  - all: https://git.openjdk.org/jcstress/pull/157/files
  - new: https://git.openjdk.org/jcstress/pull/157/files/ddc606b9..a2721637

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jcstress&pr=157&range=04
 - incr: https://webrevs.openjdk.org/?repo=jcstress&pr=157&range=03-04

  Stats: 145 lines in 4 files changed: 4 ins; 107 del; 34 mod
  Patch: https://git.openjdk.org/jcstress/pull/157.diff
  Fetch: git fetch https://git.openjdk.org/jcstress.git pull/157/head:pull/157

PR: https://git.openjdk.org/jcstress/pull/157


More information about the jcstress-dev mailing list