Integrated: CODETOOLS-7903021: jcstress: Dining Philosophers problem sample

Michael Mirwaldt duke at openjdk.java.net
Tue Nov 2 06:59:28 UTC 2021


On Thu, 26 Aug 2021 17:28:34 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

This pull request has now been integrated.

Changeset: 0fd66f9c
Author:    Michael Mirwaldt <michael.mirwaldt at gmail.com>
Committer: Aleksey Shipilev <shade at openjdk.org>
URL:       https://git.openjdk.java.net/jcstress/commit/0fd66f9cbe7587feb563ef70bec0e8174a14d321
Stats:     199 lines in 1 file changed: 199 ins; 0 del; 0 mod

7903021: jcstress: Dining Philosophers problem sample

Reviewed-by: shade

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

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


More information about the jcstress-dev mailing list