Some impressive work with unexec and malloc for Remacs on Windows! https://github.com/Wilfred/remacs/pull/445
miniblog.
Related Posts
Encountered a type of bug I've never seen before: upgrading the malloc implementation had a catastrophic effect on performance!
I suspect one of my libraries is allocating large arrays and not writing to them.
Do compilers ever transform pairs of malloc/free? E.g. in a loop:
p = malloc(32);
foo(p);
free(p);
In principle this doesn't need to be allocated on the heap.
I'm amazed to learn that rolling an application-specific malloc implementation rarely pays off!
