Relates :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
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).
|