[glib] Fix make check



commit ef5d4d55fe76b71edaf83999ca7408121a5439fa
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun May 1 17:07:46 2011 -0400

    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 files changed, 1 insertions(+), 1 deletions(-)
---
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)))



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]