summaryrefslogtreecommitdiffstats
path: root/INSTALL
diff options
context:
space:
mode:
authorJason Evans <je@fb.com>2012-02-13 22:30:52 (GMT)
committerJason Evans <je@fb.com>2012-02-13 23:03:59 (GMT)
commitef8897b4b938111fcc9b54725067f1dbb33a4c20 (patch)
tree46e59a294ec4b435432de0f2bd9412f5caaec9b7 /INSTALL
parent0fee70d718b9846cfab04225dc86a4b4216b963f (diff)
downloadjemalloc-ef8897b4b938111fcc9b54725067f1dbb33a4c20.zip
jemalloc-ef8897b4b938111fcc9b54725067f1dbb33a4c20.tar.gz
jemalloc-ef8897b4b938111fcc9b54725067f1dbb33a4c20.tar.bz2
Make 8-byte tiny size class non-optional.
When tiny size class support was first added, it was intended to support truly tiny size classes (even 2 bytes). However, this wasn't very useful in practice, so the minimum tiny size class has been limited to sizeof(void *) for a long time now. This is too small to be standards compliant, but other commonly used malloc implementations do not even bother using a 16-byte quantum on systems with vector units (SSE2+, AltiVEC, etc.). As such, it is safe in practice to support an 8-byte tiny size class on 64-bit systems that support 16-byte types.
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL7
1 files changed, 0 insertions, 7 deletions
diff --git a/INSTALL b/INSTALL
index a210ec5..9124ac3 100644
--- a/INSTALL
+++ b/INSTALL
@@ -90,13 +90,6 @@ any of the following arguments (not a definitive list) to 'configure':
Statically link against the specified libunwind.a rather than dynamically
linking with -lunwind.
---disable-tiny
- 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 allocations
- are 4-byte-aligned.
-
--disable-tcache
Disable thread-specific caches for small objects. Objects are cached and
released in bulk, thus reducing the total number of mutex operations. See