RFR: 8254108: ciReplay: Support incremental inlining [v2]

Christian Hagedorn chagedorn at openjdk.java.net
Wed Nov 17 16:17:21 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

Christian Hagedorn has updated the pull request incrementally with one additional commit since the last revision:

  update comments, should_delay and parsing inline_late, fix test if run with -XX:+AlwaysIncrementalInline

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/6413/files
  - new: https://git.openjdk.java.net/jdk/pull/6413/files/ea35d316..0f6b2048

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=6413&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=6413&range=00-01

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