[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> On 25/03/2004, at 9:01 PM, Leopold Toetsch wrote:

>> All these generational collectors don't work with Parrot objects. We
>> guarantee that objects don't move around.

> Oh, I didn't see a mention of this in a PDD.  What's the reason for why
> you provide such a guarantee?  Just curious.

PMCs are passed on to (external) C code. When inmidst of C code the
PMC moves around things break horribly--as they now break with the
copying collector when you do:

  char *c = string->strstart;
  ...
  <GC runs e.g. triggered by string_compare>
  ...
  do something with c

leo

Reply via email to