Jason Evans
e9db6c92ab
Add the S/s JEMALLOC_OPTIONS flags to enable/disable tcache bin sorting.
2010-01-03 16:17:52 -08:00
Jason Evans
279e09d1ff
Enhance the H/h MALLOC_OPTIONS flags to control the number of tcache bin slots,
...
rather than just enabling/disabling the tcache.
Fix an off-by-one bug in large object stats recording.
2010-01-03 16:16:10 -08:00
Jason Evans
3f3ecfb8e8
Enhance the G/g MALLOC_OPTIONS flags to control GC sweep interval, rather than
...
just enabling/disabling GC.
2010-01-03 14:45:26 -08:00
Jason Evans
03c2237af3
Make malloc_stats_print() a public symbol, and make it repeatedly callable.
...
Incrementally merge tcache stats, so that malloc_stats_print() always reports
at least most events that have occurred thus far.
2010-01-03 12:10:42 -08:00
Jason Evans
0b2368a6a2
Add the COPYING file, and consolidate copyright/licensing information.
2010-01-03 11:59:14 -08:00
Jason Evans
45c128d1a9
Base maximum dirty page count on proportion of active memory.
...
Add dirty page tracking for pages within active small/medium object runs.
Reduce chunks_dirty red-black tree operations via lazy updating.
2009-12-29 00:09:15 -08:00
Jason Evans
84cbbcb90a
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.
2009-12-29 00:09:15 -08:00
Jason Evans
b2378168a4
Add support for medium size classes, [4KiB..32KiB], 2KiB apart by default.
...
Add the 'M' and 'm' MALLOC_OPTIONS flags, which control the maximum medium size
class.
Relax the cap on small/medium run size to arena_maxclass.
Reduce arena_run_reg_dalloc() integer division code complexity.
Increase the default chunk size from 1MiB to 4MiB.
2009-12-29 00:09:15 -08:00
Jason Evans
6d7bb5357a
Remove opt_dss and opt_mmap, such that if DSS allocation is enabled, both DSS
...
and heap allocation are always enabled.
2009-12-29 00:09:15 -08:00
Jason Evans
3ee7a5c5b0
Remove the dynamic rebalancing code, since magazines reduce its utility.
2009-12-29 00:09:15 -08:00
Jason Evans
569432cffd
Implement thread-aware allocation event tracing.
2009-12-29 00:09:15 -08:00
Jason Evans
90895cf859
Add --with-jemalloc-prefix, which supports API mangling.
...
Rename jemalloc_options-->malloc_options and jemalloc_message-->malloc_message.
2009-12-29 00:09:15 -08:00
Jason Evans
cc00a15770
Clean up the manpage and conditionalize various portions according to how
...
jemalloc is configured.
Modify arena_malloc() API to avoid unnecessary choose_arena() calls. Remove
unnecessary code from choose_arena().
Enable lazy-lock by default, now that choose_arena() is both faster and out of
the critical path.
Implement objdir support in the build system.
2009-06-25 18:06:48 -07:00
Jason Evans
4450b830b6
Merge FreeBSD's malloc(3) and posix_memalign(3) manpages to create jemalloc(3).
2009-06-22 17:44:39 -07:00