Skip to content

Commit d786c49

Browse files
committedJan 2, 2024
8322751: ZGC: Fix comments about marking roots
Reviewed-by: eosterlund
1 parent 5852f3e commit d786c49

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
 

‎src/hotspot/share/gc/x/xHeap.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ void XHeap::mark_start() {
249249
// Enter mark phase
250250
XGlobalPhase = XPhaseMark;
251251

252-
// Reset marking information and mark roots
252+
// Reset marking information
253253
_mark.start();
254254

255255
// Update statistics

‎src/hotspot/share/gc/z/zGeneration.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -861,7 +861,7 @@ void ZGenerationYoung::mark_start() {
861861
// Enter mark phase
862862
set_phase(Phase::Mark);
863863

864-
// Reset marking information and mark roots
864+
// Reset marking information
865865
_mark.start();
866866

867867
// Flip remembered set bits
@@ -1213,7 +1213,7 @@ void ZGenerationOld::mark_start() {
12131213
// Enter mark phase
12141214
set_phase(Phase::Mark);
12151215

1216-
// Reset marking information and mark roots
1216+
// Reset marking information
12171217
_mark.start();
12181218

12191219
// Update statistics

0 commit comments

Comments
 (0)
Please sign in to comment.