On 02/16/10 07:04 PM, Raffaello Giulietti wrote: > I asked because this kind of inlining seems quite clever to my > uneducated eyes. Inlining, in m() or at other call sites, only a part of > ensureSomething() while skipping the other heavier part and morphing it > to another callable method appears quite a wonder without hints from > part of the programmer in form of objects like method handles and the > guarded counterparts. Kudos to the implementors!
It's not that complicated if you have call profiles :-) But I admit that inlining heuristics could be even better in HotSpot. -- Christian _______________________________________________ mlvm-dev mailing list mlvm-dev@openjdk.java.net http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev