Author: Armin Rigo <ar...@tunes.org> Branch: c7-more-segments Changeset: r1036:93b0deba3f1f Date: 2014-03-16 11:02 +0100 http://bitbucket.org/pypy/stmgc/changeset/93b0deba3f1f/
Log: Fixes diff --git a/c7/stm/gcpage.c b/c7/stm/gcpage.c --- a/c7/stm/gcpage.c +++ b/c7/stm/gcpage.c @@ -525,8 +525,7 @@ LIST_FREE(mark_objects_to_trace); /* weakrefs: */ - if (0)//XXX - stm_visit_old_weakrefs(); + stm_visit_old_weakrefs(); /* cleanup */ clean_up_segment_lists(); diff --git a/c7/test/test_weakref.py b/c7/test/test_weakref.py --- a/c7/test/test_weakref.py +++ b/c7/test/test_weakref.py @@ -279,7 +279,7 @@ stm_write(lp0) # privatize page with weakref in it too - assert stm_get_page_flag(stm_get_obj_pages(lp1)[0]) == PRIVATE_PAGE + assert stm_get_private_page(stm_get_obj_pages(lp1)[0]) != 0 assert stm_get_weakref(lp1) == lp0 self.commit_transaction() _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit