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

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


On Tue, 29 Jun 2021 12:33:34 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

>> I am sorry, I don't understand you. Can you write here how the code without id looks like?
>> I mean I need the id here in the annotations to declare the expected results because I will get an compiler error otherwise.
>
> Like this: 
> 
> @Outcome(                                    expect = FORBIDDEN, desc = "Everything else is forbidden")

Ah, OK, I understand now.

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

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


More information about the jcstress-dev mailing list