[Vm-dev] Frequency of stores into young objects
bera.clement at gmail.com
Mon Jul 25 14:35:29 UTC 2016
We changed recently with Eliot some part of the JIT to generate more
efficient code for young objects mutation, speeding up a bit binary trees,
especially when read-only objects are available. We did it only for quick
inst var stores (popIntoInstanceVariable for inst var index between 0 and 7
on non context objects) as it was easier to narrow the optimization to this
case and it is the most common case.
When starting-up a REPL image, there are 7221 mutations of objects through
the quick inst var store bytecode, and 7082 are done on young objects.
Hence, 98% of mutations for these bytecodes are done on young objects.
Has anyone numbers from papers / large application on how many stores are
done on young objects compared to stores done on old objects ? Does 98%
sound reasonable ?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Vm-dev