server-skynet-source-3rd-je.../include/jemalloc/internal
Jason Evans 168793a1c1 Fix extent_grow_next management.
Fix management of extent_grow_next to serialize operations that may grow
retained memory.  This assures that the sizes of the newly allocated
extents correspond to the size classes in the intended growth sequence.

Fix management of extent_grow_next to skip size classes if a request is
too large to be satisfied by the next size in the growth sequence.  This
avoids the potential for an arbitrary number of requests to bypass
triggering extent_grow_next increases.

This resolves #858.
2017-05-29 17:27:18 -07:00
..
arena_externs.h Implementing opt.background_thread. 2017-05-23 12:26:20 -07:00
arena_inlines_a.h Get rid of most of the various inline macros. 2017-04-24 10:33:21 -07:00
arena_inlines_b.h Header refactoring: unify and de-catchall mutex module 2017-05-24 15:27:30 -07:00
arena_structs_a.h Header refactoring: bitmap - unify and remove from catchall. 2017-04-24 10:33:21 -07:00
arena_structs_b.h Fix extent_grow_next management. 2017-05-29 17:27:18 -07:00
arena_types.h Disable percpu_arena by default. 2017-05-23 15:32:50 -07:00
assert.h Disentangle assert and util 2017-03-06 15:08:43 -08:00
atomic_c11.h Introduce a backport of C11 atomics 2017-03-03 13:40:59 -08:00
atomic_gcc_atomic.h Insert not_reached after an exhaustive switch 2017-03-06 15:08:43 -08:00
atomic_gcc_sync.h Introduce a backport of C11 atomics 2017-03-03 13:40:59 -08:00
atomic_msvc.h Introduce a backport of C11 atomics 2017-03-03 13:40:59 -08:00
atomic.h Move CPP_PROLOGUE and CPP_EPILOGUE to the .cpp 2017-04-18 18:35:03 -07:00
background_thread_externs.h Add background thread related stats. 2017-05-23 12:26:20 -07:00
background_thread_inlines.h Check for background thread inactivity on extents_dalloc. 2017-05-23 12:26:20 -07:00
background_thread_structs.h Check for background thread inactivity on extents_dalloc. 2017-05-23 12:26:20 -07:00
base_externs.h Track extent structure serial number (esn) in extent_t. 2017-04-17 14:47:45 -07:00
base_inlines.h Get rid of most of the various inline macros. 2017-04-24 10:33:21 -07:00
base_structs.h Header refactoring: unify and de-catchall mutex module 2017-05-24 15:27:30 -07:00
base_types.h Break up headers into constituent parts 2017-01-12 15:43:51 -08:00
bit_util.h Disentangle assert and util 2017-03-06 15:08:43 -08:00
bitmap.h Avoid compiler warnings on Windows. 2017-05-11 18:06:20 -07:00
ckh.h Header refactoring: tsd - cleanup and dependency breaking. 2017-05-01 10:49:56 -07:00
ctl.h Add background thread related stats. 2017-05-23 12:26:20 -07:00
extent_dss_externs.h Break up headers into constituent parts 2017-01-12 15:43:51 -08:00
extent_dss_structs.h Break up headers into constituent parts 2017-01-12 15:43:51 -08:00
extent_dss_types.h Replace tabs following #define with spaces. 2017-01-20 21:45:53 -08:00
extent_externs.h Header refactoring: unify and de-catchall mutex module 2017-05-24 15:27:30 -07:00
extent_inlines.h Header refactoring: unify and de-catchall mutex module 2017-05-24 15:27:30 -07:00
extent_mmap_externs.h Refactor !opt.munmap to opt.retain. 2017-04-29 09:24:12 -07:00
extent_structs.h Header refactoring: unify and de-catchall mutex module 2017-05-24 15:27:30 -07:00
extent_types.h Disentangle arena and extent locking. 2017-02-01 16:43:46 -08:00
hash.h Header refactoring: hash - unify and remove from catchall. 2017-04-25 09:51:38 -07:00
hooks.h Add basic reentrancy-checking support, and allow arena_new to reenter. 2017-04-07 14:10:27 -07:00
jemalloc_internal_decls.h Refactor *decay_time into *decay_ms. 2017-05-18 11:33:45 -07:00
jemalloc_internal_defs.h.in Implementing opt.background_thread. 2017-05-23 12:26:20 -07:00
jemalloc_internal_externs.h Added opt_abort_conf: abort on invalid config options. 2017-05-26 21:14:28 -07:00
jemalloc_internal_includes.h Header refactoring: unify and de-catchall mutex module 2017-05-24 15:27:30 -07:00
jemalloc_internal_inlines_a.h Refactor (MALLOCX_ARENA_MAX + 1) to be MALLOCX_ARENA_LIMIT. 2017-05-14 10:14:23 -07:00
jemalloc_internal_inlines_b.h Get rid of most of the various inline macros. 2017-04-24 10:33:21 -07:00
jemalloc_internal_inlines_c.h Header refactoring: unify and de-catchall witness code. 2017-05-24 15:27:30 -07:00
jemalloc_internal_macros.h Stop depending on JEMALLOC_N() for function interception during testing. 2017-05-11 23:06:54 -07:00
jemalloc_internal_types.h Refactor (MALLOCX_ARENA_MAX + 1) to be MALLOCX_ARENA_LIMIT. 2017-05-14 10:14:23 -07:00
jemalloc_preamble.h.in Implementing opt.background_thread. 2017-05-23 12:26:20 -07:00
large_externs.h Stop depending on JEMALLOC_N() for function interception during testing. 2017-05-11 23:06:54 -07:00
malloc_io.h Move CPP_PROLOGUE and CPP_EPILOGUE to the .cpp 2017-04-18 18:35:03 -07:00
mutex_pool_inlines.h Header refactoring: unify and de-catchall mutex module 2017-05-24 15:27:30 -07:00
mutex_pool_structs.h Header refactoring: unify and de-catchall mutex module 2017-05-24 15:27:30 -07:00
mutex_prof.h Add profiling for the background thread mutex. 2017-05-23 12:26:20 -07:00
mutex.h Header refactoring: unify and de-catchall mutex module 2017-05-24 15:27:30 -07:00
nstime.h Add background thread related stats. 2017-05-23 12:26:20 -07:00
pages.h Header refactoring: pages.h - unify and remove from catchall. 2017-04-25 09:51:38 -07:00
ph.h Add any() and remove_any() to ph. 2017-03-07 10:25:33 -08:00
private_namespace.sh Automatically generate private symbol name mangling macros. 2017-05-11 23:06:54 -07:00
private_symbols.sh Automatically generate private symbol name mangling macros. 2017-05-11 23:06:54 -07:00
prng.h Header refactoring: prng module - remove from the catchall and unify. 2017-04-24 10:33:21 -07:00
prof_externs.h Header refactoring: unify and de-catchall mutex module 2017-05-24 15:27:30 -07:00
prof_inlines_a.h Header refactoring: unify and de-catchall mutex module 2017-05-24 15:27:30 -07:00
prof_inlines_b.h Header refactoring: tsd - cleanup and dependency breaking. 2017-05-01 10:49:56 -07:00
prof_structs.h Header refactoring: unify and de-catchall mutex module 2017-05-24 15:27:30 -07:00
prof_types.h Convert arena->prof_accumbytes synchronization to atomics. 2017-02-16 09:39:46 -08:00
public_namespace.sh Replace tabs following #define with spaces. 2017-01-20 21:45:53 -08:00
public_unnamespace.sh Fix name mangling for stress tests. 2014-01-16 17:38:01 -08:00
ql.h Header refactoring: break out qr.h dependencies 2017-04-11 11:52:30 -07:00
qr.h Replace tabs following #define with spaces. 2017-01-20 21:45:53 -08:00
rb.h Header refactoring: break out rb.h dependencies 2017-04-11 11:52:30 -07:00
rtree_ctx.h Header refactoring: tsd - cleanup and dependency breaking. 2017-05-01 10:49:56 -07:00
rtree_externs.h Protect the rtree/extent interactions with a mutex pool. 2017-05-19 14:21:27 -07:00
rtree_inlines.h Protect the rtree/extent interactions with a mutex pool. 2017-05-19 14:21:27 -07:00
rtree_structs.h Header refactoring: unify and de-catchall mutex module 2017-05-24 15:27:30 -07:00
rtree_types.h Protect the rtree/extent interactions with a mutex pool. 2017-05-19 14:21:27 -07:00
size_classes.sh Remove --with-lg-tiny-min. 2017-04-24 11:48:28 -07:00
smoothstep.h Cleanup smoothstep.sh / .h. 2017-05-25 16:52:10 -07:00
smoothstep.sh Cleanup smoothstep.sh / .h. 2017-05-25 16:52:10 -07:00
spin.h Header refactoring: unify spin.h and move it out of the catch-all. 2017-04-18 18:35:03 -07:00
stats_tsd.h Header refactoring: unify and de-catchall mutex module 2017-05-24 15:27:30 -07:00
stats.h Add opt.stats_print_opts. 2017-05-29 11:54:00 -07:00
tcache_externs.h Revert "Use trylock in tcache_bin_flush when possible." 2017-05-01 14:49:42 -07:00
tcache_inlines.h Revert "Use trylock in tcache_bin_flush when possible." 2017-05-01 14:49:42 -07:00
tcache_structs.h Header refactoring: unify and de-catchall mutex module 2017-05-24 15:27:30 -07:00
tcache_types.h Header refactoring: size_classes module - remove from the catchall 2017-04-24 10:33:21 -07:00
ticker.h Header refactoring: tsd - cleanup and dependency breaking. 2017-05-01 10:49:56 -07:00
tsd_generic.h Header refactoring: unify and de-catchall mutex module 2017-05-24 15:27:30 -07:00
tsd_malloc_thread_cleanup.h Header refactoring: tsd - cleanup and dependency breaking. 2017-05-01 10:49:56 -07:00
tsd_tls.h Header refactoring: tsd - cleanup and dependency breaking. 2017-05-01 10:49:56 -07:00
tsd_types.h Header refactoring: tsd - cleanup and dependency breaking. 2017-05-01 10:49:56 -07:00
tsd_win.h Header refactoring: tsd - cleanup and dependency breaking. 2017-05-01 10:49:56 -07:00
tsd.h Header refactoring: unify and de-catchall witness code. 2017-05-24 15:27:30 -07:00
util.h Remove --disable-cc-silence. 2017-04-24 15:02:45 -07:00
witness.h Fix extent_grow_next management. 2017-05-29 17:27:18 -07:00