In our previous episode, Nikolai Zhubr said: > after switching to FPC 2.4.0 I've noticed that: > > 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.
Afaik that is a feature? 2.4.0 sports a threaded memorymanagers where threads can allocate memory without accessing global locks (and thus statistics) Note that that doesn't mean it is ok, but it might not be fixable 100% > 2) GetHeapStatus.TotalAllocated sometimes return negative values, though > I haven't been able to prepare a reasonably small example yet (should I?) Please attach example programs to a bugreport. Thank you. _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel