From ef5d4d55fe76b71edaf83999ca7408121a5439fa Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sun, 1 May 2011 17:07:46 -0400 Subject: [PATCH] Fix make check g_thread_init() causes a hash table to be allocated (in read_aliases). Since hash tables are now a bit larger, we need to bump one of the probe sizes to avoid our probe slice being used for the aliases hash table. --- tests/slice-threadinit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/slice-threadinit.c b/tests/slice-threadinit.c index 5c44075..f29dcbe 100644 --- a/tests/slice-threadinit.c +++ b/tests/slice-threadinit.c @@ -23,7 +23,7 @@ #define N_PAGES (101) /* number of pages to sample */ #define SAMPLE_SIZE (7) #define PAGE_SIZE (128) /* must be <= minimum GSlice alignment block */ -#define MAGAZINE_PROBES { 81, 265, 347 } /* block sizes hopefully unused by g_thread_init */ +#define MAGAZINE_PROBES { 97, 265, 347 } /* block sizes hopefully unused by g_thread_init */ #define MAX_PROBE_TRIALS (1031) /* must be >= maximum magazine size */ #define ALIGN(size, base) ((base) * (gsize) (((size) + (base) - 1) / (base))) -- 2.7.4