Inlining methods with large switch statements

Vitaly Davidovich vitalyd at gmail.com
Thu May 28 14:15:18 UTC 2015


Hi guys,

C2 will fail to inline hot methods over FreqInlineSize that contain a large
dense switch statement.  The actual machine code here uses a jump table so
native size is small and I'd expect inlining.

Is this something that can be handled better?

Thanks

sent from my phone
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/attachments/20150528/55361bb9/attachment.html>


More information about the hotspot-compiler-dev mailing list