Skip to content

v3.5.3+1

Choose a tag to compare

@amsokol amsokol released this 21 Oct 15:37
· 5 commits to main since this release
v3.5.3+1
e68e3f3

Expose mimalloc options and process info to safe Rust; still mimalloc v3.5.3, build dependency cc 1.9

  • mimalloc::Option: every non-deprecated mimalloc option, with get, set, is_enabled, set_enabled, get_size, name and Option::ALL; the rustdoc of each says when mimalloc reads it
  • mimalloc::process_info() -> ProcessInfo (time, current/peak RSS, current/peak commit, page faults) and mimalloc::collect(force)
  • no_thp feature: transparent huge pages off from process start (MI_DEFAULT_ALLOW_THP=0), since allow_thp set from main cannot undo what mimalloc does before main
  • README: API and a tuning section (purge_delay 0 and no_thp for long-running processes)

Full Changelog: v3.5.3...v3.5.3+1