mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 01:54:47 +02:00
8164683: Solaris: JVM abuses thread preemption control
Complete removal of preemption control and command line arguments (were deprecated in 11). Reviewed-by: hseigel, pchilanomate, dholmes
This commit is contained in:
parent
83b2fb5b0d
commit
647c7d5344
14 changed files with 12 additions and 92 deletions
|
@ -4192,10 +4192,6 @@ OSReturn os::get_native_priority(const Thread* const thread,
|
|||
return (*priority_ptr != -1 || errno == 0 ? OS_OK : OS_ERR);
|
||||
}
|
||||
|
||||
// Hint to the underlying OS that a task switch would not be good.
|
||||
// Void return because it's a hint and can fail.
|
||||
void os::hint_no_preempt() {}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
// suspend/resume support
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue