trace GC work
Ali Çehreli
acehreli at yahoo.com
Tue Feb 18 14:05:47 PST 2014
On 02/18/2014 10:10 AM, Ruslan Mullakhmetov wrote:
>
> Hi,
>
> Is it possible to trace GC allocation calls to determine times of
> program "death" and have some stats?
>
> So i want the following information:
> - garbage collection starts at {time}
> - garbage collection stops at {time}
> - (optionally) gc took {time}, collected {size} bytes
>
> thanks.
I may be totally off but I vaguely remember that it is possible to plug
in one's own garbage collector. It should be possible to write a garbage
collector that collects some statistics before calling back the default
GC functions.
Ali
More information about the Digitalmars-d-learn
mailing list