Armin Rigo  committed cee7f38

Initially clearing the nursery: this was lost during the merge.

  • Participants
  • Parent commits 94c13bd
  • Branches 32ptr-on-64bit

Comments (0)

Files changed (1)

File pypy/rpython/memory/gc/

         # 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 =
+        fullsize = self._nursery_memory_size()
+        nursery =
         if not nursery:
             raise MemoryError("cannot allocate nursery")
+        llarena.arena_reset(nursery, fullsize, 2)
         return nursery
     def allocate_nursery(self):