Author: Remi Meier <remi.me...@gmail.com>
Branch: stmgc-c4
Changeset: r67846:4fa6e3b8b4db
Date: 2013-11-05 09:55 +0100
http://bitbucket.org/pypy/pypy/changeset/4fa6e3b8b4db/

Log:    push gc roots around stm_set_transaction_length and
        stm_inspect_abort_info too

diff --git a/rpython/memory/gctransform/stmframework.py 
b/rpython/memory/gctransform/stmframework.py
--- a/rpython/memory/gctransform/stmframework.py
+++ b/rpython/memory/gctransform/stmframework.py
@@ -97,11 +97,13 @@
         self.default(hop)
         self.pop_roots(hop, livevars)
 
-    gct_stm_become_inevitable   = _gct_with_roots_pushed
-    gct_stm_stop_all_other_threads   = _gct_with_roots_pushed
-    gct_stm_partial_commit_and_resume_other_threads  = _gct_with_roots_pushed
-    gct_stm_perform_transaction = _gct_with_roots_pushed
-    gct_stm_allocate_nonmovable_int_adr = _gct_with_roots_pushed
+    gct_stm_become_inevitable                       = _gct_with_roots_pushed
+    gct_stm_set_transaction_length                  = _gct_with_roots_pushed
+    gct_stm_stop_all_other_threads                  = _gct_with_roots_pushed
+    gct_stm_partial_commit_and_resume_other_threads = _gct_with_roots_pushed
+    gct_stm_perform_transaction                     = _gct_with_roots_pushed
+    gct_stm_allocate_nonmovable_int_adr             = _gct_with_roots_pushed
+    gct_stm_inspect_abort_info                      = _gct_with_roots_pushed
 
 
 class StmRootWalker(BaseRootWalker):
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to