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