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

Michael Mirwaldt github.com+6693355+mmirwaldt at openjdk.java.net
Tue Jun 29 14:00:50 UTC 2021


On Tue, 29 Jun 2021 13:47:47 GMT, Vladimir Sitnikov <vsitnikov at openjdk.org> wrote:

>> Yes, do `synchronized` example too, please, @mmirwaldt-openjdk.
>
> In my opinion, half of the story here is to teach the readers, so if you write a trivial `synchronized(lock) { ... } `, then it would be way easier to understand what Dekker algorithm really means.
> 
> I think adding blocking primitives here is OK.

Ok, I will

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

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


More information about the jcstress-dev mailing list