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

Aleksey Shipilev shade at openjdk.java.net
Tue Jun 29 13:46:21 UTC 2021


On Tue, 29 Jun 2021 13:37:57 GMT, Michael Mirwaldt <github.com+6693355+mmirwaldt at openjdk.org> wrote:

>> Yes, that's a good idea. I will do it.
>
> I added a sample with an atomic boolean. However, all samples use busy waiting so far.
> Do you wish to add samples which get blocked instead of  busy waiting?

Yes, do `synchronized` example too, please, @mmirwaldt-openjdk.

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

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


More information about the jcstress-dev mailing list