8243487: Shenandoah: make _num_phases illegal phase type

Reviewed-by: rkennke
This commit is contained in:
Aleksey Shipilev 2020-04-23 18:37:09 +02:00
parent 8db994854f
commit 079b60c6b9
3 changed files with 11 additions and 10 deletions

View file

@ -248,7 +248,7 @@ void ShenandoahRootAdjuster::roots_do(uint worker_id, OopClosure* oops) {
}
ShenandoahHeapIterationRootScanner::ShenandoahHeapIterationRootScanner() :
ShenandoahRootProcessor(ShenandoahPhaseTimings::_num_phases),
ShenandoahRootProcessor(ShenandoahPhaseTimings::heap_iteration_roots),
_thread_roots(false /*is par*/) {
}