diff --git a/src/Native/Runtime/RHCodeMan.cpp b/src/Native/Runtime/RHCodeMan.cpp index b6a173bb27e..627b586aeed 100644 --- a/src/Native/Runtime/RHCodeMan.cpp +++ b/src/Native/Runtime/RHCodeMan.cpp @@ -891,7 +891,7 @@ bool EECodeManager::UnwindStackFrame(GCInfoHeader * pInfoHeader, { CalleeSavedRegMask regMask = pInfoHeader->GetSavedRegs(); ASSERT_MSG(ebpFrame || !(regMask & CSR_MASK_RBP), "We should never use EBP as a preserved register"); - ASSERT_MSG(!(regMask & CSR_MASK_RBX) || !pInfoHeader->HasDynamicAlignment(), "Can't have EBX as preserved regster and dynamic alignment frame pointer") + ASSERT_MSG(!(regMask & CSR_MASK_RBX) || !pInfoHeader->HasDynamicAlignment(), "Can't have EBX as preserved register and dynamic alignment frame pointer") if (regMask & CSR_MASK_RBX) { pContext->pRbx = (PTR_UIntNative)((PTR_UInt8)RSP - registerSaveDisplacement); ++RSP; } // registers saved at bottom of frame if (regMask & CSR_MASK_RSI) { pContext->pRsi = (PTR_UIntNative)((PTR_UInt8)RSP - registerSaveDisplacement); ++RSP; } // registers saved at bottom of frame if (regMask & CSR_MASK_RDI) { pContext->pRdi = (PTR_UIntNative)((PTR_UInt8)RSP - registerSaveDisplacement); ++RSP; } // registers saved at bottom of frame diff --git a/src/Native/Runtime/thread.cpp b/src/Native/Runtime/thread.cpp index 994c21dad88..94bfd3182bc 100644 --- a/src/Native/Runtime/thread.cpp +++ b/src/Native/Runtime/thread.cpp @@ -132,7 +132,7 @@ void Thread::ResetCachedTransitionFrame() // This function simulates a PInvoke transition using a frame pointer from somewhere further up the stack that // was passed in via the m_pHackPInvokeTunnel field. It is used to allow us to grandfather-in the set of GC // code that runs in cooperative mode without having to rewrite it in managed code. The result is that the -// code that calls into this special mode must spill preserved registeres as if it's going to PInvoke, but +// code that calls into this special mode must spill preserved registers as if it's going to PInvoke, but // record its transition frame pointer in m_pHackPInvokeTunnel and leave the thread in the cooperative // mode. Later on, when this function is called, we effect the state transition to 'unmanaged' using the // previously setup transition frame. diff --git a/src/Native/Runtime/windows/PalRedhawkCommon.cpp b/src/Native/Runtime/windows/PalRedhawkCommon.cpp index 7618b24c0d1..f5783eb6c1e 100644 --- a/src/Native/Runtime/windows/PalRedhawkCommon.cpp +++ b/src/Native/Runtime/windows/PalRedhawkCommon.cpp @@ -143,7 +143,7 @@ REDHAWK_PALEXPORT void REDHAWK_PALAPI PalGetPDBInfo(HANDLE hOsHandle, _Out_ GUID if (cbDebugData < size_t(&((CV_INFO_PDB70*)0)->magic) + sizeof(((CV_INFO_PDB70*)0)->magic)) { // raw data too small to contain magic number at expected spot, so its format - // is not recognizeable. Skip + // is not recognizable. Skip continue; } diff --git a/src/Native/gc/gc.cpp b/src/Native/gc/gc.cpp index 5c673c0be45..e7efbe04651 100644 --- a/src/Native/gc/gc.cpp +++ b/src/Native/gc/gc.cpp @@ -9617,7 +9617,7 @@ void gc_heap::restart_vm() { //assert (generation_allocation_pointer (youngest_generation) == 0); dprintf (3, ("Restarting EE")); - STRESS_LOG0(LF_GC, LL_INFO10000, "Concurrent GC: Retarting EE\n"); + STRESS_LOG0(LF_GC, LL_INFO10000, "Concurrent GC: Restarting EE\n"); ee_proceed_event.Set(); } @@ -26667,7 +26667,7 @@ BOOL gc_heap::prepare_bgc_thread(gc_heap* gh) gh->bgc_threads_timeout_cs.Enter(); if (!(gh->bgc_thread_running)) { - dprintf (2, ("GC thread not runnning")); + dprintf (2, ("GC thread not running")); if ((gh->bgc_thread == 0) && create_bgc_thread(gh)) { success = TRUE; @@ -36708,7 +36708,7 @@ inline void testGCShadow(Object** ptr) if (*ptr != 0 && (uint8_t*) shadow < g_GCShadowEnd && *ptr != *shadow) { - // If you get this assertion, someone updated a GC poitner in the heap without + // If you get this assertion, someone updated a GC pointer in the heap without // using the write barrier. To find out who, check the value of // dd_collection_count (dynamic_data_of (0)). Also // note the value of 'ptr'. Rerun the App that the previous GC just occurred. diff --git a/src/Native/gc/handletable.cpp b/src/Native/gc/handletable.cpp index 2b598528c51..1b685ab44e3 100644 --- a/src/Native/gc/handletable.cpp +++ b/src/Native/gc/handletable.cpp @@ -933,7 +933,7 @@ void HndEnumHandles(HHANDLETABLE hTable, const uint32_t *puType, uint32_t uTypeC * * Multiple type scanning entrypoint for GC. * - * This entrypoint is provided for GC-time scnas of the handle table ONLY. It + * This entrypoint is provided for GC-time scans of the handle table ONLY. It * enables ephemeral scanning of the table, and optionally ages the write barrier * as it scans. * diff --git a/src/Native/libunwind/src/Unwind-EHABI.cpp b/src/Native/libunwind/src/Unwind-EHABI.cpp index 18b82f8c81d..11465521510 100644 --- a/src/Native/libunwind/src/Unwind-EHABI.cpp +++ b/src/Native/libunwind/src/Unwind-EHABI.cpp @@ -217,7 +217,7 @@ decode_eht_entry(const uint32_t* data, size_t* off, size_t* len) { // only by the personality routine. Fortunately, all existing assembler // implementations, including GNU assembler, LLVM integrated assembler, // and ARM assembler, assume that the unwind opcodes come after the - // personality rountine address. + // personality routine address. *off = 1; // First byte is size data. *len = (((data[1] >> 24) & 0xff) + 1) * 4; data++; // Skip the first word, which is the prel31 offset. diff --git a/src/Native/libunwind/src/libunwind.cpp b/src/Native/libunwind/src/libunwind.cpp index c9e3ba15a78..3821149d684 100644 --- a/src/Native/libunwind/src/libunwind.cpp +++ b/src/Native/libunwind/src/libunwind.cpp @@ -178,7 +178,7 @@ _LIBUNWIND_EXPORT int unw_set_reg(unw_cursor_t *cursor, unw_regnum_t regNum, AbstractUnwindCursor *co = (AbstractUnwindCursor *)cursor; if (co->validReg(regNum)) { co->setReg(regNum, (pint_t)value, 0); - // specical case altering IP to re-find info (being called by personality + // special case altering IP to re-find info (being called by personality // function) if (regNum == UNW_REG_IP) co->setInfoBasedOnIPRegister(false);