--- old/src/hotspot/share/gc/parallel/psParallelCompact.cpp 2018-04-19 22:05:05.304781219 +0200 +++ new/src/hotspot/share/gc/parallel/psParallelCompact.cpp 2018-04-19 22:05:05.020772410 +0200 @@ -1038,7 +1038,7 @@ DerivedPointerTable::update_pointers(); #endif - ReferenceProcessorPhaseTimes pt(&_gc_timer, ref_processor()->num_q()); + ReferenceProcessorPhaseTimes pt(&_gc_timer, ref_processor()->num_queues()); ref_processor()->enqueue_discovered_references(NULL, &pt); @@ -2105,7 +2105,7 @@ GCTraceTime(Debug, gc, phases) tm("Reference Processing", &_gc_timer); ReferenceProcessorStats stats; - ReferenceProcessorPhaseTimes pt(&_gc_timer, ref_processor()->num_q()); + ReferenceProcessorPhaseTimes pt(&_gc_timer, ref_processor()->num_queues()); if (ref_processor()->processing_is_mt()) { RefProcTaskExecutor task_executor; stats = ref_processor()->process_discovered_references(