RFR 8035074: hs_err improvement: Add time zone information in the hs_err file (+8026335 and 8026331)

Coleen Phillimore coleen.phillimore at oracle.com
Fri Jun 5 14:02:26 UTC 2015

This is actually changes for 3 RFE's for hs_err file reporting:

8035074: hs_err improvement: Add time zone information in the hs_err file
8026335: hs_err improvement: Print exact compressed oops mode and the 
heap base value.
8026331: hs_err improvement: Print if we have seen any OutOfMemoryErrors 
or StackOverflowErrors
Summary: Add requested things to hs_err file.

Tested manually with crashes in vm_exit.  Fun fact, the jtreg tests 
report that they passed:

Also tested with runThese jck tests with small metaspace and compressed 
class space to get exception counts.

New lines in hs_err_pid file (don't have plus in them, just for 

VM Mutex/Monitor currently owned by a thread: None
+OutOfMemory and StackOverflow Exception counts:
+OutOfMemoryError java_heap_errors=2
+OutOfMemoryError class_metaspace_errors=7
+heap address: 0x00000000c0000000, size: 1024 MB, Compressed Oops mode: 
  PSYoungGen      total 37376K, used 1274K [0x00000000eab00000, 
0x00000000ed480000, 0x0000000100000000

end of file:

time: Wed Jun  3 21:05:57 2015
+timezone: EDT
elapsed time: 589 seconds (0d 0h 9m 49s)

open webrev at http://cr.openjdk.java.net/~coleenp/8035074.01/
bug link https://bugs.openjdk.java.net/browse/JDK-8035074
bug link https://bugs.openjdk.java.net/browse/JDK-8026335
bug link https://bugs.openjdk.java.net/browse/JDK-8026331


More information about the hotspot-runtime-dev mailing list