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

Coleen Phillimore coleen.phillimore at oracle.com
Mon Jun 8 23:42:38 UTC 2015


Christian informed me that localtime is going to be deprecated in visual 
studio 2015, which I was calling directly.  Now calling our 
localtime_pd() which calls localtime but will need to be replaced in for 
2015.   Retested on windows and linux.

open webrev at http://cr.openjdk.java.net/~coleenp/8035074.02/

Thanks,
Coleen

On 6/5/15 10:02 AM, Coleen Phillimore wrote:
> 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