Mercurial > hg > graal-jvmci-8
comparison src/share/vm/gc_implementation/g1/g1RemSet.cpp @ 648:2314b7336582
6820321: G1: Error: guarantee(check_nums(total, n, parts), "all seq lengths should match")
Summary: Small fixes to sort out some verbosegc-related incorrectness and a failure
Reviewed-by: apetrusenko
author | tonyp |
---|---|
date | Sat, 21 Mar 2009 22:53:04 -0400 |
parents | ba50942c8138 |
children | 96b229c54d1e |
comparison
equal
deleted
inserted
replaced
640:ba50942c8138 | 648:2314b7336582 |
---|---|
509 // conditions, we'll revert back to parallel remembered set | 509 // conditions, we'll revert back to parallel remembered set |
510 // updating and scanning. See CRs 6677707 and 6677708. | 510 // updating and scanning. See CRs 6677707 and 6677708. |
511 if (G1EnableParallelRSetUpdating || (worker_i == 0)) { | 511 if (G1EnableParallelRSetUpdating || (worker_i == 0)) { |
512 updateRS(worker_i); | 512 updateRS(worker_i); |
513 scanNewRefsRS(oc, worker_i); | 513 scanNewRefsRS(oc, worker_i); |
514 } else { | |
515 _g1p->record_update_rs_start_time(worker_i, os::elapsedTime()); | |
516 _g1p->record_update_rs_processed_buffers(worker_i, 0.0); | |
517 _g1p->record_update_rs_time(worker_i, 0.0); | |
518 _g1p->record_scan_new_refs_time(worker_i, 0.0); | |
514 } | 519 } |
515 if (G1EnableParallelRSetScanning || (worker_i == 0)) { | 520 if (G1EnableParallelRSetScanning || (worker_i == 0)) { |
516 scanRS(oc, worker_i); | 521 scanRS(oc, worker_i); |
522 } else { | |
523 _g1p->record_scan_rs_start_time(worker_i, os::elapsedTime()); | |
524 _g1p->record_scan_rs_time(worker_i, 0.0); | |
517 } | 525 } |
518 } else { | 526 } else { |
519 assert(worker_i == 0, "invariant"); | 527 assert(worker_i == 0, "invariant"); |
520 updateRS(0); | 528 updateRS(0); |
521 scanNewRefsRS(oc, 0); | 529 scanNewRefsRS(oc, 0); |