mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-07-12 22:24:58 +03:00
merge from dev with the destroy_on_exit option
This commit is contained in:
commit
163afcce75
8 changed files with 68 additions and 8 deletions
|
@ -803,7 +803,7 @@ static mi_segment_t* mi_segment_init(mi_segment_t* segment, size_t required, siz
|
|||
bool is_pinned = false;
|
||||
size_t memid = 0;
|
||||
size_t align_offset = 0;
|
||||
size_t alignment = MI_SEGMENT_SIZE;
|
||||
size_t alignment = MI_SEGMENT_ALIGN;
|
||||
|
||||
if (page_alignment > 0) {
|
||||
mi_assert_internal(huge_page != NULL);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue