[pypy-commit] stmgc default: Add a missing thing about the major gc

arigo noreply at buildbot.pypy.org
Sun Mar 2 10:48:46 CET 2014


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r920:0fb6c73d7b5a
Date: 2014-03-02 10:48 +0100
http://bitbucket.org/pypy/stmgc/changeset/0fb6c73d7b5a/

Log:	Add a missing thing about the major gc

diff --git a/c7/stm/gcpage.c b/c7/stm/gcpage.c
--- a/c7/stm/gcpage.c
+++ b/c7/stm/gcpage.c
@@ -403,6 +403,9 @@
     clean_write_locks();
     major_set_write_locks();
 
+    /* XXX should re-share pages if possible; and each re-sharing
+       decreases total_allocated by 4096 */
+
     dprintf((" | used after collection:  %ld\n",
              (long)pages_ctl.total_allocated));
     dprintf((" `----------------------------------------------\n"));


More information about the pypy-commit mailing list