[pypy-svn] r51432 - pypy/dist/pypy/translator/c

arigo at codespeak.net arigo at codespeak.net
Wed Feb 13 13:35:21 CET 2008


Author: arigo
Date: Wed Feb 13 13:35:20 2008
New Revision: 51432

Modified:
   pypy/dist/pypy/translator/c/gc.py
Log:
I *think* that the explicit call to GC_invoke_finalizers() here
was not needed.  Now it goes in the way of the recursion protection
introduced in r51431.


Modified: pypy/dist/pypy/translator/c/gc.py
==============================================================================
--- pypy/dist/pypy/translator/c/gc.py	(original)
+++ pypy/dist/pypy/translator/c/gc.py	Wed Feb 13 13:35:20 2008
@@ -208,7 +208,7 @@
         return boehm.convert_weakref_to(ptarget)
 
     def OP_GC__COLLECT(self, funcgen, op):
-        return 'GC_gcollect(); GC_invoke_finalizers();'
+        return 'GC_gcollect();'
 
     def OP_GC_SET_MAX_HEAP_SIZE(self, funcgen, op):
         nbytes = funcgen.expr(op.args[0])



More information about the Pypy-commit mailing list