--- a/src/hotspot/share/gc/serial/genMarkSweep.cpp Thu May 03 14:09:39 2018 +0200
+++ b/src/hotspot/share/gc/serial/genMarkSweep.cpp Thu May 03 14:10:08 2018 +0200
@@ -208,7 +208,7 @@
GCTraceTime(Debug, gc, phases) tm_m("Reference Processing", gc_timer());
ref_processor()->setup_policy(clear_all_softrefs);
- ReferenceProcessorPhaseTimes pt(_gc_timer, ref_processor()->num_q());
+ ReferenceProcessorPhaseTimes pt(_gc_timer, ref_processor()->num_queues());
const ReferenceProcessorStats& stats =
ref_processor()->process_discovered_references(
&is_alive, &keep_alive, &follow_stack_closure, NULL, &pt);