RFR: 8254108: ciReplay: Support incremental inlining

Christian Hagedorn chagedorn at openjdk.java.net
Tue Nov 16 15:51:59 UTC 2021


This patch adds support to explicitly apply incremental inlining when replay compiling a method if the original compilation of the method was also incrementally inlined. We write a new value when dumping the inline tree to indicate if an inlinee was incrementally inlined (`= 1`) or not (`= 0`). 

To implement this, I updated the `REPLAY_VERSION` to 2 and additionally added a test to verify that old replay file versions are still working. I added some support to modify/remove version numbers of generated replay files in tests. I also refactored the test added by JDK-8275868 to reuse some of the methods.

Thanks,
Christian

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

Commit messages:
 - adapt patch to use new replay file version number
 - 8254108: ciReplay: Support incremental inlining

Changes: https://git.openjdk.java.net/jdk/pull/6413/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=6413&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8254108
  Stats: 626 lines in 8 files changed: 452 ins; 132 del; 42 mod
  Patch: https://git.openjdk.java.net/jdk/pull/6413.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/6413/head:pull/6413

PR: https://git.openjdk.java.net/jdk/pull/6413


More information about the hotspot-compiler-dev mailing list