From a9b0125e975b2531829ca827cb7b75ce14dbff82 Mon Sep 17 00:00:00 2001 From: Jason Evans Date: Fri, 26 Jun 2009 16:34:13 -0700 Subject: [PATCH] Minor documentation and comment cleanups. --- jemalloc/INSTALL | 2 +- jemalloc/src/jemalloc.c | 23 +++++++++++++++++------ 2 files changed, 18 insertions(+), 7 deletions(-) diff --git a/jemalloc/INSTALL b/jemalloc/INSTALL index 1320ba9f..5ed4ee5e 100644 --- a/jemalloc/INSTALL +++ b/jemalloc/INSTALL @@ -39,7 +39,7 @@ any of the following arguments (not a definitive list) to 'configure': Disable tiny (sub-quantum-sized) object support. Technically it is not legal for a malloc implementation to allocate objects with less than quantum alignment (8 or 16 bytes, depending on architecture), but in - practice it never causes any problems if, for example, 4-byte allocationsj + practice it never causes any problems if, for example, 4-byte allocations are 4-byte-aligned. --disable-mag diff --git a/jemalloc/src/jemalloc.c b/jemalloc/src/jemalloc.c index 65ce18ef..2ed9491d 100644 --- a/jemalloc/src/jemalloc.c +++ b/jemalloc/src/jemalloc.c @@ -680,14 +680,25 @@ struct arena_s { * 3 | 16 | * 4 | 32 | * 5 | 48 | - * 6 | 64 | * : : - * : : - * 33 | 496 | - * 34 | 512 | + * 8 | 96 | + * 9 | 112 | + * 10 | 128 | * --------+------+ - * 35 | 1024 | - * 36 | 2048 | + * 11 | 192 | + * 12 | 256 | + * 13 | 320 | + * 14 | 384 | + * 15 | 448 | + * 16 | 512 | + * --------+------+ + * 17 | 768 | + * 18 | 1024 | + * 19 | 1280 | + * : : + * 27 | 3328 | + * 28 | 3584 | + * 29 | 3840 | * --------+------+ */ arena_bin_t bins[1]; /* Dynamically sized. */