Feature request: rough timestamp on instance creation
Tobias Frech
tobias at frech.info
Tue Jul 12 03:20:58 PDT 2011
Hi!
I'd like to be able to do the following in a future Java release:
For each object instance dumped in the HPROF format I'd like to
determine the rough time when this instance was created. The resolution
should should be in the seconds to minutes range.
The reason for this request is, that it is still not easy to track down
memory leaks in larger software deployments. Given this information I
should be able to locate all leaking objects by just looking at objects
that have been created after the system stabilized and created before
the point in time the longest running session has started.
My guess is for this to happen there would be two changes needed:
- the JVM to include that information in every object instance
- the jmap-tool to dump that information to the hprof file
Cheers,
Tobias
--
-------------------------------
email : tobias at frech.info --- Frech.IT
mobile: +49-(0)172-7112352 -- Am Brünnele 7
---------------------------- 71642 Ludwigsburg
More information about the jdk8-dev
mailing list