hotspot/src/os/windows/vm/os_windows.cpp
changeset 46587 6c97f34cb194
parent 46529 e473f49d42a7
child 46589 f1c04490ded1
equal deleted inserted replaced
46569:33bfb73333f9 46587:6c97f34cb194
  2837   char * next_alloc_addr = p_buf;
  2837   char * next_alloc_addr = p_buf;
  2838   HANDLE hProc = GetCurrentProcess();
  2838   HANDLE hProc = GetCurrentProcess();
  2839 
  2839 
  2840 #ifdef ASSERT
  2840 #ifdef ASSERT
  2841   // Variable for the failure injection
  2841   // Variable for the failure injection
  2842   long ran_num = os::random();
  2842   int ran_num = os::random();
  2843   size_t fail_after = ran_num % bytes;
  2843   size_t fail_after = ran_num % bytes;
  2844 #endif
  2844 #endif
  2845 
  2845 
  2846   int count=0;
  2846   int count=0;
  2847   while (bytes_remaining) {
  2847   while (bytes_remaining) {