mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 19:44:41 +02:00
8038473: Remove support for old T1 libthread
Reviewed-by: dholmes, coleenp, acorn, dcubed
This commit is contained in:
parent
cf2bf09668
commit
ba522e5098
16 changed files with 52 additions and 438 deletions
|
@ -3520,7 +3520,7 @@ os::YieldResult os::NakedYield() {
|
|||
|
||||
void os::yield() { os::NakedYield(); }
|
||||
|
||||
void os::yield_all(int attempts) {
|
||||
void os::yield_all() {
|
||||
// Yields to all threads, including threads with lower priorities
|
||||
Sleep(1);
|
||||
}
|
||||
|
@ -3866,12 +3866,6 @@ void os::init(void) {
|
|||
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());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue