Skip to content

Replace CoreCLR BaseWrapper and handle holders - #137388

Merged
AaronRobinsonMSFT merged 2 commits into
dotnet:mainfrom
AaronRobinsonMSFT:arobins/remove-base-wrapper
Nov 12, 2026
Merged

AaronRobinsonMSFT merged 2 commits into
dotnet:mainfrom
AaronRobinsonMSFT:arobins/remove-base-wrapper

Conversation

@AaronRobinsonMSFT

Copy link
Copy Markdown
Member

Replace CollectibleAssemblyHolder and VM handle holders with LifetimeHolder-based ownership, and remove CoreCLR's BaseWrapper.

Use move semantics when adopting values and std::exchange when detaching.

NativeAOT's holder implementations are unchanged.

Note

This PR description was generated with GitHub Copilot.

AaronRobinsonMSFT and others added 2 commits November 11, 2026 11:29
Co-authored-by: Copilot <[email protected]>
Copilot-Session: a55d02a1-d641-4165-9e80-339edfabe2b4
Centralize OBJECTHANDLE cleanup and migrate LOADERHANDLEHolder. Move value parameters and use std::exchange in LifetimeHolder.

Co-authored-by: Copilot <[email protected]>
Copilot-Session: a55d02a1-d641-4165-9e80-339edfabe2b4
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 3 pipeline(s).
12 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

@dotnet-policy-service

Copy link
Copy Markdown
Contributor

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

@AaronRobinsonMSFT
AaronRobinsonMSFT marked this pull request as ready for review November 11, 2026 22:37
@AaronRobinsonMSFT

Copy link
Copy Markdown
Member Author

/ba-g Unrelated timeout.

@AaronRobinsonMSFT

Copy link
Copy Markdown
Member Author

The CI failure for the macOS native AOT agent disconnected during cache restore, before the product build started is tracked by dotnet/dnceng#1886.

@AaronRobinsonMSFT
AaronRobinsonMSFT merged commit cb9b26b into dotnet:main Nov 12, 2026
100 of 103 checks passed
@github-project-automation github-project-automation Bot moved this to Done in AppModel Nov 12, 2026
@AaronRobinsonMSFT
AaronRobinsonMSFT deleted the arobins/remove-base-wrapper branch November 12, 2026 16:12
@dotnet-milestone-bot dotnet-milestone-bot Bot added this to the 12.0-preview1 milestone Nov 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants