jemalloc/src
Qi Wang 8dabf81df1 Bypass extent_dalloc when retain is enabled.
When retain is enabled, the default dalloc hook does nothing (since we avoid
munmap).  But the overhead preparing the call is high, specifically the extent
de-register and re-register involve locking and extent / rtree modifications.
Bypass the call with retain in this diff.
2018-11-08 11:32:25 -08:00
..
arena.c Add stats for the size of extent_avail heap 2018-08-02 10:16:06 -07:00
background_thread.c Make use of pthread_set_name_np(3) on FreeBSD. 2018-10-24 10:06:37 -07:00
base.c SC: Remove global data. 2018-07-23 13:37:08 -07:00
bin.c Hide size class computation behind a layer of indirection. 2018-07-12 20:53:06 -07:00
bitmap.c Revert "Remove BITMAP_USE_TREE." 2017-04-18 19:01:04 -07:00
ckh.c SC: Make some key size classes static. 2018-07-12 20:53:06 -07:00
ctl.c Add stats for the size of extent_avail heap 2018-08-02 10:16:06 -07:00
div.c Add the div module, which allows fast division by dynamic values. 2017-12-21 14:25:43 -08:00
extent.c Bypass extent_dalloc when retain is enabled. 2018-11-08 11:32:25 -08:00
extent_dss.c Hide size class computation behind a layer of indirection. 2018-07-12 20:53:06 -07:00
extent_mmap.c Header refactoring: unify and de-catchall extent_mmap module. 2017-05-31 13:08:45 -07:00
hash.c Header refactoring: Split up jemalloc_internal.h 2017-04-11 11:52:30 -07:00
hook.c Move tsd link and in_hook after tcache. 2018-06-27 13:39:02 -07:00
jemalloc.c malloc: Add a fastpath 2018-10-18 08:32:19 -07:00
jemalloc_cpp.cpp Split out cold code path in newImpl 2017-07-24 13:37:02 -07:00
large.c Add logging for sampled allocations 2018-08-01 13:27:11 -07:00
log.c Logging: allow logging with empty varargs. 2017-07-22 09:38:19 -07:00
malloc_io.c Fix type warning on Windows. 2018-04-09 16:50:30 -07:00
mutex.c Clean compilation -Wextra 2018-07-09 21:40:42 -07:00
mutex_pool.c Header refactoring: unify and de-catchall mutex_pool. 2017-05-31 13:08:45 -07:00
nstime.c Add background thread related stats. 2017-05-23 12:26:20 -07:00
pages.c Set commit properly for FreeBSD w/ overcommit. 2018-11-05 09:47:04 -08:00
prng.c Header refactoring: Split up jemalloc_internal.h 2017-04-11 11:52:30 -07:00
prof.c restrict bytes_until_sample to int64_t. This allows optimal asm 2018-10-15 08:24:12 -07:00
rtree.c Clean compilation -Wextra 2018-07-09 21:40:42 -07:00
sc.c add a check for SC_LARGE_MAXCLASS 2018-10-15 08:24:12 -07:00
stats.c Add stats for the size of extent_avail heap 2018-08-02 10:16:06 -07:00
sz.c sz: Support 0 size in size2index lookup/compute 2018-10-17 08:50:58 -07:00
tcache.c SC: Make some key size classes static. 2018-07-12 20:53:06 -07:00
test_hooks.c Rename hooks module to test_hooks. 2018-05-18 11:43:03 -07:00
ticker.c Header refactoring: Split up jemalloc_internal.h 2017-04-11 11:52:30 -07:00
tsd.c remove malloc_init() off the fastpath 2018-10-15 10:11:08 -07:00
witness.c Header refactoring: unify and de-catchall witness code. 2017-05-24 15:27:30 -07:00
zone.c Fix deadlock in multithreaded fork in OS X. 2017-07-10 18:17:12 -07:00