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

Kangcheng Xu kxu at openjdk.org
Tue Feb 6 14:41:03 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.

This pull request has now been integrated.

Changeset: 51d7169b
Author:    Kangcheng Xu <kxu at openjdk.org>
Committer: Roland Westrelin <roland at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/51d7169bd9c6f57999d9f93da301672c1a115e71
Stats:     189 lines in 2 files changed: 189 ins; 0 del; 0 mod

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

Reviewed-by: roland, kvn, thartmann

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

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


More information about the hotspot-compiler-dev mailing list