8069068: VM warning: WaitForMultipleObjects timed out (0) ..

Increase timeout to 5 minutes

Reviewed-by: dholmes, dcubed
This commit is contained in:
Ivan Gerasimov 2015-05-22 02:38:59 +03:00
parent bd1a0cf8ec
commit 48e61a6f7e

View File

@ -3768,7 +3768,7 @@ HINSTANCE os::win32::load_Windows_dll(const char* name, char *ebuf,
return NULL; 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*) { static BOOL CALLBACK init_crit_sect_call(PINIT_ONCE, PVOID pcrit_sect, PVOID*) {
InitializeCriticalSection((CRITICAL_SECTION*)pcrit_sect); InitializeCriticalSection((CRITICAL_SECTION*)pcrit_sect);