RFR: Samples for race condition

Michael Mirwaldt github.com+6693355+mmirwaldt at openjdk.java.net
Wed Jun 30 19:16:23 UTC 2021


I have created two more samples:

- one sample for read-modify-write-sequences
- one sample for check-then-react-sequences

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

Commit messages:
 - force a commit with my github user mmirwaldt-openjdk to get rid of the OCA label
 - gave state annotation its own line
 - corrected copyright
 - improved code again by getting rid of AtomicBoolean and AtomicInteger
 - improved code by applying ideas from another PR
 - Two more samples:

Changes: https://git.openjdk.java.net/jcstress/pull/88/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jcstress&pr=88&range=00
  Stats: 145 lines in 2 files changed: 145 ins; 0 del; 0 mod
  Patch: https://git.openjdk.java.net/jcstress/pull/88.diff
  Fetch: git fetch https://git.openjdk.java.net/jcstress pull/88/head:pull/88

PR: https://git.openjdk.java.net/jcstress/pull/88


More information about the jcstress-dev mailing list