mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-08-24 16:24:47 +03:00
wip: further progress on segment removal; arena allocation
This commit is contained in:
parent
46afcbe06c
commit
68f5fb2f4b
18 changed files with 80 additions and 98 deletions
|
@ -74,7 +74,7 @@ void _mi_page_map_register(mi_page_t* page) {
|
|||
}
|
||||
|
||||
// set the offsets
|
||||
for (int i = 0; i < block_count; i++) {
|
||||
for (int i = 0; i < (int)block_count; i++) {
|
||||
mi_assert_internal(i < 128);
|
||||
_mi_page_map[idx + i] = (signed char)(-i-1);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue