RFR(S): 8074354: tests that intentionally crash the VM can timeout creating a core file

Yumin Qi yumin.qi at oracle.com
Wed Mar 11 07:02:29 UTC 2015

Please review:

bug: https://bugs.openjdk.java.net/browse/JDK-8074354
webrev: http://cr.openjdk.java.net/~minqi/8074354/webrev01/

Summary: Tests timed out when VM crashes and dumping core file which in 
the test case is not needed. To make core not created, the fix changed 
CreateMinidumpOnCrash to CreateCoredumpOnCrash, the former is only used 
on Windows and the latter for all platforms. When VM crashes on non 
Windows, core file generated as default if OS sets core dump allowed. 
Default value of CreateCoredumpOnCrash set to 'true' to keep same 
behavior on non Windows platforms, but changed for Windows --- original 
is false, not create minidump on Windows. With CreateCoredumpOnCrash 
turned off, no core file will be generated. CreateMinidumpOnCrash still 
can be used on commandline but only as alias for the new flag.

Tests: JPRT, manual tests setting CreateMinidumpOnCrash on commandline 
to verify flag change as alias.


More information about the hotspot-runtime-dev mailing list