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

Michael Mirwaldt github.com+6693355+mmirwaldt at openjdk.java.net
Tue Jun 29 12:29:18 UTC 2021


On Tue, 22 Jun 2021 08:41:47 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

>> mmirwaldt for openjdk has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   improved code by applying ideas from the PR
>
> jcstress-samples/src/main/java/org/openjdk/jcstress/samples/concurreny/mutex/Mutex_01_NoAlgorithm.java line 2:
> 
>> 1: /*
>> 2:  * Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
> 
> Should be "Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved."

Done

> jcstress-samples/src/main/java/org/openjdk/jcstress/samples/concurreny/mutex/Mutex_02_PetersonAlgorithm.java line 2:
> 
>> 1: /*
>> 2:  * Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
> 
> Same.

Done

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

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


More information about the jcstress-dev mailing list