[fpc-devel] RTL: high CPU load in heap manager

Karoly Balogh (Charlie/SGR) charlie at scenergy.dfmk.hu
Mon Nov 10 18:47:19 CET 2014


We were profiling our code, and one RTL function regularly popped up in
close to the top in the profiling list.

It's remove_freed_fixed_chunks(). Can someone explain to me under what
condition this code is triggered very often and/or could take long to
execute (there's a loop in there)?

Maybe we abuse the the heap manager, or there's room for improvement in
the RTL, we would like to know.

We experienced his on ARM/Linux btw.


More information about the fpc-devel mailing list