[pypy-commit] stmgc c8-new-page-handling: probably fix go_to_the_past

Raemi noreply at buildbot.pypy.org
Wed Sep 24 14:21:24 CEST 2014


Author: Remi Meier <remi.meier at inf.ethz.ch>
Branch: c8-new-page-handling
Changeset: r1421:a7f16e60a0c6
Date: 2014-09-24 14:21 +0200
http://bitbucket.org/pypy/stmgc/changeset/a7f16e60a0c6/

Log:	probably fix go_to_the_past

diff --git a/c8/stm/core.c b/c8/stm/core.c
--- a/c8/stm/core.c
+++ b/c8/stm/core.c
@@ -88,8 +88,8 @@
 
     /* XXXXXXX Recursive algo for now, fix this! */
     if (from != to) {
-        struct stm_commit_log_entry_s *cl = from->next;
-        go_to_the_past(pagenum, cl, to);
+        struct stm_commit_log_entry_s *cl = to->next;
+        go_to_the_past(pagenum, from, cl);
 
         struct stm_undo_s *undo = cl->written;
         struct stm_undo_s *end = cl->written + cl->written_count;


More information about the pypy-commit mailing list