JDK-8319879 : Stress mode to randomize incremental inlining decision
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 17,21,22
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2023-11-10
  • Updated: 2024-02-12
  • Resolved: 2023-11-21
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 21 JDK 22
21.0.3-oracleFixed 22 b25Fixed
Related Reports
Blocks :  
Blocks :  
Blocks :  
Blocks :  
Blocks :  
Relates :  
Relates :  
Description
We had quite a few C2 bugs in the past that only reproduced with a specific sequence of incremental inlining (for example, JDK-8319764). We should randomize the incremental inlining decision to trigger these code paths more frequently.

Prototype: https://github.com/openjdk/jdk/pull/16597
Comments
Fix request [21u] I backport this for parity with 21.0.3-oracle. Typical risk of a C2 change, but rather simple, so the risk is acceptable. Clean backport. Tests pass. SAP nightly testing passed.
31-12-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jdk21u-dev/pull/106 Date: 2023-12-30 15:22:18 +0000
30-12-2023

I would like to see this stress option in currently maintained LTS releases as well, so marking this with more affected versions. We need to have related issues resolved and backported before we start actively testing in LTSes.
22-11-2023

Changeset: 303757b3 Author: Tobias Hartmann <thartmann@openjdk.org> Date: 2023-11-21 07:18:04 +0000 URL: https://git.openjdk.org/jdk/commit/303757b3a0d73329c954b28f08058fb60e5c9729
21-11-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/16597 Date: 2023-11-10 09:12:19 +0000
13-11-2023