protomatter: Use low end of supervisor heap
Per @tannewt, this area "sees more churn", so it's probably the right choice here
This commit is contained in:
parent
9019710a1e
commit
e4c6b241a9
|
@ -13,7 +13,7 @@ static inline void *_PM_allocator_impl(size_t sz) {
|
|||
if (gc_alloc_possible()) {
|
||||
return m_malloc(sz + sizeof(void*), true);
|
||||
} else {
|
||||
supervisor_allocation *allocation = allocate_memory(align32_size(sz), true);
|
||||
supervisor_allocation *allocation = allocate_memory(align32_size(sz), false);
|
||||
return allocation ? allocation->ptr : NULL;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue