RFR: 8319850: PrintInlining should print which methods are late inlines

Roland Westrelin roland at openjdk.org
Tue Nov 5 17:12:33 UTC 2024


On Tue, 5 Nov 2024 10:19:51 GMT, theoweidmannoracle <duke at openjdk.org> wrote:

> As already pointed out in the PR by @caojoshua, this does not matter for string/methodhandle/vector/boxing late inlines, as they are [only performed if ok_to_inline() returns true](https://github.com/openjdk/jdk/blob/master/src/hotspot/share/opto/doCall.cpp#L189). This is also the only call to ok_to_inline().

> The only other location, where late inline call generators are created, are calls to CallGenerator::for_late_inline_virtual(), which creates a LateInlineVirtualCallGenerator.

What about regular calls that fail to inline initially because the compiler ran out of inlining budget but are inlined later on?

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

PR Comment: https://git.openjdk.org/jdk/pull/21899#issuecomment-2457735470


More information about the hotspot-compiler-dev mailing list