Am 03.04.2011 17:38, schrieb Kresten Krab Thorup:
So. If method handles or something else disables this optimization, or makes it more expensive then perhaps we should consider adding a hint/ annotation to the vm saying "it may make sense to inline this". but I would think that that is exactly the kind of assessment that the vm can do better than static knowledge allows.
I am wondering... in what case does it *not* make sense to inline? I mean I can imagine reasons like certain limitations, but in the end... Does anyone know?
bye Jochen -- Jochen "blackdrag" Theodorou The Groovy Project Tech Lead http://blackdragsview.blogspot.com/ For Groovy programming sources visit http://groovy.codehaus.org -- You received this message because you are subscribed to the Google Groups "JVM Languages" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/jvm-languages?hl=en.
