Author: Remi Meier <meier...@student.ethz.ch> Branch: Changeset: r338:2040cea49c77 Date: 2013-07-02 12:23 +0200 http://bitbucket.org/pypy/stmgc/changeset/2040cea49c77/
Log: this assert can fail diff --git a/c4/nursery.c b/c4/nursery.c --- a/c4/nursery.c +++ b/c4/nursery.c @@ -44,7 +44,11 @@ void stmgc_done_nursery(void) { struct tx_descriptor *d = thread_descriptor; - assert(!minor_collect_anything_to_do(d)); + /* someone may have called minor_collect_soon() + inbetween the preceeding minor_collect() and + this assert (committransaction() -> + updatechainheads() -> stub_malloc() -> ...): */ + /* assert(!minor_collect_anything_to_do(d)); */ stm_free(d->nursery_base, GC_NURSERY); gcptrlist_delete(&d->old_objects_to_trace); _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit