Author: wenzhuman <manwen...@gmail.com> Branch: gc_no_cleanup_nursery Changeset: r72415:eb53af1749dd Date: 2014-07-10 22:54 +0000 http://bitbucket.org/pypy/pypy/changeset/eb53af1749dd/
Log: add test case for no clean up nursery diff --git a/rpython/memory/gc/incminimark.py b/rpython/memory/gc/incminimark.py --- a/rpython/memory/gc/incminimark.py +++ b/rpython/memory/gc/incminimark.py @@ -428,7 +428,7 @@ # the nursery than really needed, to simplify pointer arithmetic # in malloc_fixedsize_clear(). The few extra pages are never used # anyway so it doesn't even count. - nursery = llarena.arena_malloc(self._nursery_memory_size(), 2) + nursery = llarena.arena_malloc(self._nursery_memory_size(), 0) if not nursery: raise MemoryError("cannot allocate nursery") return nursery _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit