Skip to content

Cleanup some PAL items #115986

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
May 26, 2025
Merged

Conversation

AaronRobinsonMSFT
Copy link
Member

Remove perftrace infrastucture from PAL
Remove some unused/unuseful macros

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 cleans up unused performance tracing infrastructure and macros from PAL, while standardizing path length macros across the codebase. Key changes include the removal of perftrace‐related code and tests, replacing instances of _MAX_PATH with MAX_PATH, and updating build configuration files accordingly.

Reviewed Changes

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

Show a summary per file
File Description
src/coreclr/pal/tests/palsuite/paltestlist.txt Removed GetACP test entry.
src/coreclr/pal/tests/palsuite/locale_info/GetACP/test1/test1.cpp
src/coreclr/pal/tests/palsuite/file_io/GetConsoleOutputCP/test1/GetConsoleOutputCP.cpp
Removed obsolete test files.
src/coreclr/pal/tests/palsuite/file_io/SearchPathW/test1/SearchPathW.cpp Replaced _MAX_PATH with MAX_PATH for buffer allocations.
src/coreclr/pal/tests/palsuite/common/palsuite.h, CMakeLists.txt, and other PAL files Removed perftrace related code and macros, and updated references to use MAX_PATH consistently.
src/coreclr/md/compiler/regmeta_vm.cpp
src/coreclr/ilasm/assembler.h
src/coreclr/debug/di/module.cpp
Updated inline string buffer sizes from _MAX_PATH to MAX_PATH.

Copy link
Contributor

Tagging subscribers to this area: @mangod9
See info in area-owners.md if you want to be subscribed.

Copy link
Member

@jkotas jkotas left a comment

Choose a reason for hiding this comment

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

Thanks

@AaronRobinsonMSFT AaronRobinsonMSFT merged commit d91f6c4 into dotnet:main May 26, 2025
112 checks passed
@AaronRobinsonMSFT AaronRobinsonMSFT deleted the cleanup_pal branch May 26, 2025 16:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants