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:
Jeff Epler 2020-04-09 09:11:55 -05:00
parent 9019710a1e
commit e4c6b241a9

View File

@ -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;
}
}