How can I dump Java objects with a probe on a known program point, rather than at a certain elapsed time as done by java_memstat?
The java memstat probe is built on top of another probe called libapjvmpi. It is an interface to the Java JVMPI library and takes care of a bunch of the low-level work. One of the things it provides is a mechanism to take a heap dump. Working with the interface requires getting a dynamic pointer to the libapjvmpi interface and then using that.
Related Questions
- How can I dump Java objects with a probe on a known program point, rather than at a certain elapsed time as done by java_memstat?
- I can follow any diet for a certain period of time and then I "fall off the wagon." How is the Beaumont program any different?
- Can the online backup software be set to stop backing up after a certain time has elapsed?