mirror of
https://github.com/openjdk/jdk.git
synced 2026-05-11 14:11:36 +00:00
8350954: Fix repetitions of the word "the" in gc component comments
Reviewed-by: iwalulya, ayang
This commit is contained in:
parent
30b0c60980
commit
f47232ad71
@ -268,7 +268,7 @@ public:
|
||||
size_t sampled_code_root_rs_length() const { return _sampled_code_root_rs_length; }
|
||||
};
|
||||
|
||||
// Adjust the target length (in regions) of the young gen, based on the the
|
||||
// Adjust the target length (in regions) of the young gen, based on the
|
||||
// current length of the remembered sets.
|
||||
//
|
||||
// At the end of the GC G1 determines the length of the young gen based on
|
||||
|
||||
@ -222,7 +222,7 @@ inline BitMap::idx_t ZLiveMap::find_base_bit_in_segment(BitMap::idx_t start, Bit
|
||||
}
|
||||
|
||||
// The bitmaps contain pairs of bits to deal with strongly marked vs only
|
||||
// finalizable marked. Align down to get the the first bit position.
|
||||
// finalizable marked. Align down to get the first bit position.
|
||||
return bit & ~BitMap::idx_t(1);
|
||||
}
|
||||
|
||||
|
||||
@ -669,9 +669,9 @@ private:
|
||||
// moved them over to the current bitmap.
|
||||
//
|
||||
// If the young generation runs multiple cycles while the old generation is
|
||||
// relocating, then the first cycle will have consume the the old remset,
|
||||
// relocating, then the first cycle will have consumed the old remset,
|
||||
// bits and moved associated objects to a new old page. The old relocation
|
||||
// could find either the the two bitmaps. So, either it will find the original
|
||||
// could find either of the two bitmaps. So, either it will find the original
|
||||
// remset bits for the page, or it will find an empty bitmap for the page. It
|
||||
// doesn't matter for correctness, because the young generation marking has
|
||||
// already taken care of the bits.
|
||||
@ -865,7 +865,7 @@ private:
|
||||
start_in_place_relocation_prepare_remset(from_page);
|
||||
|
||||
if (promotion) {
|
||||
// Register the the promotion
|
||||
// Register the promotion
|
||||
ZGeneration::young()->in_place_relocate_promote(from_page, to_page);
|
||||
ZGeneration::young()->register_in_place_relocate_promoted(from_page);
|
||||
}
|
||||
|
||||
@ -51,7 +51,7 @@
|
||||
// The zaddress_unsafe type is used to hold uncolored oops that the GC needs
|
||||
// to process before it is safe to use. E.g. the original object might have
|
||||
// been relocated and the address needs to be updated. The zaddress type
|
||||
// denotes that this pointer refers the the correct address of the object.
|
||||
// denotes that this pointer refers to the correct address of the object.
|
||||
|
||||
class ZUncoloredRoot : public AllStatic {
|
||||
private:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user