From 65784f933bf2e4467e45d73dbf1aa5c5f408f59c Mon Sep 17 00:00:00 2001 From: Serguei Spitsyn Date: Tue, 3 Feb 2026 01:25:10 -0800 Subject: [PATCH] review: fixed minor typos in newly added comments --- src/hotspot/share/prims/jvmtiThreadState.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hotspot/share/prims/jvmtiThreadState.cpp b/src/hotspot/share/prims/jvmtiThreadState.cpp index d22f2697038..489a5fc44e2 100644 --- a/src/hotspot/share/prims/jvmtiThreadState.cpp +++ b/src/hotspot/share/prims/jvmtiThreadState.cpp @@ -58,11 +58,11 @@ JvmtiThreadState::JvmtiThreadState(JavaThread* thread, oop thread_oop) assert(JvmtiThreadState_lock->is_locked(), "sanity check"); // The _thread field is a link to the JavaThread associated with JvmtiThreadState. - // The _thread_saved field is used for carrier threads only when a virtual thread, + // The _thread_saved field is used for carrier threads only when a virtual thread // is mounted. Otherwise, it must be set to nullptr. // Carrier and virtual threads can temporarily share same JavaThread. In such a case, // only virtual _thread should have a link from JvmtiThreadState to JavaThread. - // The carrier thread _thread filed is set to nullptr if a virtual thread is monted. + // The carrier thread _thread field is set to nullptr if a virtual thread is monted. // This is important for interp-only mechanism. if (JvmtiEnvBase::is_thread_carrying_vthread(thread, thread_oop)) { _thread = nullptr;