RFR: CODETOOLS-7902976: jcstress: Force actor methods compilation mode to prevent escapes

Aleksey Shipilev shade at openjdk.java.net
Mon Jun 14 09:21:12 UTC 2021


Current compiler directives rely on run loop configuration to propagate to inlined actor methods. But, JIT compilers can compile the actor methods first, run them, and only then compile the run loop and inherit its compilation config. In other words, this allows actor method to escape the compilation mode temporarily. We should force the compilation mode to actor methods directly too.

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

Commit messages:
 - Fix

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

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


More information about the jcstress-dev mailing list