summaryrefslogtreecommitdiff
path: root/shared-module/_protomatter
diff options
context:
space:
mode:
authorJeff Epler <jepler@gmail.com>2020-04-09 09:11:55 -0500
committerJeff Epler <jepler@gmail.com>2020-04-14 18:24:58 -0500
commite4c6b241a94c6828710faa00e1ac9188c26667eb (patch)
tree7960d6195dc31a4935d2c8a72a33b81bfc6730b7 /shared-module/_protomatter
parent9019710a1e75d4042d37dd3285d06e3f24aec449 (diff)
protomatter: Use low end of supervisor heap
Per @tannewt, this area "sees more churn", so it's probably the right choice here
Diffstat (limited to 'shared-module/_protomatter')
-rw-r--r--shared-module/_protomatter/allocator.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared-module/_protomatter/allocator.h b/shared-module/_protomatter/allocator.h
index 501a26098..1ae127de2 100644
--- a/shared-module/_protomatter/allocator.h
+++ b/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;
}
}