--- a/src/hotspot/share/runtime/vmThread.cpp Fri Aug 10 09:30:26 2018 -0400
+++ b/src/hotspot/share/runtime/vmThread.cpp Fri Aug 10 09:36:01 2018 -0400
@@ -482,13 +482,6 @@
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()) {