comparison src/share/vm/gc_implementation/g1/g1RemSet.cpp @ 6628:bb3f6194fedb

7178363: G1: Remove the serial code for PrintGCDetails and make it a special case of the parallel code Summary: Also reviewed by vitalyd@gmail.com. Introduced the WorkerDataArray class. Fixed some minor logging bugs. Reviewed-by: johnc, mgerdin
author brutisso
date Thu, 23 Aug 2012 10:21:12 +0200
parents a2f7274eb6ef
children da91efe96a93
comparison
equal deleted inserted replaced
6625:153776c4cb6f 6628:bb3f6194fedb
322 // conditions, we'll revert back to parallel remembered set 322 // conditions, we'll revert back to parallel remembered set
323 // updating and scanning. See CRs 6677707 and 6677708. 323 // updating and scanning. See CRs 6677707 and 6677708.
324 if (G1UseParallelRSetUpdating || (worker_i == 0)) { 324 if (G1UseParallelRSetUpdating || (worker_i == 0)) {
325 updateRS(&into_cset_dcq, worker_i); 325 updateRS(&into_cset_dcq, worker_i);
326 } else { 326 } else {
327 _g1p->phase_times()->record_update_rs_processed_buffers(worker_i, 0.0); 327 _g1p->phase_times()->record_update_rs_processed_buffers(worker_i, 0);
328 _g1p->phase_times()->record_update_rs_time(worker_i, 0.0); 328 _g1p->phase_times()->record_update_rs_time(worker_i, 0.0);
329 } 329 }
330 if (G1UseParallelRSetScanning || (worker_i == 0)) { 330 if (G1UseParallelRSetScanning || (worker_i == 0)) {
331 scanRS(oc, worker_i); 331 scanRS(oc, worker_i);
332 } else { 332 } else {