[jdk21u-dev] RFR: 8330016: Stress seed should be initialized for runtime stub compilation

Kirill Shirokov kshiroko at openjdk.org
Sat Jan 31 03:51:05 UTC 2026


A clean backport of commit [95d2f8](https://github.com/openjdk/jdk/commit/95d2f8072e91e8df80e49e341f4fdb4464a2616e).

Only touches the stress test-related code.

Motivation: ability to set StressSeed for C2 turns out to be quite instrumental in finding and especially reproducing rare C2 code generation bugs amplified by StressLCM and StressGCM flags, thus backporting it.

Tested by running jtreg tier1-4, gtest, jcstress on linux-aarch64.

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

Commit messages:
 - Backport 95d2f8072e91e8df80e49e341f4fdb4464a2616e

Changes: https://git.openjdk.org/jdk21u-dev/pull/2581/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk21u-dev&pr=2581&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/jdk21u-dev/pull/2581.diff
  Fetch: git fetch https://git.openjdk.org/jdk21u-dev.git pull/2581/head:pull/2581

PR: https://git.openjdk.org/jdk21u-dev/pull/2581


More information about the jdk-updates-dev mailing list