[pypy-commit] pypy lightweight-finalizers: add a delete here

fijal noreply at buildbot.pypy.org
Tue Oct 25 16:28:54 CEST 2011


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: lightweight-finalizers
Changeset: r48437:98da45c0aeb5
Date: 2011-10-25 16:28 +0200
http://bitbucket.org/pypy/pypy/changeset/98da45c0aeb5/

Log:	add a delete here

diff --git a/pypy/rpython/memory/gc/semispace.py b/pypy/rpython/memory/gc/semispace.py
--- a/pypy/rpython/memory/gc/semispace.py
+++ b/pypy/rpython/memory/gc/semispace.py
@@ -492,6 +492,7 @@
             else:
                 finalizer = self.getfinalizer(self.get_type_id(obj))
                 finalizer(obj, llmemory.NULL)
+        self.objects_with_light_finalizers.delete()
         self.objects_with_light_finalizers = new_objects
 
     def deal_with_objects_with_finalizers(self, scan):


More information about the pypy-commit mailing list