RFR: 8319879: Stress mode to randomize incremental inlining decision

Tobias Hartmann thartmann at openjdk.org
Mon Nov 13 11:47:08 UTC 2023


We had quite a few C2 bugs in the past that only reproduced with a specific sequence of incremental inlining (for example, [JDK-8319764](https://bugs.openjdk.org/browse/JDK-8319764)). We should randomize the incremental inlining decision to trigger these code paths more frequently.

I did some testing with the flag enabled and I hit [JDK-8319764](https://bugs.openjdk.org/browse/JDK-8319764) and [JDK-8319889](https://bugs.openjdk.org/browse/JDK-8319889). I think it's still valuable to integrate this even if these bugs are not resolved yet.

Thanks,
Tobias

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

Commit messages:
 - Merge branch 'master' into JDK-8319879
 - Test fixes
 - Improvement
 - 8319879: Stress mode to randomize incremental inlining decision

Changes: https://git.openjdk.org/jdk/pull/16597/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=16597&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8319879
  Stats: 19 lines in 10 files changed: 6 ins; 0 del; 13 mod
  Patch: https://git.openjdk.org/jdk/pull/16597.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/16597/head:pull/16597

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


More information about the hotspot-compiler-dev mailing list