[pypy-commit] stmgc default: Add abort and inevitable fprinting to stmgc too for now

arigo noreply at buildbot.pypy.org
Thu Sep 12 21:06:20 CEST 2013


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r530:111c09337109
Date: 2013-09-12 21:06 +0200
http://bitbucket.org/pypy/stmgc/changeset/111c09337109/

Log:	Add abort and inevitable fprinting to stmgc too for now

diff --git a/c4/et.c b/c4/et.c
--- a/c4/et.c
+++ b/c4/et.c
@@ -1001,6 +1001,9 @@
   stm_invoke_callbacks_on_abort(d);
   stm_clear_callbacks_on_abort(d);
 
+  /* XXX */
+  fprintf(stderr, "[%lx] abort %s\n",
+          (long)d->public_descriptor_index, abort_names[num]);
   dprintf(("\n"
           "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n"
           "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n"
@@ -1534,6 +1537,9 @@
                 (XXX statically we should know when we're outside
                 a transaction) */
 
+  /* XXX */
+  fprintf(stderr, "[%lx] inevitable: %s\n",
+           (long)d->public_descriptor_index, why);
   dprintf(("[%lx] inevitable: %s\n",
            (long)d->public_descriptor_index, why));
 


More information about the pypy-commit mailing list