Author: Armin Rigo <[email protected]>
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:
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to