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

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


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

>> mmirwaldt for openjdk has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   removed ids for forbidden outcomes
>
> jcstress-samples/src/main/java/org/openjdk/jcstress/samples/concurreny/mutex/Mutex_01_NoAlgorithm.java line 51:
> 
>> 49: @State
>> 50: public class Mutex_01_NoAlgorithm {
>> 51:     private volatile boolean taken1, taken2;
> 
> volatiles must not be here.

Removed

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

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


More information about the jcstress-dev mailing list