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.

Reply via email to