mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 14:24:46 +02:00
7172388: G1: _total_full_collections should not be incremented for concurrent cycles
Reviewed-by: azeemj, jmasa
This commit is contained in:
parent
1ae0edb1f1
commit
e294a9f5ec
5 changed files with 57 additions and 44 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue