From 5fa23474e4dcb1f6ce9f768e7cbda159e6c41265 Mon Sep 17 00:00:00 2001 From: Thomas Schatzl Date: Mon, 3 Mar 2025 11:52:51 +0100 Subject: [PATCH] 8350955 Hi all, please review this trivial change that fixes "the the" repetitions in the runtime 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/share/cds/metaspaceShared.cpp | 2 +- src/hotspot/share/runtime/objectMonitor.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hotspot/share/cds/metaspaceShared.cpp b/src/hotspot/share/cds/metaspaceShared.cpp index 2e5ebff456e4c..9e9f9fd1d9e3d 100644 --- a/src/hotspot/share/cds/metaspaceShared.cpp +++ b/src/hotspot/share/cds/metaspaceShared.cpp @@ -151,7 +151,7 @@ static bool shared_base_valid(char* shared_base) { // We check user input for SharedBaseAddress at dump time. // At CDS runtime, "shared_base" will be the (attempted) mapping start. It will also - // be the encoding base, since the the headers of archived base objects (and with Lilliput, + // be the encoding base, since the headers of archived base objects (and with Lilliput, // the prototype mark words) carry pre-computed narrow Klass IDs that refer to the mapping // start as base. // diff --git a/src/hotspot/share/runtime/objectMonitor.hpp b/src/hotspot/share/runtime/objectMonitor.hpp index 94c4c242f8271..29971d7b4f823 100644 --- a/src/hotspot/share/runtime/objectMonitor.hpp +++ b/src/hotspot/share/runtime/objectMonitor.hpp @@ -144,7 +144,7 @@ class ObjectMonitor : public CHeapObj { // ParkEvent of unblocker thread. static ParkEvent* _vthread_unparker_ParkEvent; - // Because of frequent access, the the metadata field is at offset zero (0). + // Because of frequent access, the metadata field is at offset zero (0). // Enforced by the assert() in metadata_addr(). // * LM_LIGHTWEIGHT with UseObjectMonitorTable: // Contains the _object's hashCode.