Integrated: 7902982: jcstress: Add samples for some mutex algorithms
Michael Mirwaldt
github.com+6693355+mmirwaldt at openjdk.java.net
Sat Jul 3 06:23:55 UTC 2021
On Mon, 21 Jun 2021 14:19:13 GMT, Michael Mirwaldt <github.com+6693355+mmirwaldt at openjdk.org> wrote:
> 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.
This pull request has now been integrated.
Changeset: 4b56c342
Author: mmirwaldt <michael.mirwaldt at gmail.com>
Committer: Aleksey Shipilev <shade at openjdk.org>
URL: https://git.openjdk.java.net/jcstress/commit/4b56c3424a3d9d481535f74f6e3911c44331330d
Stats: 366 lines in 5 files changed: 366 ins; 0 del; 0 mod
7902982: jcstress: Add samples for some mutex algorithms
Reviewed-by: shade
-------------
PR: https://git.openjdk.java.net/jcstress/pull/84
More information about the jcstress-dev
mailing list