protomatter: Use low end of supervisor heap

Per @tannewt, this area "sees more churn", so it's probably the right
choice here
crypto-aes
Jeff Epler 2 years ago
parent 9019710a1e
commit e4c6b241a9
  1. 2
      shared-module/_protomatter/allocator.h

@ -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…
Cancel
Save