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

Mattis Castegren mattis.castegren at oracle.com
Fri Jun 5 14:06:28 UTC 2015


Nice!

There are so many crashes where the OOM and SOE output has helped us narrowing down the problem in JRockit. HotSpot is much more stable when handling these errors, but it is still a very good data point when debugging.

/Mattis

-----Original Message-----
From: Coleen Phillimore 
Sent: den 5 juni 2015 16:02
To: hotspot-runtime-dev
Subject: RFR 8035074: hs_err improvement: Add time zone information in the hs_err file (+8026335 and 8026331)

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:
https://bugs.openjdk.java.net/browse/JDK-8085909

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
illustration):

VM Mutex/Monitor currently owned by a thread: None
+
+OutOfMemory and StackOverflow Exception counts:
+OutOfMemoryError java_heap_errors=2
+OutOfMemoryError class_metaspace_errors=7
+StackOverflowErrors=2
+
+
+heap address: 0x00000000c0000000, size: 1024 MB, Compressed Oops mode: 
32-bit
+
Heap:
  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

Thanks,
Coleen


More information about the hotspot-runtime-dev mailing list