RFR: 7902982: jcstress: Add samples for some mutex algorithms [v3]

Michael Mirwaldt github.com+6693355+mmirwaldt at openjdk.java.net
Fri Jul 2 20:48:18 UTC 2021


> I have implemented 3 more samples:
> *) the NoAlgorithm sample should show users of JCStress how they can define a critical section in a simple way
> *) one sample for the Peterson's algorithm 
> *) one sample for the Dekker's algorithm 
> I have translated the pseudo code implementations of the English wikipedia articles to Java.
> I have also tried out those examples: they compile and they run without any problems.

Michael Mirwaldt has updated the pull request incrementally with four additional commits since the last revision:

 - Merge remote-tracking branch 'origin/master'
 - Merge remote-tracking branch 'origin/master'
 - Next try to fix user name of author
   Merge remote-tracking branch 'origin/master'
 - Changed user name and email

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

Changes:
  - all: https://git.openjdk.java.net/jcstress/pull/84/files
  - new: https://git.openjdk.java.net/jcstress/pull/84/files/4ca27a0f..8459f2bb

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jcstress&pr=84&range=02
 - incr: https://webrevs.openjdk.java.net/?repo=jcstress&pr=84&range=01-02

  Stats: 0 lines in 0 files changed: 0 ins; 0 del; 0 mod
  Patch: https://git.openjdk.java.net/jcstress/pull/84.diff
  Fetch: git fetch https://git.openjdk.java.net/jcstress pull/84/head:pull/84

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


More information about the jcstress-dev mailing list