Interview with InformIT part 2/3

Leandro Lucarella luca at llucax.com.ar
Thu Aug 19 14:20:49 PDT 2010


Walter Bright, el 19 de agosto a las 13:08 me escribiste:
> Leandro Lucarella wrote:
> >With the precise heap scanning patch for DMD the GC can automatically
> >pin memory, because it has enough information to differentiate between
> >real pointers and words which types are not really known, so a block can
> >be moved *only* if is only pointed to by real pointers, otherwise is
> >pinned because we can't update the words with unknown type if we moved
> >that block.
> 
> I know. That's how a mostly copying collector works.

If you know, I guess you agree on the utility of the patch and the
impossibility of implementing a mostly moving collector in D, so I hope
you apply the patch eventually =)

-- 
Leandro Lucarella (AKA luca)                     http://llucax.com.ar/
----------------------------------------------------------------------
GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145  104C 949E BFB6 5F5A 8D05)
----------------------------------------------------------------------
Hey you, standing in the road
always doing what you're told,
Can you help me?


More information about the Digitalmars-d-announce mailing list