On the 0x1E4 day of Apache Harmony Alexey Varlamov wrote:
> Just a wild idea: a smart JIT could hint a GC during allocation if an
> object is expected to be short-lived so the GC could allocate it in a
> special space, 

if a JIT can prove that the object is local, it can allocate it on
stack almost without help of VM. An imprecise estimation of
short-liveness is a kind of magic. What heuristics can we use? Small
objects live shortly? :)

-- 
Egor Pasko, Intel Managed Runtime Division


---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to