8204094: assert(worker_i < _length) failed: Worker 15 is greater than max: 11 at ReferenceProcessorPhaseTimes

Reviewed-by: kbarrett, tschatzl
This commit is contained in:
Sangheon Kim 2018-06-04 21:20:16 -07:00
parent 4a7d797fda
commit 4fb9d6717d
9 changed files with 9 additions and 9 deletions

View file

@ -2111,7 +2111,7 @@ void PSParallelCompact::marking_phase(ParCompactionManager* cm,
GCTraceTime(Debug, gc, phases) tm("Reference Processing", &_gc_timer);
ReferenceProcessorStats stats;
ReferenceProcessorPhaseTimes pt(&_gc_timer, ref_processor()->num_queues());
ReferenceProcessorPhaseTimes pt(&_gc_timer, ref_processor()->max_num_queues());
if (ref_processor()->processing_is_mt()) {
RefProcTaskExecutor task_executor;
stats = ref_processor()->process_discovered_references(