Author: Armin Rigo <[email protected]>
Branch:
Changeset: r145:293c7843ae68
Date: 2013-06-16 12:40 +0200
http://bitbucket.org/pypy/stmgc/changeset/293c7843ae68/
Log: Fix
diff --git a/c4/steal.c b/c4/steal.c
--- a/c4/steal.c
+++ b/c4/steal.c
@@ -224,6 +224,10 @@
must appear in list_of_read_objects */
fprintf(stderr, "n.readobj: %p\n", B);
gcptrlist_insert(&d->list_of_read_objects, B);
+
+ /* must also list it here, in case the next minor collect moves it */
+ if (!(L->h_tid & GCFLAG_OLD))
+ gcptrlist_insert(&d->public_with_young_copy, B);
}
gcptrlist_clear(&d->public_descriptor->stolen_objects);
}
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit