7.8.3 -XX:[+|-]HitachiOutOfMemoryAbortThreadDumpWithJHeapProf
-XX:[+|-]HitachiOutOfMemoryAbortThreadDumpWithJHeapProf outputs class-wide statistics to the thread dump log file that is output when an OutOfMemoryError occurs.
Description
-XX:[+|-]HitachiOutOfMemoryAbortThreadDumpWithJHeapProf specifies whether to output class-wide statistics to the thread dump log file that is output when -XX:+HitachiOutOfMemoryAbortThreadDump is specified.
If G1GC is used, this functionality is disabled. If the option that enables this functionality is specified when G1GC is being used, the specification is not applied, and the functionality is disabled.
- Prerequisite options
-
-
-XX:+HitachiOutOfMemoryAbort
-
-XX:+HitachiOutOfMemoryAbortThreadDump
-
-XX:+HitachiThreadDump
-
Syntax
-XX:[+|-]HitachiOutOfMemoryAbortThreadDumpWithJHeapProf
Specifiable values
Type: String
- -XX:+HitachiOutOfMemoryAbortThreadDumpWithJHeapProf
-
Outputs class-wide statistics to the thread dump log file that is output when -XX:+HitachiOutOfMemoryAbortThreadDump is specified.
- -XX:-HitachiOutOfMemoryAbortThreadDumpWithJHeapProf
-
Does not output class-wide statistics to the thread dump log file that is output when -XX:+HitachiOutOfMemoryAbortThreadDump is specified.
Default value
- If the definition item is omitted:
-
-XX:-HitachiOutOfMemoryAbortThreadDumpWithJHeapProf
Example
Java Heap Profile ----------------------- ________________Size__Instances__Class________________ 856560 5 [Ljava.io.ObjectStreamField; 113488 2 java.lang.ThreadGroup 113280 2 [Ljava.lang.Thread; 108264 2 java.io.PrintStream ... 64 1 classA ... 32 1 classB ... 16 1 classD ... 16 1 classC ...