mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8217343: Shenandoah control thread should be able to run at critical priority
Reviewed-by: rkennke
This commit is contained in:
parent
028cf5ae00
commit
2858e8f4e2
3 changed files with 45 additions and 1 deletions
|
@ -47,7 +47,7 @@ ShenandoahControlThread::ShenandoahControlThread() :
|
|||
_degen_point(ShenandoahHeap::_degenerated_outside_cycle),
|
||||
_allocs_seen(0) {
|
||||
|
||||
create_and_start();
|
||||
create_and_start(ShenandoahCriticalControlThreadPriority ? CriticalPriority : NearMaxPriority);
|
||||
_periodic_task.enroll();
|
||||
_periodic_satb_flush_task.enroll();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue