RFR: 8320237 C2: late inlining of method handle invoke causes duplicate lines in PrintInlining output [v2]

Kangcheng Xu kxu at openjdk.org
Wed Jan 10 16:37:44 UTC 2024


> This PR resolves [JDK-8320237](https://bugs.openjdk.org/browse/JDK-8320237)
> 
> The original behavior produces both a failure and success message upon late inlining which is confusing. The patch removes the failure message if inlining was successful. Huge thanks to @rwestrel for reporting and working out a solution.
> 
> Unit test `test/hotspot/jtreg/compiler/inlining/TestDuplicatedLateInliningOutput.java` is added and passing.

Kangcheng Xu has updated the pull request incrementally with one additional commit since the last revision:

  fix VM crashes

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/17147/files
  - new: https://git.openjdk.org/jdk/pull/17147/files/3e53d03a..94d78fa1

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

  Stats: 3 lines in 1 file changed: 2 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/17147.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/17147/head:pull/17147

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


More information about the hotspot-compiler-dev mailing list