RFR: 7903423: jcstress: Improve footprint by managing object lifecycles better

Aleksey Shipilev shade at openjdk.org
Tue Jan 31 16:28:55 UTC 2023


Currently, we hold on to lots of state/results object from the test root, and from the fields in the checker/actor threads. This apparently is the source of some OOMEs/timeouts on smaller devices. We can make the lifecycle more explicit.

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

Commit messages:
 - Revert debugging
 - Fix

Changes: https://git.openjdk.org/jcstress/pull/132/files
 Webrev: https://webrevs.openjdk.org/?repo=jcstress&pr=132&range=00
  Issue: https://bugs.openjdk.org/browse/CODETOOLS-7903423
  Stats: 68 lines in 4 files changed: 40 ins; 7 del; 21 mod
  Patch: https://git.openjdk.org/jcstress/pull/132.diff
  Fetch: git fetch https://git.openjdk.org/jcstress pull/132/head:pull/132

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


More information about the jcstress-dev mailing list