[pypy-commit] pypy gc_no_cleanup_nursery: add test case for no clean up nursery
wenzhuman
noreply at buildbot.pypy.org
Fri Jul 11 04:57:26 CEST 2014
Author: wenzhuman <manwenzhu at 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
More information about the pypy-commit
mailing list