Interview with InformIT part 2/3

Walter Bright newshound2 at digitalmars.com
Thu Aug 19 13:08:41 PDT 2010


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.


More information about the Digitalmars-d-announce mailing list