Custom Allocation


From the Boost Statechart Performance page…

https://www.boost.org/doc/libs/1_70_0/libs/statechart/doc/performance.html#MemoryManagementCustomization


The most interesting candidate at this point is TLSF (Two Level Segregate Fit) due to it’s real-time capabilities…

http://www.gii.upv.es/tlsf/


I also imagine that we would try to imitate the gaming industry and come up with a toolset of allocators to meet various development needs…

  • Stomp allocators for finding memory leaks…
  • Memory Pool allocators for Persistant vs Temporal objects
  • Small block allocators for events
  • Large block allocators for things like point clouds..
  • etc.

https://stackoverflow.com/questions/826569/compelling-examples-of-custom-c-allocators

https://github.com/electronicarts/EASTL

At 54:09, in the Q&A discussion, it comes out that the EASTL tool is very similar to DTrace and Windows Performance Analyzer

https://docs.microsoft.com/en-us/windows-hardware/test/wpt/windows-performance-analyzer

https://www.eclipse.org/tracecompass/

Hacking Babeltrace might me a good option too…

https://lttng.org/viewers/