Ways to get gc stats programatically or logged?

Derek White derek.white at oracle.com
Tue Sep 23 21:22:26 UTC 2014


Hi All,

I'm doing a writeup on a soft real-time system (robots for the FIRST 
Robotics Competition) and I'm looking for ways to get gc stats like max 
pause time and total gc time. I can sum up verbosegc numbers but I'd 
like to make this easy for some customers to run.

I'd like to get these numbers in a production build, and both logged and 
display in some slick tool like visualvm.

Any ideas?

Thanks,
  - Derek




More information about the hotspot-gc-dev mailing list