Iterations initialize @State objects and don't provide a way to clean up
Aleksey Shipilev
shade at redhat.com
Thu Nov 10 10:10:48 UTC 2022
On 11/10/22 10:47, Aleksey Shipilev wrote:
> There is a minor secondary bug, though, indeed: once we finish internalRun() in one way or the
> other, we should really be cleaning up the leftover state/result arrays without waiting for new
> iteration, which might never come. I shall deal with that too.
Scratch that. The way harness handles the test insulates us from any garbage buildup: every test
runs in its own forked VM, and once the test completes, we effectively invoke the ultimate garbage
collection: shutting down the VM.
--
Thanks,
-Aleksey
More information about the jcstress-dev
mailing list