Skip to content

Conversation

jkotas
Copy link
Member

@jkotas jkotas commented Jul 22, 2025

No description provided.

@Copilot Copilot AI review requested due to automatic review settings July 22, 2025 01:01
@jkotas jkotas requested a review from MichalStrehovsky as a code owner July 22, 2025 01:01
@jkotas jkotas changed the title Misc cleanup (fixing comments, deleing dead code) Misc cleanup (fixing comments, deleting dead code) Jul 22, 2025
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR focuses on cleaning up various parts of the CoreCLR codebase by removing dead code, fixing comments, and simplifying configurations. The changes primarily involve removing obsolete code paths, correcting comment inaccuracies, and eliminating unused functionality.

  • Removes dead code including unused function declarations, obsolete conditional compilation blocks, and unnecessary attributes
  • Fixes and updates comments to reflect current implementation details more accurately
  • Simplifies build configurations by removing obsolete defines and reorganizing file lists

Reviewed Changes

Copilot reviewed 15 out of 16 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/tests/nativeaot/SmokeTests/PInvoke/PInvoke.cs Removes unused __BlockAllReflectionAttribute class definition
src/coreclr/vm/runtimehandles.h Removes unused CanCastToInternal function declaration
src/coreclr/vm/eedbginterface.h Removes unused HashMapEnumCallback typedef
src/coreclr/utilcode/loaderheap.cpp Removes obsolete comments about synchronization and interleaved heap behavior
src/coreclr/utilcode/interleavedloaderheap.cpp Updates comments to remove redundant "interleaved heap" references
src/coreclr/utilcode/explicitcontrolloaderheap.cpp Removes obsolete synchronization comment
src/coreclr/utilcode/allocmemtracker.cpp Removes unnecessary DACCESS_COMPILE conditional compilation block
src/coreclr/utilcode/CMakeLists.txt Moves allocmemtracker.cpp from common sources to specific sources list
src/coreclr/tools/aot/ILCompiler.MetadataTransform/ILCompiler.MetadataTransform.csproj Removes obsolete NETFX_45 define
src/coreclr/tools/Common/Internal/NativeFormat/NativeFormatReader.String.cs Removes obsolete .NET Framework 4.5 compatibility code
src/coreclr/tools/Common/Internal/Metadata/NativeFormat/NativeMetadataReader.cs Removes obsolete TODO comment about metadata schema signature
src/coreclr/jit/importercalls.cpp Fixes log message and removes obsolete architecture-specific comment
src/coreclr/inc/palclr.h Removes unused PAL exception handling macros and compiler instance abstractions
src/coreclr/inc/loaderheap.h Corrects various comment inaccuracies about function names and heap purposes
docs/workflow/requirements/windows-requirements.md Updates documentation to remove ARM32 references, focusing only on ARM64

@github-actions github-actions bot added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label Jul 22, 2025
@jkotas jkotas requested a review from AaronRobinsonMSFT July 22, 2025 01:06
@jkotas jkotas merged commit 085732c into dotnet:main Jul 22, 2025
117 of 119 checks passed
@jkotas jkotas deleted the misc branch July 22, 2025 07:03
@github-actions github-actions bot locked and limited conversation to collaborators Aug 21, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants