harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robin Garner <robin.gar...@anu.edu.au>
Subject Re: [General VM] GC strategy:how to garbage collect short-lived objects quickly.
Date Tue, 19 Sep 2006 07:26:16 GMT
>>    What about the VMs here, drlvm or J9?
>> In a DRLVM JIT (Jitrino.OPT) there is an escape analysis prototype. It
>> detects objects that can be allocated on stack (and, hence, on
>> registers). Currently, it is switched off by default, and, when
>> enabled, it just marks the objects that are not escaped. This info is
>> never used in Jitrino.OPT yet. Sometimes, escape analyzers help, but
>> not very much :)
> It will be great if JIT can help to allocation objects on stack.
> DRLVM GC gurus will say more ;)

The JikesRVM experience was that stack allocation didn't improve 
anything, but once you can show that an object never escapes a method, 
and is 'hot', you can actually inline the fields of the object, and 
never allocate it in the first place.  This is a valuable optimization.

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