Backed out changeset 4593c32d5b81 (
bug 1181142) for making XPCshell test_dmd.js fail on Windows 8 x64 debug. r=backout
--- a/memory/mozjemalloc/jemalloc.c
+++ b/memory/mozjemalloc/jemalloc.c
@@ -542,22 +542,21 @@ static const bool isthreaded = true;
* Maximum size of L1 cache line. This is used to avoid cache line aliasing,
* so over-estimates are okay (up to a point), but under-estimates will
* negatively affect performance.
*/
#define CACHELINE_2POW 6
#define CACHELINE ((size_t)(1U << CACHELINE_2POW))
/*
- * Smallest size class to support. On Windows the smallest allocation size
- * must be 8 bytes on 32-bit, 16 bytes on 64-bit. On Linux and Mac, even
- * malloc(1) must reserve a word's worth of memory (see Mozilla bug 691003).
+ * Smallest size class to support. On Linux and Mac, even malloc(1) must
+ * reserve a word's worth of memory (see Mozilla bug 691003).
*/
#ifdef MOZ_MEMORY_WINDOWS
-#define TINY_MIN_2POW (sizeof(void*) == 8 ? 4 : 3)
+#define TINY_MIN_2POW 1
#else
#define TINY_MIN_2POW (sizeof(void*) == 8 ? 3 : 2)
#endif
/*
* Maximum size class that is a multiple of the quantum, but not (necessarily)
* a power of 2. Above this size, allocations are rounded up to the nearest
* power of 2.