gperftools/docs
Todd Lipcon db98aac55a Add a central free list for kMaxPages-sized spans
Previously, the central free list with index '0' was always unused,
since freelist index 'i' tracked spans of length 'i' and there are no
spans of length 0. This meant that there was no freelist for spans of
length 'kMaxPages'. In the default configuration, this corresponds to
1MB, which is a relatively common allocation size in a lot of
applications.

This changes the free list indexing so that index 'i' tracks spans of
length 'i + 1', meaning that free list index 0 is now used and
freelist[kMaxPages - 1] tracks allocations of kMaxPages size (1MB by
default).

This also fixes the stats output to indicate '>128' for the large spans
stats rather than the incorrect '>255' which must have referred to a
historical value of kMaxPages.

No new tests are added since this code is covered by existing tests.
2018-03-17 09:46:28 -07:00
..
cpuprofile-fileformat.html doc -> docs, with symlink 2016-11-19 15:04:43 -08:00
cpuprofile.html doc -> docs, with symlink 2016-11-19 15:04:43 -08:00
designstyle.css doc -> docs, with symlink 2016-11-19 15:04:43 -08:00
heap_checker.html doc -> docs, with symlink 2016-11-19 15:04:43 -08:00
heap-example1.png doc -> docs, with symlink 2016-11-19 15:04:43 -08:00
heapprofile.html Document HEAPPROFILESIGNAL environment variable 2017-05-29 15:04:00 -07:00
index.html doc -> docs, with symlink 2016-11-19 15:04:43 -08:00
overview.dot doc -> docs, with symlink 2016-11-19 15:04:43 -08:00
overview.gif doc -> docs, with symlink 2016-11-19 15:04:43 -08:00
pageheap.dot Add a central free list for kMaxPages-sized spans 2018-03-17 09:46:28 -07:00
pageheap.gif Add a central free list for kMaxPages-sized spans 2018-03-17 09:46:28 -07:00
pprof_remote_servers.html doc -> docs, with symlink 2016-11-19 15:04:43 -08:00
pprof-test-big.gif doc -> docs, with symlink 2016-11-19 15:04:43 -08:00
pprof-test.gif doc -> docs, with symlink 2016-11-19 15:04:43 -08:00
pprof-vsnprintf-big.gif doc -> docs, with symlink 2016-11-19 15:04:43 -08:00
pprof-vsnprintf.gif doc -> docs, with symlink 2016-11-19 15:04:43 -08:00
pprof.1 doc -> docs, with symlink 2016-11-19 15:04:43 -08:00
pprof.see_also doc -> docs, with symlink 2016-11-19 15:04:43 -08:00
spanmap.dot doc -> docs, with symlink 2016-11-19 15:04:43 -08:00
spanmap.gif doc -> docs, with symlink 2016-11-19 15:04:43 -08:00
t-test1.times.txt doc -> docs, with symlink 2016-11-19 15:04:43 -08:00
tcmalloc-opspercpusec.vs.threads.64.bytes.png doc -> docs, with symlink 2016-11-19 15:04:43 -08:00
tcmalloc-opspercpusec.vs.threads.128.bytes.png doc -> docs, with symlink 2016-11-19 15:04:43 -08:00
tcmalloc-opspercpusec.vs.threads.256.bytes.png doc -> docs, with symlink 2016-11-19 15:04:43 -08:00
tcmalloc-opspercpusec.vs.threads.512.bytes.png doc -> docs, with symlink 2016-11-19 15:04:43 -08:00
tcmalloc-opspercpusec.vs.threads.1024.bytes.png doc -> docs, with symlink 2016-11-19 15:04:43 -08:00
tcmalloc-opspercpusec.vs.threads.2048.bytes.png doc -> docs, with symlink 2016-11-19 15:04:43 -08:00
tcmalloc-opspercpusec.vs.threads.4096.bytes.png doc -> docs, with symlink 2016-11-19 15:04:43 -08:00
tcmalloc-opspercpusec.vs.threads.8192.bytes.png doc -> docs, with symlink 2016-11-19 15:04:43 -08:00
tcmalloc-opspercpusec.vs.threads.16384.bytes.png doc -> docs, with symlink 2016-11-19 15:04:43 -08:00
tcmalloc-opspercpusec.vs.threads.32768.bytes.png doc -> docs, with symlink 2016-11-19 15:04:43 -08:00
tcmalloc-opspercpusec.vs.threads.65536.bytes.png doc -> docs, with symlink 2016-11-19 15:04:43 -08:00
tcmalloc-opspercpusec.vs.threads.131072.bytes.png doc -> docs, with symlink 2016-11-19 15:04:43 -08:00
tcmalloc-opspersec.vs.size.1.threads.png doc -> docs, with symlink 2016-11-19 15:04:43 -08:00
tcmalloc-opspersec.vs.size.2.threads.png doc -> docs, with symlink 2016-11-19 15:04:43 -08:00
tcmalloc-opspersec.vs.size.3.threads.png doc -> docs, with symlink 2016-11-19 15:04:43 -08:00
tcmalloc-opspersec.vs.size.4.threads.png doc -> docs, with symlink 2016-11-19 15:04:43 -08:00
tcmalloc-opspersec.vs.size.5.threads.png doc -> docs, with symlink 2016-11-19 15:04:43 -08:00
tcmalloc-opspersec.vs.size.8.threads.png doc -> docs, with symlink 2016-11-19 15:04:43 -08:00
tcmalloc-opspersec.vs.size.12.threads.png doc -> docs, with symlink 2016-11-19 15:04:43 -08:00
tcmalloc-opspersec.vs.size.16.threads.png doc -> docs, with symlink 2016-11-19 15:04:43 -08:00
tcmalloc-opspersec.vs.size.20.threads.png doc -> docs, with symlink 2016-11-19 15:04:43 -08:00
tcmalloc.html Add a central free list for kMaxPages-sized spans 2018-03-17 09:46:28 -07:00
threadheap.dot doc -> docs, with symlink 2016-11-19 15:04:43 -08:00
threadheap.gif doc -> docs, with symlink 2016-11-19 15:04:43 -08:00