[fpc-devel] GetHeapStatus.TotalAllocated

Nikolai Zhubr n-a-zhubr at yandex.ru
Sat Feb 13 22:57:50 CET 2010


14.02.2010 0:30, Jonas Maebe:
>>> The heap manager is now separate per thread so it offers much better performance.
>> Wait a minute. Is it then still legal for any thread to dispose heap blocks allocated by another thread?
>
> Yes, that's taken care of behind the scenes.
Ok. That is good.
Now, I'm starting to suspect that negative TotalAllocated values just 
result from doing deallocations in a different thread, which is what my 
programm actually does all the time. I'll go to make a small test.

Nikolai

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




More information about the fpc-devel mailing list