From 73f484b08861a8e6800c4e364f44192c0ad19b21 Mon Sep 17 00:00:00 2001 From: vsadov <8218165+VSadov@users.noreply.github.com> Date: Wed, 29 May 2024 15:49:16 -0700 Subject: [PATCH] tweak comments --- src/coreclr/nativeaot/Runtime/EHHelpers.cpp | 2 +- src/coreclr/vm/excep.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/coreclr/nativeaot/Runtime/EHHelpers.cpp b/src/coreclr/nativeaot/Runtime/EHHelpers.cpp index 33aa768d2dbbe..172b26532b617 100644 --- a/src/coreclr/nativeaot/Runtime/EHHelpers.cpp +++ b/src/coreclr/nativeaot/Runtime/EHHelpers.cpp @@ -548,7 +548,7 @@ int32_t __stdcall RhpVectoredExceptionHandler(PEXCEPTION_POINTERS pExPtrs) Thread * pThread = ThreadStore::GetCurrentThreadIfAvailable(); if (pThread == NULL || !pThread->IsCurrentThreadInCooperativeMode()) { - // if we are not in coop mode or the thread is not hijacked, this cannot be our hijack + // if we are not in coop mode, this cannot be our hijack // Perhaps some other runtime is responsible. return EXCEPTION_CONTINUE_SEARCH; } diff --git a/src/coreclr/vm/excep.cpp b/src/coreclr/vm/excep.cpp index 7d26da1d6adc8..f576a1a6901f2 100644 --- a/src/coreclr/vm/excep.cpp +++ b/src/coreclr/vm/excep.cpp @@ -6769,8 +6769,8 @@ VEH_ACTION WINAPI CLRVectoredExceptionHandler(PEXCEPTION_POINTERS pExceptionInfo { if (pThread == NULL || !pThread->PreemptiveGCDisabled()) { - // If we are not in coop mode or the thread is not hijacked, this cannot be our hijack. - // Perhaps someone else is trying to hijack us. + // if we are not in coop mode, this cannot be our hijack + // Perhaps some other runtime is responsible. return VEH_CONTINUE_SEARCH; }