RFR: 8330016: Stress seed should be initialized for runtime stub compilation

Daniel Skantz duke at openjdk.org
Mon May 6 06:36:05 UTC 2024


We can initialize the stress seed for runtime stub compilation as we already do for method compilation. This found the bug described in JDK-8329258. It would apply if StressGCM or StressLCM vm flags are set.

Testing: T1-5 default options. T1-5 with -XX:+StressLCM and -XX:+StressGCM. Manually tested that the stress seed is set and printed to compilation log if either stress option is set.

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

Commit messages:
 - move lines again
 - move lines
 - factor out streed seed initialization
 - add stress seed in runtime stub

Changes: https://git.openjdk.org/jdk/pull/19095/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=19095&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8330016
  Stats: 31 lines in 2 files changed: 20 ins; 10 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/19095.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/19095/head:pull/19095

PR: https://git.openjdk.org/jdk/pull/19095


More information about the hotspot-compiler-dev mailing list