RFR: 8320237 C2: late inlining of method handle invoke causes duplicate lines in PrintInlining output
Tobias Hartmann
thartmann at openjdk.org
Wed Jan 10 08:09: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.
Please do not sponsor this yet. We see various test failures. I'll follow-up shortly.
-------------
Changes requested by thartmann (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/17147#pullrequestreview-1812622680
More information about the hotspot-compiler-dev
mailing list