Withdrawn: 7903383: jcstress: All State objects should be processed

Aleksey Shipilev shade at openjdk.org
Thu Jan 12 15:31:15 UTC 2023


On Thu, 10 Nov 2022 09:40:21 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> There is a reasonable expectation that once `@State` object is created, it would eventually be acted upon. In fact, the Javadoc for `@Actor`/`@Arbiter` mentions that actor methods would be called on each state object exactly once. There are cases where users rely on this implicit lifecycle assumption to perform cleanups at `@Arbiter` methods.
> 
> Unfortunately, once jcstress leaves the test, it keeps last created state object slice unprocessed, which breaks this assumption.

This pull request has been closed without being integrated.

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

PR: https://git.openjdk.org/jcstress/pull/124


More information about the jcstress-dev mailing list