[pypy-commit] stmgc c7-refactor: lists can move
Remi Meier
noreply at buildbot.pypy.org
Wed Feb 26 15:11:39 CET 2014
Author: Remi Meier
Branch: c7-refactor
Changeset: r872:335565ce1aae
Date: 2014-02-26 15:11 +0100
http://bitbucket.org/pypy/stmgc/changeset/335565ce1aae/
Log: lists can move
diff --git a/c7/stm/nursery.c b/c7/stm/nursery.c
--- a/c7/stm/nursery.c
+++ b/c7/stm/nursery.c
@@ -183,6 +183,9 @@
else
LIST_APPEND(STM_PSEGMENT->large_overflow_objects, obj);
}
+
+ /* the list could have moved while appending */
+ lst = STM_PSEGMENT->objects_pointing_to_nursery;
}
}
More information about the pypy-commit
mailing list