src/os/windows/vm/os_windows.cpp

Print this page

        

*** 3518,3528 **** return os::YIELD_UNKNOWN ; } void os::yield() { os::NakedYield(); } ! void os::yield_all(int attempts) { // Yields to all threads, including threads with lower priorities Sleep(1); } // Win32 only gives you access to seven real priorities at a time, --- 3518,3528 ---- return os::YIELD_UNKNOWN ; } void os::yield() { os::NakedYield(); } ! void os::yield_all() { // Yields to all threads, including threads with lower priorities Sleep(1); } // Win32 only gives you access to seven real priorities at a time,
*** 3864,3879 **** win32::initialize_system_info(); win32::setmode_streams(); init_page_sizes((size_t) win32::vm_page_size()); - // For better scalability on MP systems (must be called after initialize_system_info) - #ifndef PRODUCT - if (is_MP()) { - NoYieldsInMicrolock = true; - } - #endif // This may be overridden later when argument processing is done. FLAG_SET_ERGO(bool, UseLargePagesIndividualAllocation, os::win32::is_windows_2003()); // Initialize main_process and main_thread --- 3864,3873 ----