When splitting a memory block, check if the next block is free. If it is, then just extend it upwards instead of creating a new block. This fixes a bug where when shrinking existing allocations would result in irreversible free space fragmentation. When testing on the host, test all the poisoning configurations. |
||
---|---|---|
.. | ||
main.cpp | ||
Makefile | ||
Makefile.test | ||
test_multi_heap.cpp |