mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +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
|
@ -482,13 +482,6 @@ void VMThread::loop() {
|
|||
EventMark em("Executing VM operation: %s", vm_operation()->name());
|
||||
assert(_cur_vm_operation != NULL, "we should have found an operation to execute");
|
||||
|
||||
// Give the VM thread an extra quantum. Jobs tend to be bursty and this
|
||||
// helps the VM thread to finish up the job.
|
||||
// FIXME: When this is enabled and there are many threads, this can degrade
|
||||
// performance significantly.
|
||||
if( VMThreadHintNoPreempt )
|
||||
os::hint_no_preempt();
|
||||
|
||||
// If we are at a safepoint we will evaluate all the operations that
|
||||
// follow that also require a safepoint
|
||||
if (_cur_vm_operation->evaluate_at_safepoint()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue