OVMS3-idf/components/heap/test_multi_heap_host
Deomid Ryabkov 4b7eb1792e Try to merge tail with next block when splitting
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.
2018-04-03 12:30:52 +10:00
..
main.cpp heap: Add new multi_heap heap implementation to replace FreeRTOS-based tagged heaps 2017-07-10 17:46:03 +08:00
Makefile Try to merge tail with next block when splitting 2018-04-03 12:30:52 +10:00
Makefile.test Try to merge tail with next block when splitting 2018-04-03 12:30:52 +10:00
test_multi_heap.cpp Try to merge tail with next block when splitting 2018-04-03 12:30:52 +10:00