relabel large allocation guards when shrinking
This commit is contained in:
parent
64dfd23f7b
commit
3d142eb4c2
@ -1200,6 +1200,7 @@ EXPORT void *h_realloc(void *old, size_t size) {
|
|||||||
thread_seal_metadata();
|
thread_seal_metadata();
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
memory_set_name(new_end, old_guard_size, "malloc large");
|
||||||
void *new_guard_end = (char *)new_end + old_guard_size;
|
void *new_guard_end = (char *)new_end + old_guard_size;
|
||||||
regions_quarantine_deallocate_pages(new_guard_end, old_rounded_size - rounded_size, 0);
|
regions_quarantine_deallocate_pages(new_guard_end, old_rounded_size - rounded_size, 0);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user