7172388: G1: _total_full_collections should not be incremented for concurrent cycles

Reviewed-by: azeemj, jmasa
This commit is contained in:
Bengt Rutisson 2012-06-05 22:30:24 +02:00
parent 1ae0edb1f1
commit e294a9f5ec
5 changed files with 57 additions and 44 deletions

View file

@ -293,7 +293,7 @@ void ConcurrentMarkThread::run() {
// Java thread is waiting for a full GC to happen (e.g., it
// called System.gc() with +ExplicitGCInvokesConcurrent).
_sts.join();
g1h->increment_full_collections_completed(true /* concurrent */);
g1h->increment_old_marking_cycles_completed(true /* concurrent */);
_sts.leave();
}
assert(_should_terminate, "just checking");