add ability to abandon segments after a threshold

This commit is contained in:
daanx 2024-10-09 21:24:20 -07:00
parent 4913c2c65b
commit 723869014f
7 changed files with 108 additions and 4 deletions

View file

@ -369,6 +369,7 @@ typedef enum mi_option_e {
mi_option_visit_abandoned, // allow visiting heap blocks from abandoned threads (=0)
mi_option_debug_guarded_min, // only used when building with MI_DEBUG_GUARDED: minimal rounded object size for guarded objects (=0)
mi_option_debug_guarded_max, // only used when building with MI_DEBUG_GUARDED: maximal rounded object size for guarded objects (=0)
mi_option_target_segments_per_thread, // experimental (=0)
_mi_option_last,
// legacy option names
mi_option_large_os_pages = mi_option_allow_large_os_pages,