From bbae2cf6782100133f0b39ac670cc59694411f00 Mon Sep 17 00:00:00 2001 From: Thomas Schatzl Date: Mon, 3 Mar 2025 11:49:58 +0100 Subject: [PATCH] 8350956 Hi all, please review this trivial change that fixes "the the" repetitions in the compiler related sources. If you think it's not worth fixing, I am okay with that and just retract the change. Testing: gha Thanks, Thomas --- src/hotspot/cpu/arm/frame_arm.inline.hpp | 2 +- src/hotspot/share/opto/escape.cpp | 2 +- src/hotspot/share/opto/vectorization.hpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/hotspot/cpu/arm/frame_arm.inline.hpp b/src/hotspot/cpu/arm/frame_arm.inline.hpp index 801b2f6177c3b..92a48f22f8cec 100644 --- a/src/hotspot/cpu/arm/frame_arm.inline.hpp +++ b/src/hotspot/cpu/arm/frame_arm.inline.hpp @@ -62,7 +62,7 @@ inline void frame::init(intptr_t* sp, intptr_t* unextended_sp, intptr_t* fp, add if (original_pc != nullptr) { _pc = original_pc; assert(_cb->as_nmethod()->insts_contains_inclusive(_pc), - "original PC must be in the main code section of the the compiled method (or must be immediately following it)"); + "original PC must be in the main code section of the compiled method (or must be immediately following it)"); _deopt_state = is_deoptimized; } else { _deopt_state = not_deoptimized; diff --git a/src/hotspot/share/opto/escape.cpp b/src/hotspot/share/opto/escape.cpp index 0ab911c18be87..a90c27861c15b 100644 --- a/src/hotspot/share/opto/escape.cpp +++ b/src/hotspot/share/opto/escape.cpp @@ -4472,7 +4472,7 @@ void ConnectionGraph::split_unique_types(GrowableArray &alloc_worklist, } } else if (n->is_AddP()) { if (has_reducible_merge_base(n->as_AddP(), reducible_merges)) { - // This AddP will go away when we reduce the the Phi + // This AddP will go away when we reduce the Phi continue; } Node* addp_base = get_addp_base(n); diff --git a/src/hotspot/share/opto/vectorization.hpp b/src/hotspot/share/opto/vectorization.hpp index 620eac25c9b5c..2a2186ab0aa23 100644 --- a/src/hotspot/share/opto/vectorization.hpp +++ b/src/hotspot/share/opto/vectorization.hpp @@ -445,7 +445,7 @@ class VLoopBody : public StackObj { // types (byte, char, short). In the C2 IR, their operations are // done with full int type with 4 byte precision (e.g. AddI, MulI). // Example: char a,b,c; a = (char)(b + c); -// However, if we can prove the the upper bits are only truncated, +// However, if we can prove the upper bits are only truncated, // and the lower bits for the narrower type computed correctly, we // can compute the operations in the narrower type directly (e.g we // perform the AddI or MulI with 1 or 2 bytes). This allows us to