RFR: 8320237 C2: late inlining of method handle invoke causes duplicate lines in PrintInlining output
Vladimir Kozlov
kvn at openjdk.org
Tue Jan 9 20:21:21 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 too.
-------------
Marked as reviewed by kvn (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/17147#pullrequestreview-1811918664
More information about the hotspot-compiler-dev
mailing list