45 points · by LiveTheDream · 15y ago · 3 comments
The more people use invokedynamic, the more the compiler people are going to look at it. Not to mention that the current way things are done (at least in JRuby), the compiler basically hits a wall in a lot of cases because it can't decide what to inline and where to get it. Invokedynamic will (with a bit of VM magic) make those optimizations a lot easier for the compiler to do.
Java isn't a consumer of invokedynamic
is only true currently and is likely to
change in the future.
Well, I can only speak about the present. I definitely hope that invokedynamic (and based on the comments to the post itself, this appears to be the thinking) is consumed by Java as such a scenario eliminates that particular misgiving.