RFR: 8319879: Stress mode to randomize incremental inlining decision [v2]

Tobias Hartmann thartmann at openjdk.org
Thu Nov 16 10:27:46 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

Tobias Hartmann has updated the pull request incrementally with one additional commit since the last revision:

  Reverted test changes

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/16597/files
  - new: https://git.openjdk.org/jdk/pull/16597/files/0d8360ee..e85dd02f

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=16597&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=16597&range=00-01

  Stats: 4 lines in 2 files changed: 0 ins; 0 del; 4 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