Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/hotspot/share/gc/g1/g1ConcurrentRefine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ class G1ConcurrentRefine::RemSetSamplingClosure : public G1HeapRegionClosure {
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
Expand Down
2 changes: 1 addition & 1 deletion src/hotspot/share/gc/z/zLiveMap.inline.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down
6 changes: 3 additions & 3 deletions src/hotspot/share/gc/z/zRelocate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -669,9 +669,9 @@ class ZRelocateWork : public StackObj {
// 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.
Expand Down Expand Up @@ -865,7 +865,7 @@ class ZRelocateWork : public StackObj {
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);
}
Expand Down
2 changes: 1 addition & 1 deletion src/hotspot/share/gc/z/zUncoloredRoot.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down