8069068: VM warning: WaitForMultipleObjects timed out (0) ...
Summary: Increase timeout to 5 minutes
Reviewed-by: dholmes, dcubed
--- a/hotspot/src/os/windows/vm/os_windows.cpp Fri May 22 13:52:46 2015 +0200
+++ b/hotspot/src/os/windows/vm/os_windows.cpp Fri May 22 02:38:59 2015 +0300
@@ -3768,7 +3768,7 @@
return NULL;
}
-#define EXIT_TIMEOUT PRODUCT_ONLY(1000) NOT_PRODUCT(4000) /* 1 sec in product, 4 sec in debug */
+#define EXIT_TIMEOUT 300000 /* 5 minutes */
static BOOL CALLBACK init_crit_sect_call(PINIT_ONCE, PVOID pcrit_sect, PVOID*) {
InitializeCriticalSection((CRITICAL_SECTION*)pcrit_sect);