changeset 8435:13fa184842fa

8069068: VM warning: WaitForMultipleObjects timed out (0) ... Summary: Increase timeout to 5 minutes Reviewed-by: dholmes, dcubed
author igerasim
date Fri, 22 May 2015 02:38:59 +0300
parents 4774bd594cda
children 42ea2e36e41a 9fa5219f0206
files src/os/windows/vm/os_windows.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/os/windows/vm/os_windows.cpp	Fri May 22 13:52:46 2015 +0200
+++ b/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);