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

Tobias Hartmann thartmann at openjdk.org
Mon Jan 22 08:28:32 UTC 2024


On Wed, 10 Jan 2024 16:37:44 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.
>
> Kangcheng Xu has updated the pull request incrementally with one additional commit since the last revision:
> 
>   fix VM crashes

Yes, `-XX:+UseZGC -XX:+ZGenerational` were passed via jtreg. The failure seems to be intermittent as it happened only once with a debug build on Windows x64.

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

PR Comment: https://git.openjdk.org/jdk/pull/17147#issuecomment-1903478559


More information about the hotspot-compiler-dev mailing list