[pypy-commit] stmgc default: Increase the value of LOCKED. For some reason too large values increase the run-time significantly, but at least 99 is large enough for practical purposes here.

arigo noreply at buildbot.pypy.org
Tue Aug 20 21:35:13 CEST 2013


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r487:7acf528af898
Date: 2013-08-20 21:35 +0200
http://bitbucket.org/pypy/stmgc/changeset/7acf528af898/

Log:	Increase the value of LOCKED. For some reason too large values
	increase the run-time significantly, but at least 99 is large enough
	for practical purposes here.

diff --git a/checkfence/c4/test1.c b/checkfence/c4/test1.c
--- a/checkfence/c4/test1.c
+++ b/checkfence/c4/test1.c
@@ -2,7 +2,7 @@
 
 
 #define PREBUILT_FLAGS     0
-#define LOCKED             5
+#define LOCKED            99
 
 typedef int revision_t;
 


More information about the pypy-commit mailing list