[lworld] RFR: object methods in VM for lworld value type

John Rose john.r.rose at oracle.com
Thu May 10 20:39:16 UTC 2018


On May 10, 2018, at 1:19 PM, Frederic Parain <frederic.parain at oracle.com> wrote:
> 
> In fact each mark word is saved at the beginning of the relocation phase and
> restored at the end. Any bit or pattern put in the mark word would be preserved across recycling
> phases of the TLVB.

OK, so using the mark word even in TLVBs is an option we can keep in our pocket.

It seems to me that we *don't* use the mark word at all for TLVB values except in
the way you note.  If that's the case, then (a) you don't need to save and restore
the mark words, you can just reset them after the relocation phase, and/or (b) you
can use the mark word as scratch for other purposes.  I can't think of any such
purposes, though.




More information about the valhalla-dev mailing list