[fpc-devel] heap.inc evo when

Florian Klämpfl florian at freepascal.org
Wed Apr 16 10:41:41 CEST 2025


On 15.04.25 22:52, runewalsh via fpc-devel wrote:
> What’s the position on MR !694? Person with the yellow avatar mentioned 
> in https://gitlab.com/freepascal.org/fpc/source/-/ 
> commit/922457e5b58d76a13ff706f9220d9d6350631930#note_2390656703 there 
> was some discussion somewhere, and that’s all.

Our main issue is that nobody really feels capable of reviewing it :( 
The initial contributors of the heap manager are basically gone and 
nobody else is really that deep into this code to do a review.

> 
> Life is short, you know. Especially if your de/allocations randomly 
> become slow on their own (chopping up or finalizing the fixed OS chunk 
> by the current heap.inc: extra 100 nanoseconds per allocation) and in 
> addition to that hit https://preshing.com/20110717/the-windows-heap-is- 
> slow-when-launched-from-the-debugger/ (HeapAlloc under the debugger: 
> extra 10 MICROseconds per allocation, absolutely terrible, I can watch 
> e.g. dynamic strings being built and output one by one rather than 
> instantly when hitting this case).
> 
> _______________________________________________
> fpc-devel maillist  -  fpc-devel at lists.freepascal.org
> https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel



More information about the fpc-devel mailing list