RFR: 7902989: jcstress: Add samples for high-level race conditions [v3]

Michael Mirwaldt github.com+6693355+mmirwaldt at openjdk.java.net
Thu Jul 1 15:10:38 UTC 2021


On Thu, 1 Jul 2021 14:08:15 GMT, Vladimir Sitnikov <vsitnikov at openjdk.org> wrote:

>> Yeah, that makes sense. I replaced his by its. Is that better?
>
> I would rather write the description like in pseudo-code.
> For instance: `"actor2: value=50, then actor2: value+=50"`
> 
> Remember that the message would appear in the test output, and it would be great to be able to understand the meaning of the outcomes **without** analyzing the source code.

Indeed. I like your idea. I changed and committed RaceCondition_01_ReadModifyWriteSequence.
What do you think about the new version?
Please keep in mind that the space for the decription is limited and cutting of the last part of the description would be bad.

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

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


More information about the jcstress-dev mailing list