[pypy-commit] stmgc default: Fix
arigo
noreply at buildbot.pypy.org
Sat Jun 15 22:51:07 CEST 2013
Author: Armin Rigo <arigo at tunes.org>
Branch:
Changeset: r140:b429233c5724
Date: 2013-06-15 22:50 +0200
http://bitbucket.org/pypy/stmgc/changeset/b429233c5724/
Log: Fix
diff --git a/c4/nursery.c b/c4/nursery.c
--- a/c4/nursery.c
+++ b/c4/nursery.c
@@ -266,12 +266,14 @@
/* acquire the "collection lock" first */
setup_minor_collect(d);
+ /* first do this, which asserts that some objects are private ---
+ which fails if they have already been GCFLAG_NURSERY_MOVED */
+ mark_public_to_young(d);
+
mark_young_roots(d);
mark_private_from_protected(d);
- mark_public_to_young(d);
-
visit_all_outside_objects(d);
#if 0
fix_list_of_read_objects(d);
More information about the pypy-commit
mailing list