RFR: CODETOOLS-7902972: jcstress: Worker thread methods should not inline further calls

Aleksey Shipilev shade at openjdk.java.net
Sun Jun 13 18:43:13 UTC 2021


Currently, actor methods can be called from the sanity checks, thus bypassing the non-inlineablitity directives for run loops. We probably need to turn auxiliary thread bodies to interpreter, so that we never inline/compile actor methods as the part of thread bodies. The actor methods would still enjoy their own compilation config.

A similar issue is with worker thread and task loop: task loop configuration should take precedence over (default) worker thread config.

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

Commit messages:
 - Fix

Changes: https://git.openjdk.java.net/jcstress/pull/76/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jcstress&pr=76&range=00
  Issue: https://bugs.openjdk.java.net/browse/CODETOOLS-7902972
  Stats: 20 lines in 1 file changed: 17 ins; 2 del; 1 mod
  Patch: https://git.openjdk.java.net/jcstress/pull/76.diff
  Fetch: git fetch https://git.openjdk.java.net/jcstress pull/76/head:pull/76

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


More information about the jcstress-dev mailing list