RFR: CODETOOLS-7903021: jcstress: Dining Philosophers problem sample [v6]
Aleksey Shipilev
shade at openjdk.java.net
Mon Nov 1 13:02:34 UTC 2021
On Mon, 11 Oct 2021 17:04:42 GMT, Michael Mirwaldt <duke at openjdk.java.net> wrote:
>> 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
All right, good! We can do the rest in the follow-ups.
-------------
Marked as reviewed by shade (Committer).
PR: https://git.openjdk.java.net/jcstress/pull/93
More information about the jcstress-dev
mailing list