mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-25 18:17:19 +03:00
Implement process_madvise support.
Add opt.process_madvise_max_batch which determines if process_madvise is enabled (non-zero) and the max # of regions in each batch. Added another limiting factor which is the space to reserve on stack, which results in the max batch of 128.
This commit is contained in:
parent
70f019cd3a
commit
22440a0207
13 changed files with 204 additions and 6 deletions
|
|
@ -1727,6 +1727,7 @@ stats_general_print(emitter_t *emitter) {
|
|||
OPT_WRITE_INT64("stats_interval")
|
||||
OPT_WRITE_CHAR_P("stats_interval_opts")
|
||||
OPT_WRITE_CHAR_P("zero_realloc")
|
||||
OPT_WRITE_SIZE_T("process_madvise_max_batch")
|
||||
|
||||
emitter_dict_end(emitter); /* Close "opt". */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue