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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]