forked from mjansson/rpmalloc
-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
I'm evaluating this implementation using a simple test program and i see this failing:
rpmalloc_initialize();
rpmalloc_thread_initialize();
void* pTest1 = rpaligned_alloc( 0x100, 16 );
void* pTest2 = rpaligned_alloc( 0x1000, 16 );
void* pTest3 = rpaligned_alloc( 0x10000, 16 );
void* pTest4 = rpaligned_alloc( 0x100000, 16 );
assert(pTest1 && pTest2 && pTest3 && pTest4);
pTest3 and pTest4 seem to return nullptr. Is there something very obvious i am missing?
The unaligned rpmalloc works fine., and so seems to work the original rampantpixels implementation.
Thanks!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels