[Vm-dev] [Spur] endless recursion in forward become

tim Rowledge tim at rowledge.org
Wed Jun 22 16:53:22 UTC 2016


> On 22-06-2016, at 6:44 AM, Eliot Miranda <eliot.miranda at gmail.com> wrote:
> 
> Become is lazy; the two objects are turned into forwarders to copies of each other.  If the two objects have the same byte size as heap objects (rounded up to 8 byte units) their contents can be exchanged.  If they are not, two copies must be created and the two originals turned into forwarders to the copies.  Remember the slides from my Cambridge talk.

I could have sworn that you had added the “copy the small one into the big one’s space” optimisation. Maybe it was only added to the list of "things to do".

tim
--
tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
I'm so skeptical that I'm not sure I'm really a skeptic




More information about the Vm-dev mailing list