RFR: 7902989: jcstress: Add samples for high-level race conditions [v5]
Michael Mirwaldt
github.com+6693355+mmirwaldt at openjdk.java.net
Thu Jul 1 14:01:44 UTC 2021
On Thu, 1 Jul 2021 09:19:04 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:
>> You are right. FORBIDDEN is too much.
>> Let's choose ACCEPTABLE_INTERESTING.
>> What do you think?
>
> Yes, it should be `ACCEPTABLE_INTERESTING`. That is fully allowed, and it is the target for this test to show such the outcome -- that's the reason for `ACCEPTABLE_INTERESTING` to exist. `FORBIDDEN` means the result is illegal under Java concurrency rules.
Ok. Thanks for that explaination. I will keep that in mind from now on.
-------------
PR: https://git.openjdk.java.net/jcstress/pull/88
More information about the jcstress-dev
mailing list