Skip to content

Commit 865d182

Browse files
author
duke
committed
Backport fab372d3a23b17f64ae4306e28bdb0bc511f4912
1 parent 9da2208 commit 865d182

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hotspot/share/gc/g1/g1RemSet.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -830,7 +830,7 @@ class G1ScanCollectionSetRegionClosure : public HeapRegionClosure {
830830
// Scan the code root list attached to the current region
831831
r->code_roots_do(&cl);
832832

833-
_code_roots_scanned = cl.count();
833+
_code_roots_scanned += cl.count();
834834

835835
event.commit(GCId::current(), _worker_id, G1GCPhaseTimes::phase_name(_code_roots_phase));
836836
}

0 commit comments

Comments
 (0)