mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-15 16:44:36 +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
|
@ -49,16 +49,6 @@ void OSThread::pd_destroy() {
|
|||
|
||||
// copied from synchronizer.cpp
|
||||
|
||||
void OSThread::handle_spinlock_contention(int tries) {
|
||||
if (NoYieldsInMicrolock) return;
|
||||
|
||||
if (tries > 10) {
|
||||
os::yield_all(tries); // Yield to threads of any priority
|
||||
} else if (tries > 5) {
|
||||
os::yield(); // Yield to threads of same or higher priority
|
||||
}
|
||||
}
|
||||
|
||||
void OSThread::SR_handler(Thread* thread, ucontext_t* uc) {
|
||||
os::Solaris::SR_handler(thread, uc);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue