Skip to content

Commit f47232a

Browse files
author
Thomas Schatzl
committed
8350954: Fix repetitions of the word "the" in gc component comments
Reviewed-by: iwalulya, ayang
1 parent 30b0c60 commit f47232a

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ class G1ConcurrentRefine::RemSetSamplingClosure : public G1HeapRegionClosure {
268268
size_t sampled_code_root_rs_length() const { return _sampled_code_root_rs_length; }
269269
};
270270

271-
// Adjust the target length (in regions) of the young gen, based on the the
271+
// Adjust the target length (in regions) of the young gen, based on the
272272
// current length of the remembered sets.
273273
//
274274
// At the end of the GC G1 determines the length of the young gen based on

src/hotspot/share/gc/z/zLiveMap.inline.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ inline BitMap::idx_t ZLiveMap::find_base_bit_in_segment(BitMap::idx_t start, Bit
222222
}
223223

224224
// The bitmaps contain pairs of bits to deal with strongly marked vs only
225-
// finalizable marked. Align down to get the the first bit position.
225+
// finalizable marked. Align down to get the first bit position.
226226
return bit & ~BitMap::idx_t(1);
227227
}
228228

src/hotspot/share/gc/z/zRelocate.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -669,9 +669,9 @@ class ZRelocateWork : public StackObj {
669669
// moved them over to the current bitmap.
670670
//
671671
// If the young generation runs multiple cycles while the old generation is
672-
// relocating, then the first cycle will have consume the the old remset,
672+
// relocating, then the first cycle will have consumed the old remset,
673673
// bits and moved associated objects to a new old page. The old relocation
674-
// could find either the the two bitmaps. So, either it will find the original
674+
// could find either of the two bitmaps. So, either it will find the original
675675
// remset bits for the page, or it will find an empty bitmap for the page. It
676676
// doesn't matter for correctness, because the young generation marking has
677677
// already taken care of the bits.
@@ -865,7 +865,7 @@ class ZRelocateWork : public StackObj {
865865
start_in_place_relocation_prepare_remset(from_page);
866866

867867
if (promotion) {
868-
// Register the the promotion
868+
// Register the promotion
869869
ZGeneration::young()->in_place_relocate_promote(from_page, to_page);
870870
ZGeneration::young()->register_in_place_relocate_promoted(from_page);
871871
}

src/hotspot/share/gc/z/zUncoloredRoot.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
// The zaddress_unsafe type is used to hold uncolored oops that the GC needs
5252
// to process before it is safe to use. E.g. the original object might have
5353
// been relocated and the address needs to be updated. The zaddress type
54-
// denotes that this pointer refers the the correct address of the object.
54+
// denotes that this pointer refers to the correct address of the object.
5555

5656
class ZUncoloredRoot : public AllStatic {
5757
private:

0 commit comments

Comments
 (0)