diff options
author | Jason Evans <je@facebook.com> | 2010-02-10 18:37:56 (GMT) |
---|---|---|
committer | Jason Evans <je@facebook.com> | 2010-02-10 18:37:57 (GMT) |
commit | 6109fe07a14b7a619365977d9523db9f8b333792 (patch) | |
tree | 61f2ead6e27cc38ae536f5cadf34497eae76cfc4 /jemalloc/INSTALL | |
parent | 13668262d17fb5950e2441bc9d56a15db9c93877 (diff) | |
download | jemalloc-6109fe07a14b7a619365977d9523db9f8b333792.zip jemalloc-6109fe07a14b7a619365977d9523db9f8b333792.tar.gz jemalloc-6109fe07a14b7a619365977d9523db9f8b333792.tar.bz2 |
Implement allocation profiling and leack checking.
Add the --enable-prof and --enable-prof-libunwind configure options.
Add the B/b, F/f, I/i, L/l, and U/u JEMALLOC_OPTIONS.
Interval-based profile dump triggering is not yet implemented.
Add supporting generic code:
* Add memory barriers.
* Add prn (LCG PRNG).
* Add hash (Murmur hash function).
* Add ckh (cuckoo hash tables).
Diffstat (limited to 'jemalloc/INSTALL')
-rw-r--r-- | jemalloc/INSTALL | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/jemalloc/INSTALL b/jemalloc/INSTALL index 66c0c74..057d8d5 100644 --- a/jemalloc/INSTALL +++ b/jemalloc/INSTALL @@ -44,6 +44,17 @@ any of the following arguments (not a definitive list) to 'configure': Enable statistics gathering functionality. Use the 'P' option to print detailed allocation statistics at exit. +--enable-prof + Enable heap profiling and leak detection functionality. Use the 'B', 'F', + 'I', 'L', and 'U' options to control these features. + +--enable-prof-libunwind + Use the libunwind library (http://www.nongnu.org/libunwind/) for stack + backtracing, rather than frame pointers. libunwind is quite slow in + comparison to frame pointer-based backtracing, but it has the advantage of + working on applications/libraries that were compiled with + -fomit-frame-pointer. + --disable-tiny Disable tiny (sub-quantum-sized) object support. Technically it is not legal for a malloc implementation to allocate objects with less than |