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:
Coleen Phillimore 2018-08-10 09:36:01 -04:00
parent 83b2fb5b0d
commit 647c7d5344
14 changed files with 12 additions and 92 deletions

View file

@ -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