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

Roland Westrelin roland at openjdk.org
Tue Jan 9 07:46:22 UTC 2024


On Mon, 18 Dec 2023 15:28:47 GMT, Kangcheng Xu <kxu at openjdk.org> wrote:

> 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.

Looks good to me.

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

Marked as reviewed by roland (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/17147#pullrequestreview-1810562097


More information about the hotspot-compiler-dev mailing list