From eb81034355461d8be8656d8d42ec7d1cbca5944b Mon Sep 17 00:00:00 2001 From: Richard Brooksby Date: Tue, 22 May 2012 16:30:35 +0100 Subject: [PATCH] Disabling address probing test for 64-bit platforms until we design a better one. Copied from Perforce Change: 178282 ServerID: perforce.ravenbrook.com --- mps/code/amcss.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mps/code/amcss.c b/mps/code/amcss.c index 277ffca434a..b1a0d5e4e6b 100644 --- a/mps/code/amcss.c +++ b/mps/code/amcss.c @@ -221,7 +221,7 @@ static void *test(void *arg, size_t s) printf("%lu objects (mps_collections says: %lu)\n", objs, c); /* test mps_arena_has_addr */ - { + if (sizeof(mps_addr_t) == 4) { /* @@@@ W3I6MV This test is bogus for 64-bit address space. */ size_t hitRatio; int hitsWanted = 4; /* aim for 4 hits (on average) */ /* [Note: The for-loop condition used to be "i < 4 * hitRatio",