[pypy-svn] r58578 - pypy/branch/gc-experiments/pypy/rpython/memory/gc
fijal at codespeak.net
fijal at codespeak.net
Thu Oct 2 22:43:56 CEST 2008
Author: fijal
Date: Thu Oct 2 22:43:55 2008
New Revision: 58578
Modified:
pypy/branch/gc-experiments/pypy/rpython/memory/gc/markcompact.py
Log:
Fix
Modified: pypy/branch/gc-experiments/pypy/rpython/memory/gc/markcompact.py
==============================================================================
--- pypy/branch/gc-experiments/pypy/rpython/memory/gc/markcompact.py (original)
+++ pypy/branch/gc-experiments/pypy/rpython/memory/gc/markcompact.py Thu Oct 2 22:43:55 2008
@@ -174,7 +174,8 @@
self._trace_and_mark()
self.to_see.delete()
finaladdr = self.update_forward_pointers(toaddr)
- if self.run_finalizers.non_empty():
+ if (self.run_finalizers.non_empty() or
+ self.objects_with_finalizers.non_empty()):
self.update_run_finalizers()
if self.objects_with_weakrefs.non_empty():
self.invalidate_weakrefs()
More information about the Pypy-commit
mailing list