On 13 Feb 2010, at 12:44, Nikolai Zhubr wrote:

> 1) GetHeapStatus.TotalAllocated does not seem to reflect size of allocations 
> made by other threads anymore (I can provide a small example). I think such 
> behaviour is not quite correct.

The heap manager is now separate per thread so it offers much better 
performance. Keeping track of this information aggregated for all threads would 
slow things down again (even if it would be done using atomic operations).

> 2) GetHeapStatus.TotalAllocated sometimes return negative values, though I 
> haven't been able to prepare a reasonably small example yet (should I?)

Yes.


Jonas_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to