< prev index next >

src/hotspot/share/gc/shared/referenceProcessor.cpp

Print this page
rev 52108 : 8212122: Allow ReferenceProcessor to always be MT processing

@@ -1378,11 +1378,11 @@
     return;
   }
 
   uint workers = ergo_proc_thread_count(ref_count, _rp->num_queues(), phase);
 
-  _rp->set_mt_processing(workers > 1);
+  _rp->adjust_mt_processing(workers);
   _rp->set_active_mt_degree(workers);
 }
 
 RefProcMTDegreeAdjuster::~RefProcMTDegreeAdjuster() {
   // Revert to previous status.
< prev index next >