summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ToolBox/SOS/Strike/util.cpp2
-rw-r--r--src/binder/textualidentityparser.cpp4
-rw-r--r--src/debug/di/process.cpp2
-rw-r--r--src/debug/di/rsstackwalk.cpp2
-rw-r--r--src/debug/ee/debuggermodule.cpp2
-rw-r--r--src/gc/gc.cpp4
-rw-r--r--src/jit/lower.cpp2
-rw-r--r--src/jit/optimizer.cpp2
-rw-r--r--src/pal/src/synchobj/mutex.cpp2
-rw-r--r--src/unwinder/arm64/unwinder_arm64.cpp4
-rw-r--r--src/vm/codeman.cpp2
-rw-r--r--src/vm/invokeutil.cpp8
-rw-r--r--src/vm/jitinterface.cpp2
-rw-r--r--src/vm/loaderallocator.cpp2
-rw-r--r--src/vm/threadsuspend.cpp2
-rw-r--r--src/vm/win32threadpool.cpp2
16 files changed, 22 insertions, 22 deletions
diff --git a/src/ToolBox/SOS/Strike/util.cpp b/src/ToolBox/SOS/Strike/util.cpp
index 8c9e584497..937d9a34f0 100644
--- a/src/ToolBox/SOS/Strike/util.cpp
+++ b/src/ToolBox/SOS/Strike/util.cpp
@@ -4824,7 +4824,7 @@ HRESULT InitCorDebugInterface()
if(g_pCorDebugProcess != NULL)
{
// ICorDebugProcess4 is currently considered a private experimental interface on ICorDebug, it might go away so
- // we need to be sure to handle its absense gracefully
+ // we need to be sure to handle its absence gracefully
ToRelease<ICorDebugProcess4> pProcess4 = NULL;
if(SUCCEEDED(g_pCorDebugProcess->QueryInterface(__uuidof(ICorDebugProcess4), (void**)&pProcess4)))
{
diff --git a/src/binder/textualidentityparser.cpp b/src/binder/textualidentityparser.cpp
index 2913847dd2..7cd4545187 100644
--- a/src/binder/textualidentityparser.cpp
+++ b/src/binder/textualidentityparser.cpp
@@ -159,13 +159,13 @@ namespace BINDER_SPACE
{ W("MSIL"), peMSIL } };
BOOL ValidateAndConvertProcessorArchitecture(SString &processorArchitecture,
- PEKIND *pkProcessorAchitecture)
+ PEKIND *pkProcessorArchitecture)
{
for (int i = LENGTH_OF(wszKnownArchitectures); i--;)
{
if (EqualsCaseInsensitive(processorArchitecture, wszKnownArchitectures[i].strValue))
{
- *pkProcessorAchitecture = wszKnownArchitectures[i].enumValue;
+ *pkProcessorArchitecture = wszKnownArchitectures[i].enumValue;
return TRUE;
}
}
diff --git a/src/debug/di/process.cpp b/src/debug/di/process.cpp
index 9a123c4d5e..429a274705 100644
--- a/src/debug/di/process.cpp
+++ b/src/debug/di/process.cpp
@@ -508,7 +508,7 @@ IMDInternalImport * CordbProcess::LookupMetaDataFromDebuggerForSingleFile(
// metadata content that is readable and we'll 'succeed'.
// For now, this is by-design. A debugger should be allowed to decide if it wants
// to take a risk by returning 'mostly matching' metadata to see if debugging is
- // possible in the absense of a true match.
+ // possible in the absence of a true match.
pMDII = pModule->GetInternalMD();
}
}
diff --git a/src/debug/di/rsstackwalk.cpp b/src/debug/di/rsstackwalk.cpp
index 466e113d8f..e619243b35 100644
--- a/src/debug/di/rsstackwalk.cpp
+++ b/src/debug/di/rsstackwalk.cpp
@@ -741,7 +741,7 @@ HRESULT CordbStackWalk::GetFrameWorker(ICorDebugFrame ** ppFrame)
_ASSERTE(pCode != NULL);
// We populate the code for ReJit eagerly to make sure we still have it if the profiler removes the
- // instrumentation later. Of course the only way it will still be accesible to our caller is if he
+ // instrumentation later. Of course the only way it will still be accessible to our caller is if he
// saves a pointer to the ILCode.
// I'm not sure if ignoring rejit for mini-dumps is the right call long term, but we aren't doing
// anything special to collect the memory at dump time so we better be prepared to not fetch it here.
diff --git a/src/debug/ee/debuggermodule.cpp b/src/debug/ee/debuggermodule.cpp
index 25504263b1..8a20939947 100644
--- a/src/debug/ee/debuggermodule.cpp
+++ b/src/debug/ee/debuggermodule.cpp
@@ -159,7 +159,7 @@ void DebuggerModuleTable::RemoveModules(AppDomain *pAppDomain)
{
LOG((LF_CORDB, LL_INFO1000, "DMT::RM removing DebuggerModule 0x%08x\n", pDM));
- // Defer to the normal logic in RemoveModule for the actual removal. This accuratley simulates what
+ // Defer to the normal logic in RemoveModule for the actual removal. This accurately simulates what
// happens when we process an UnloadModule event.
RemoveModule(pDM->GetRuntimeModule(), pAppDomain);
diff --git a/src/gc/gc.cpp b/src/gc/gc.cpp
index 119937d83c..818805771e 100644
--- a/src/gc/gc.cpp
+++ b/src/gc/gc.cpp
@@ -11691,7 +11691,7 @@ check_other_factors:
dprintf (2, ("FGN: we estimate gen%d will be collected", n));
#ifdef BACKGROUND_GC
- // When background GC is enabled it decreases the accurancy of our predictability -
+ // When background GC is enabled it decreases the accuracy of our predictability -
// by the time the GC happens, we may not be under BGC anymore. If we try to
// predict often enough it should be ok.
if ((n == max_generation) &&
@@ -21104,7 +21104,7 @@ void gc_heap::compact_loh()
{
if (!heap_segment_read_only_p (seg))
{
- // We grew the segment to accommondate allocations.
+ // We grew the segment to accommodate allocations.
if (heap_segment_plan_allocated (seg) > heap_segment_allocated (seg))
{
if ((heap_segment_plan_allocated (seg) - plug_skew) > heap_segment_used (seg))
diff --git a/src/jit/lower.cpp b/src/jit/lower.cpp
index 531e0da755..efd927bc16 100644
--- a/src/jit/lower.cpp
+++ b/src/jit/lower.cpp
@@ -4189,7 +4189,7 @@ GenTree* Lowering::LowerVirtualStubCall(GenTreeCall* call)
noway_assert(call->IsVirtualStubRelativeIndir());
// Direct stub calls, though the stubAddr itself may still need to be
- // accesed via an indirection.
+ // accessed via an indirection.
GenTree* addr = AddrGen(stubAddr);
#ifdef _TARGET_X86_
diff --git a/src/jit/optimizer.cpp b/src/jit/optimizer.cpp
index 37be0a5b00..11e956b17d 100644
--- a/src/jit/optimizer.cpp
+++ b/src/jit/optimizer.cpp
@@ -3901,7 +3901,7 @@ void Compiler::optUnrollLoops()
/* Make sure to update loop table */
- /* Use the LPFLG_REMOVED flag and update the bbLoopMask acordingly
+ /* Use the LPFLG_REMOVED flag and update the bbLoopMask accordingly
* (also make head and bottom NULL - to hit an assert or GPF) */
optLoopTable[lnum].lpFlags |= LPFLG_REMOVED;
diff --git a/src/pal/src/synchobj/mutex.cpp b/src/pal/src/synchobj/mutex.cpp
index d5f4edd110..f2016873e9 100644
--- a/src/pal/src/synchobj/mutex.cpp
+++ b/src/pal/src/synchobj/mutex.cpp
@@ -690,7 +690,7 @@ CorUnix::InternalOpenMutex(
_ASSERTE(NULL != lpName);
_ASSERTE(NULL != phMutex);
- ENTRY("InternalOpenMutex(pthr=%p, dwDesiredAcces=%d, bInheritHandle=%d, "
+ ENTRY("InternalOpenMutex(pthr=%p, dwDesiredAccess=%d, bInheritHandle=%d, "
"lpName=%p, phMutex=%p)\n",
pthr,
dwDesiredAccess,
diff --git a/src/unwinder/arm64/unwinder_arm64.cpp b/src/unwinder/arm64/unwinder_arm64.cpp
index 1edb94a746..c9f07eb4b7 100644
--- a/src/unwinder/arm64/unwinder_arm64.cpp
+++ b/src/unwinder/arm64/unwinder_arm64.cpp
@@ -460,7 +460,7 @@ Arguments:
SpOffset - Specifies a stack offset. Positive values are simply used
as a base offset. Negative values assume a predecrement behavior:
- a 0 offset is used for restoration, but the absoute value of the
+ a 0 offset is used for restoration, but the absolute value of the
offset is added to the final Sp.
FirstRegister - Specifies the index of the first register to restore.
@@ -536,7 +536,7 @@ Arguments:
SpOffset - Specifies a stack offset. Positive values are simply used
as a base offset. Negative values assume a predecrement behavior:
- a 0 offset is used for restoration, but the absoute value of the
+ a 0 offset is used for restoration, but the absolute value of the
offset is added to the final Sp.
FirstRegister - Specifies the index of the first register to restore.
diff --git a/src/vm/codeman.cpp b/src/vm/codeman.cpp
index 94e849fd44..4c8aee2038 100644
--- a/src/vm/codeman.cpp
+++ b/src/vm/codeman.cpp
@@ -869,7 +869,7 @@ BOOL IsFunctionFragment(TADDR baseAddress, PTR_RUNTIME_FUNCTION pFunctionEntry)
// simplifies identifying a host record a lot.
//
// 1. Prolog only: The host record. Epilog Count and E bit are all 0.
- // 2. Prolog and some epilogs: The host record with acompannying epilog-only records
+ // 2. Prolog and some epilogs: The host record with accompanying epilog-only records
// 3. Epilogs only: First unwind code is Phantom prolog (Starting with an end_c, indicating an empty prolog)
// 4. No prologs or epilogs: First unwind code is Phantom prolog (Starting with an end_c, indicating an empty prolog)
//
diff --git a/src/vm/invokeutil.cpp b/src/vm/invokeutil.cpp
index a45e81b262..c638af4150 100644
--- a/src/vm/invokeutil.cpp
+++ b/src/vm/invokeutil.cpp
@@ -1461,7 +1461,7 @@ void InvokeUtil::CanAccessField(RefSecContext* pCtx,
}
//
-// Ensure that a type is accessable, throwing a TypeLoadException if not
+// Ensure that a type is accessible, throwing a TypeLoadException if not
//
// Arguments:
// pCtx - current reflection context
@@ -1513,7 +1513,7 @@ void InvokeUtil::CheckAccessClass(RefSecContext *pCtx,
}
//
-// Ensure that a method is accessable, throwing a MethodAccessException if not
+// Ensure that a method is accessible, throwing a MethodAccessException if not
//
// Arguments:
// pCtx - current reflection context
@@ -1554,7 +1554,7 @@ void InvokeUtil::CheckAccessMethod(RefSecContext *pCtx,
}
//
-// Ensure that a field is accessable, throwing a FieldAccessException if not
+// Ensure that a field is accessible, throwing a FieldAccessException if not
//
// Arguments:
// pCtx - current reflection context
@@ -1597,7 +1597,7 @@ void InvokeUtil::CheckAccessField(RefSecContext *pCtx,
//
-// Check accessability of a field or method.
+// Check accessibility of a field or method.
//
// Arguments:
// pCtx - current reflection context
diff --git a/src/vm/jitinterface.cpp b/src/vm/jitinterface.cpp
index 99fa53d763..d886091d6c 100644
--- a/src/vm/jitinterface.cpp
+++ b/src/vm/jitinterface.cpp
@@ -5684,7 +5684,7 @@ void CEEInfo::getCallInfo(
MethodTable* pTypeParamMT = typeParam.GetMethodTable();
- // No accees check is need for Var, MVar, or FnPtr.
+ // No access check is need for Var, MVar, or FnPtr.
if (pTypeParamMT != NULL)
canAccessMethod = ClassLoader::CanAccessClass(&accessContext,
pTypeParamMT,
diff --git a/src/vm/loaderallocator.cpp b/src/vm/loaderallocator.cpp
index a27de7e4f1..6b118ad92b 100644
--- a/src/vm/loaderallocator.cpp
+++ b/src/vm/loaderallocator.cpp
@@ -524,7 +524,7 @@ void LoaderAllocator::GCLoaderAllocators(AppDomain * pAppDomain)
delete pDomainLoaderAllocatorDestroyIterator->m_pDomainAssemblyToDelete;
// We really don't have to set it to NULL as the assembly is not reachable anymore, but just in case ...
- // (Also debugging NULL AVs if someone uses it accidentaly is so much easier)
+ // (Also debugging NULL AVs if someone uses it accidentally is so much easier)
pDomainLoaderAllocatorDestroyIterator->m_pDomainAssemblyToDelete = NULL;
pDomainLoaderAllocatorDestroyIterator = pDomainLoaderAllocatorDestroyIterator->m_pLoaderAllocatorDestroyNext;
diff --git a/src/vm/threadsuspend.cpp b/src/vm/threadsuspend.cpp
index 405a6675d6..79a8069c8b 100644
--- a/src/vm/threadsuspend.cpp
+++ b/src/vm/threadsuspend.cpp
@@ -1537,7 +1537,7 @@ Thread::UserAbort(ThreadAbortRequester requester,
Thread *pCurThread = GetThread();
- // If aboring self
+ // If aborting self
if (this == pCurThread)
{
SetAbortInitiated();
diff --git a/src/vm/win32threadpool.cpp b/src/vm/win32threadpool.cpp
index 34097feca7..ad7ac3a063 100644
--- a/src/vm/win32threadpool.cpp
+++ b/src/vm/win32threadpool.cpp
@@ -3450,7 +3450,7 @@ Top:
// or in CompletionPortDispatchWorkWithinAppDomain, and passed here through StoreOverlappedInfoInThread)
// For the purposes of activity correlation we only fire ETW events here, if needed OR if not fired at a higher
- // abstration level (e.g. ThreadpoolMgr::RegisterWaitForSingleObject)
+ // abstraction level (e.g. ThreadpoolMgr::RegisterWaitForSingleObject)
// Note: we still fire the event for managed async IO, despite the fact we don't have a paired IOEnqueue event
// for this case. We do this to "mark" the end of the previous workitem. When we provide full support at the higher
// abstraction level for managed IO we can remove the IODequeues fired here