Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
Java™ Troubleshooting Guide for HP-UX Systems: > Chapter 1 Diagnostic and Monitoring Tools and Options

-verbose:gc

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Glossary

 » Index

The -verbose:gc option enables logging of garbage collection (GC) information. It can be combined with other Java VM specific options such as -XX:+PrintGCDetails and -XX:+PrintGCTimeStamps to retrieve more information about the GC. The information output includes the size of the generations before and after each GC, total size of the heap, the size of objects promoted, and the time taken.

These options along with detailed information about GC analysis and tuning, are described at Sun's GC portal site:

http://java.sun.com/developer/technicalArticles/Programming/GCPortal

The -verbose:gc option can be dynamically enabled at runtime using the management API or JVMTI. The jconsole monitoring and management tool can also enable or disable this option when attached to a management Java VM.

For other GC logging options, see -Xverbosegc.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2009 Hewlett-Packard Development Company, L.P.