summaryrefslogtreecommitdiffstats
path: root/jemalloc/INSTALL
diff options
context:
space:
mode:
authorJason Evans <jasone@canonware.com>2009-12-29 08:09:15 (GMT)
committerJason Evans <jasone@canonware.com>2009-12-29 08:09:15 (GMT)
commit84cbbcb90af44807361198baed4e74ab77715ff7 (patch)
treefa45a3486105dc359e3f5b1905e92a1af77a6c9f /jemalloc/INSTALL
parentb2378168a485b9b0f5249d904382c4b018e34308 (diff)
downloadjemalloc-84cbbcb90af44807361198baed4e74ab77715ff7.zip
jemalloc-84cbbcb90af44807361198baed4e74ab77715ff7.tar.gz
jemalloc-84cbbcb90af44807361198baed4e74ab77715ff7.tar.bz2
Convert thread-specific caching from magazines, and implement incremental GC.
Add the 'G'/'g' and 'H'/'h' MALLOC_OPTIONS flags. Add the malloc_tcache_flush() function. Disable thread-specific caching until the application goes multi-threaded.
Diffstat (limited to 'jemalloc/INSTALL')
-rw-r--r--jemalloc/INSTALL10
1 files changed, 5 insertions, 5 deletions
diff --git a/jemalloc/INSTALL b/jemalloc/INSTALL
index a7841f5..6812422 100644
--- a/jemalloc/INSTALL
+++ b/jemalloc/INSTALL
@@ -46,10 +46,10 @@ any of the following arguments (not a definitive list) to 'configure':
practice it never causes any problems if, for example, 4-byte allocations
are 4-byte-aligned.
---disable-mag
- Disable thread-specific caches for sub-page-sized objects. Objects are
- cached and released in bulk using "magazines" -- a term coined by the
- developers of Solaris's umem allocator.
+--disable-tcache
+ Disable thread-specific caches for small and medium objects. Objects are
+ cached and released in bulk, thus reducing the total number of mutex
+ operations. Use the 'H' and 'G' options to control thread-specific caching.
--enable-dss
Enable support for page allocation/deallocation via sbrk(2), in addition to
@@ -82,7 +82,7 @@ any of the following arguments (not a definitive list) to 'configure':
switches from single-threaded to multi-threaded mode, so that it can avoid
mutex locking/unlocking operations while in single-threaded mode. In
practice, this feature usually has little impact on performance unless
- magazines are disabled.
+ thread-specific caching is disabled.
The following environment variables (not a definitive list) impact configure's
behavior: