Add UMM/IMM type + minor fixes

This commit is contained in:
2026-09-17 17:48:11 +02:00
parent 3fe838e696
commit 41d5459de0
8 changed files with 20 additions and 12 deletions
-2
View File
@@ -144,8 +144,6 @@ void arena_trim(Arena *arena)
U32 aligned_pos = RoundUpToMultiple(block->first_free, arena->commit_size);
if (aligned_pos < block->committed_end) {
void *trim_start = &block->base[aligned_pos];
// Note(nos): Should we unpoision ?
//ASAN_UNPOISON_MEMORY_REGION(trim_start, block->committed_end);
memory_decommit(trim_start, block->committed_end - aligned_pos);
block->committed_end = aligned_pos;
}