hotspot/src/os/windows/vm/os_windows.cpp
changeset 30863 6a99d43b04e5
parent 30252 b9faf31ff015
child 31025 5cc170f4923d
equal deleted inserted replaced
30862:968963eef74b 30863:6a99d43b04e5
  3766   jio_snprintf(ebuf, ebuflen,
  3766   jio_snprintf(ebuf, ebuflen,
  3767                "os::win32::load_windows_dll() cannot load %s from system directories.", name);
  3767                "os::win32::load_windows_dll() cannot load %s from system directories.", name);
  3768   return NULL;
  3768   return NULL;
  3769 }
  3769 }
  3770 
  3770 
  3771 #define EXIT_TIMEOUT     PRODUCT_ONLY(1000) NOT_PRODUCT(4000) /* 1 sec in product, 4 sec in debug */
  3771 #define EXIT_TIMEOUT 300000 /* 5 minutes */
  3772 
  3772 
  3773 static BOOL CALLBACK init_crit_sect_call(PINIT_ONCE, PVOID pcrit_sect, PVOID*) {
  3773 static BOOL CALLBACK init_crit_sect_call(PINIT_ONCE, PVOID pcrit_sect, PVOID*) {
  3774   InitializeCriticalSection((CRITICAL_SECTION*)pcrit_sect);
  3774   InitializeCriticalSection((CRITICAL_SECTION*)pcrit_sect);
  3775   return TRUE;
  3775   return TRUE;
  3776 }
  3776 }