[pypy-commit] pypy stmgc-c7: A possible transaction break must reset the heapcache.

arigo noreply at buildbot.pypy.org
Thu Mar 26 09:42:02 CET 2015


Author: Armin Rigo <arigo at tunes.org>
Branch: stmgc-c7
Changeset: r76566:034b2f461fb9
Date: 2015-03-26 09:22 +0100
http://bitbucket.org/pypy/pypy/changeset/034b2f461fb9/

Log:	A possible transaction break must reset the heapcache.

diff --git a/rpython/jit/metainterp/pyjitpl.py b/rpython/jit/metainterp/pyjitpl.py
--- a/rpython/jit/metainterp/pyjitpl.py
+++ b/rpython/jit/metainterp/pyjitpl.py
@@ -214,6 +214,7 @@
             resbox = history.BoxInt(0)
             record_break = True
 
+        self.metainterp.heapcache.reset()
         rstm.possible_transaction_break(0)
 
         if record_break:


More information about the pypy-commit mailing list