RFR: CODETOOLS-7902963: jcstress: Autoinject @Contended to @State objects

Aleksey Shipilev shade at openjdk.java.net
Mon Jun 7 16:44:43 UTC 2021


The overwhelming majority of tests work better when the distinct fields are not false-shared. The test harness can do better and auto-inject @Contended to all @State class fields.

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

Commit messages:
 - Cleanups
 - Auto-inject in every test class available
 - Progress
 - Rename autoinjector
 - Injection works
 - Auto-inject @Contended

Changes: https://git.openjdk.java.net/jcstress/pull/68/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jcstress&pr=68&range=00
  Issue: https://bugs.openjdk.java.net/browse/CODETOOLS-7902963
  Stats: 553 lines in 19 files changed: 366 ins; 174 del; 13 mod
  Patch: https://git.openjdk.java.net/jcstress/pull/68.diff
  Fetch: git fetch https://git.openjdk.java.net/jcstress pull/68/head:pull/68

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


More information about the jcstress-dev mailing list