general inlining
Christian Thalinger
Christian.Thalinger at Sun.COM
Wed Feb 17 05:48:35 PST 2010
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
More information about the mlvm-dev
mailing list