RFR: CODETOOLS-7903021: jcstress: Dining Philosophers problem sample [v6]
Michael Mirwaldt
github.com+6693355+mmirwaldt at openjdk.java.net
Mon Oct 11 17:04:42 UTC 2021
> This s my initial draft fo a sample testing solutions for the dining philosophers problem:
> - Wikipedia explains it on https://en.wikipedia.org/wiki/Dining_philosophers_problem
> - It runs within 13min on my machine.
> - It includes a short comment about the motivation for that sample and
> a reference link to the wikipedia article about the dining philosophers problem.
> - It offers 3 different solutions: with monitors, with reentrant locks and with semaphores
Michael Mirwaldt has updated the pull request incrementally with one additional commit since the last revision:
reviewed ClassicProblem_01_DiningPhilosophers the first time
-------------
Changes:
- all: https://git.openjdk.java.net/jcstress/pull/93/files
- new: https://git.openjdk.java.net/jcstress/pull/93/files/d57f8eb1..61834766
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jcstress&pr=93&range=05
- incr: https://webrevs.openjdk.java.net/?repo=jcstress&pr=93&range=04-05
Stats: 34 lines in 1 file changed: 4 ins; 11 del; 19 mod
Patch: https://git.openjdk.java.net/jcstress/pull/93.diff
Fetch: git fetch https://git.openjdk.java.net/jcstress pull/93/head:pull/93
PR: https://git.openjdk.java.net/jcstress/pull/93
More information about the jcstress-dev
mailing list