From 3602c8cfd805d2e5ae07685145b91bf2c20e255a Mon Sep 17 00:00:00 2001 From: Thomas Schatzl Date: Mon, 3 Mar 2025 16:51:56 +0000 Subject: [PATCH] 8350955: Fix repetitions of the word "the" in runtime component comments Reviewed-by: coleenp --- 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 2e5ebff456e..9e9f9fd1d9e 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 94c4c242f82..29971d7b4f8 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.