< prev index next >

src/share/vm/gc/g1/g1OopClosures.cpp

Print this page
rev 8796 : imported patch 8133047-rename-g1parscanthreadstate-queue-num-to-worker-id

@@ -46,11 +46,11 @@
 void G1ParClosureSuper::set_par_scan_thread_state(G1ParScanThreadState* par_scan_state) {
   assert(_par_scan_state == NULL, "_par_scan_state must only be set once");
   assert(par_scan_state != NULL, "Must set par_scan_state to non-NULL.");
 
   _par_scan_state = par_scan_state;
-  _worker_id = par_scan_state->queue_num();
+  _worker_id = par_scan_state->worker_id();
 
   assert(_worker_id < ParallelGCThreads,
          err_msg("The given worker id %u must be less than the number of threads %u", _worker_id, ParallelGCThreads));
 }
 
< prev index next >