--- a/src/hotspot/share/gc/g1/g1CollectedHeap.cpp Thu May 03 14:09:39 2018 +0200
+++ b/src/hotspot/share/gc/g1/g1CollectedHeap.cpp Thu May 03 14:10:08 2018 +0200
@@ -3916,9 +3916,9 @@
uint no_of_gc_workers = workers()->active_workers();
// Parallel reference processing
- assert(no_of_gc_workers <= rp->max_num_q(),
+ assert(no_of_gc_workers <= rp->max_num_queues(),
"Mismatch between the number of GC workers %u and the maximum number of Reference process queues %u",
- no_of_gc_workers, rp->max_num_q());
+ no_of_gc_workers, rp->max_num_queues());
G1STWRefProcTaskExecutor par_task_executor(this, per_thread_states, workers(), _task_queues, no_of_gc_workers);
stats = rp->process_discovered_references(&is_alive,
@@ -3956,9 +3956,9 @@
uint n_workers = workers()->active_workers();
- assert(n_workers <= rp->max_num_q(),
+ assert(n_workers <= rp->max_num_queues(),
"Mismatch between the number of GC workers %u and the maximum number of Reference process queues %u",
- n_workers, rp->max_num_q());
+ n_workers, rp->max_num_queues());
G1STWRefProcTaskExecutor par_task_executor(this, per_thread_states, workers(), _task_queues, n_workers);
rp->enqueue_discovered_references(&par_task_executor, pt);