mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-07-07 03:48:42 +03:00
merge from dev
This commit is contained in:
commit
aeb73b0cd4
11 changed files with 45 additions and 37 deletions
|
@ -18,9 +18,6 @@ static void mi_segment_delayed_decommit(mi_segment_t* segment, bool force, mi_st
|
|||
/* --------------------------------------------------------------------------------
|
||||
Segment allocation
|
||||
|
||||
In any case the memory for a segment is virtual and usually committed on demand.
|
||||
(i.e. we are careful to not touch the memory until we actually allocate a block there)
|
||||
|
||||
If a thread ends, it "abandons" pages with used blocks
|
||||
and there is an abandoned segment list whose segments can
|
||||
be reclaimed by still running threads, much like work-stealing.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue