Author: Remi Meier
Branch:
Changeset: r964:f14b4b47b93a
Date: 2014-03-05 17:10 +0100
http://bitbucket.org/pypy/stmgc/changeset/f14b4b47b93a/
Log: we should free those lists too in
abort_data_structures_from_segment_num
diff --git a/c7/stm/core.c b/c7/stm/core.c
--- a/c7/stm/core.c
+++ b/c7/stm/core.c
@@ -473,6 +473,10 @@
stm_thread_local_t *tl = pseg->pub.running_thread;
tl->shadowstack = pseg->shadowstack_at_start_of_transaction;
tl->thread_local_obj = pseg->threadlocal_at_start_of_transaction;
+
+ /* reset these lists to NULL too on abort */
+ LIST_FREE(pseg->objects_pointing_to_nursery);
+ LIST_FREE(pseg->large_overflow_objects);
}
static void abort_with_mutex(void)
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit