Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6797870

Add -XX:+{HeapDump,PrintClassHistogram}{Before,After}FullGC

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • hs15
    • 6u7, 7
    • hotspot
    • None
    • gc
    • b03
    • generic, x86
    • generic, solaris_10
    • Verified

        Add a -XX:+HeapDumpBeforeFullGC that produces a heap dump when a full gc becomes necessary,
        whether because of a promotion failure, concurrent mode failure, explicit request or other
        reason. The heap dump can then be analyzed to discover which objects/classes dominate the
        set of live objects and thus provide clues to application developers about which objects
        and classes to focus on so as to decrease or eliminate the chances of a full gc. The
        heap dump should not increase full gc time by more than 15%. This is a somewhat vague
        number since full gc time depends on things like the percentage of live data in the heap,
        but it gives a sense of the tolerable overhead.
        Modified synopsis from the original:-

          "Add -XX:+HeapDumpBeforeFullGC"

        to:-

           " Add -XX:+{HeapDump,PrintClassHistogram}{Before,After}FullGC"

        based on discussions (also with requesting customer).

              ysr Y. Ramakrishna
              phh Paul Hohensee
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: