[pypy-commit] stmgc default: Run the spinloop up to 1'000'000 times, it seems that 1'000 times is not enough...

arigo noreply at buildbot.pypy.org
Thu Jun 20 16:16:02 CEST 2013


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r211:754c9140a2c0
Date: 2013-06-20 16:15 +0200
http://bitbucket.org/pypy/stmgc/changeset/754c9140a2c0/

Log:	Run the spinloop up to 1'000'000 times, it seems that 1'000 times is
	not enough...

diff --git a/c4/demo2.c b/c4/demo2.c
--- a/c4/demo2.c
+++ b/c4/demo2.c
@@ -105,7 +105,7 @@
                  stm_read_barrier((gcptr)r_next))) {
             asm volatile ("pause":::"memory");  /* smp_spinloop() */
             i++;
-            assert(i < 1000);
+            assert(i < 1000000);
         }
         // for now:
         assert(((nodeptr)stm_read_barrier((gcptr)r_prev->next))->value 


More information about the pypy-commit mailing list