--- a/src/hotspot/share/gc/cms/parNewGeneration.cpp Thu May 03 14:09:39 2018 +0200
+++ b/src/hotspot/share/gc/cms/parNewGeneration.cpp Thu May 03 14:10:08 2018 +0200
@@ -983,7 +983,7 @@
// Can the mt_degree be set later (at run_task() time would be best)?
rp->set_active_mt_degree(active_workers);
ReferenceProcessorStats stats;
- ReferenceProcessorPhaseTimes pt(_gc_timer, rp->num_q());
+ ReferenceProcessorPhaseTimes pt(_gc_timer, rp->num_queues());
if (rp->processing_is_mt()) {
ParNewRefProcTaskExecutor task_executor(*this, *_old_gen, thread_state_set);
stats = rp->process_discovered_references(&is_alive, &keep_alive,