8069068: VM warning: WaitForMultipleObjects timed out (0) ...
authorigerasim
Fri, 22 May 2015 02:38:59 +0300
changeset 30863 6a99d43b04e5
parent 30862 968963eef74b
child 30864 5bd9741e6b45
child 30865 22f923339f58
8069068: VM warning: WaitForMultipleObjects timed out (0) ... Summary: Increase timeout to 5 minutes Reviewed-by: dholmes, dcubed
hotspot/src/os/windows/vm/os_windows.cpp
--- 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);