RFR: 8350617: Improve MethodHandles.tableSwitch and remove intrinsicData

Jorn Vernee jvernee at openjdk.org
Tue Mar 4 14:32:54 UTC 2025


On Tue, 4 Mar 2025 14:17:59 GMT, Chen Liang <liach at openjdk.org> wrote:

> The LambdaForm will be only used for non-customized bytecode (which cannot fully inline anyways)

True, without customization the cases holder in the current implementation will not be a constant, so we can never inline the cases for shared LFs. However, I think if the root MH in a chain is customized, we would still get inlining, whereas with the new implementation we don't, as we skipped generating the intrinsic...

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

PR Comment: https://git.openjdk.org/jdk/pull/23763#issuecomment-2697820353


More information about the core-libs-dev mailing list