harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Geir Magnusson Jr." <g...@pobox.com>
Subject Re: [General VM] GC strategy:how to garbage collect short-lived objects quickly.
Date Thu, 14 Sep 2006 06:04:35 GMT

Egor Pasko wrote:
> 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? :)

I've often thought about this.  I thought hardware support was needed to 
make this efficient.


Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org

View raw message