[pypy-svn] r79335 - pypy/branch/jit-free/pypy/translator

arigo at codespeak.net arigo at codespeak.net
Mon Nov 22 11:58:02 CET 2010


Author: arigo
Date: Mon Nov 22 11:58:01 2010
New Revision: 79335

Modified:
   pypy/branch/jit-free/pypy/translator/driver.py
Log:
* Rename gc-collect-task into translation-task.

* A (commented out) way to dump the heap after each step,
  provided we are running on pypy.


Modified: pypy/branch/jit-free/pypy/translator/driver.py
==============================================================================
--- pypy/branch/jit-free/pypy/translator/driver.py	(original)
+++ pypy/branch/jit-free/pypy/translator/driver.py	Mon Nov 22 11:58:01 2010
@@ -288,7 +288,7 @@
             return
         else:
             self.log.info("%s..." % title)
-        debug_print_once('gc-collect-task', 'starting', goal)
+        debug_print_once('translation-task', 'starting', goal)
         self.timer.start_event(goal)
         try:
             instrument = False
@@ -311,6 +311,7 @@
                 raise
             except:
                 pass
+        #import gc; gc.dump_rpy_heap('rpyheap-after-%s.dump' % goal)
         return res
 
     def task_annotate(self):



More information about the Pypy-commit mailing list