mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-07-06 19:38:41 +03:00
add reset_decommit, reset_discard options; maintain more statistics
This commit is contained in:
parent
2cfdbc2cbb
commit
0314373d93
7 changed files with 142 additions and 96 deletions
|
@ -35,7 +35,10 @@ static mi_option_desc_t options[_mi_option_last] = {
|
|||
{ 0, UNINIT, "page_reset" },
|
||||
{ 0, UNINIT, "cache_reset" },
|
||||
{ 0, UNINIT, "pool_commit" },
|
||||
{ 1, UNINIT, "eager_commit" }, // secure must have eager commit
|
||||
{ 0, UNINIT, "large_os_pages" }, // use large OS pages
|
||||
{ 0, UNINIT, "reset_decommits" },
|
||||
{ 0, UNINIT, "reset_discards" },
|
||||
#if MI_SECURE
|
||||
{ MI_SECURE, INITIALIZED, "secure" }, // in secure build the environment setting is ignored
|
||||
#else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue