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

2014-11-11 Thread Jonas Maebe
On 10/11/14 18:47, Karoly Balogh (Charlie/SGR) wrote: 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

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

2014-11-11 Thread Adriaan van Os
Jonas Maebe wrote: On 10/11/14 18:47, Karoly Balogh (Charlie/SGR) wrote: 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

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

2014-11-11 Thread Jonas Maebe
On 11/11/14 10:28, Adriaan van Os wrote: Jonas Maebe wrote: On 10/11/14 18:47, Karoly Balogh (Charlie/SGR) wrote: 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)?

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

2014-11-11 Thread Sergei Gorelkin
11.11.2014 12:35, Jonas Maebe пишет: On 11/11/14 10:28, Adriaan van Os wrote: Jonas Maebe wrote: On 10/11/14 18:47, Karoly Balogh (Charlie/SGR) wrote: 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

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

2014-11-11 Thread Michael Van Canneyt
On Tue, 11 Nov 2014, Sergei Gorelkin wrote: 11.11.2014 12:35, Jonas Maebe пишет: On 11/11/14 10:28, Adriaan van Os wrote: Jonas Maebe wrote: On 10/11/14 18:47, Karoly Balogh (Charlie/SGR) wrote: It's remove_freed_fixed_chunks(). Can someone explain to me under what condition this code is