-
Notifications
You must be signed in to change notification settings - Fork 5.4k
[Async v2] Implement async method variant handling in AddMethod and UpdateMethod #125397
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
tommcdon
merged 29 commits into
dotnet:main
from
tommcdon:dev/tommcdon/implement_addmethoddesc
Apr 23, 2026
+185
−14
Merged
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
31d59eb
Implement async method variant handling in AddMethod and UpdateMethod
tommcdon 0e5fc4d
Use async variant in EditAndContinueModule::UpdateMethod
tommcdon 7c114b4
Address PR feedback
tommcdon 40bd105
EnC: Create async variant for generic instantiations in AddMethod
tommcdon 750bab8
Address PR #125397 feedback: GC comment, infrastructure async rejecti…
tommcdon e15eebd
Remove dead store taskTokenOffsetFromAsyncDetailsOffset in BuildAsync…
tommcdon 4d317a6
Address noahfalk feedback: clarify GC comment, reject all infrastruct…
tommcdon d0d2855
Address jkotas/copilot feedback: fix GC comment, use CORDBG_E_ENC_EDI…
tommcdon 1d62c62
Fix cross-allocator async variant signature for generic instantiations
tommcdon d587af7
Replace Unicode arrows with ASCII in C++ comments
tommcdon 89509f8
Revert per-instantiation signature allocation per jkotas feedback
tommcdon 0ee4ab2
EnC: Create async variant MethodDescs lazily on first use
tommcdon 9eba841
Use VolatileStore in AddChunk for ARM64 store ordering
tommcdon c5b12bc
Address review feedback: narrow GC violation scope, fix redundant reset
tommcdon 271c359
Fix misleading comment: classification is for async variants, not GC …
tommcdon a0ded99
Remove redundant async variant reset in UpdateMethod
tommcdon e8ebe05
Simplify async classification in AddMethod
tommcdon e51074e
Address PR review feedback: defensive checks and VolatileLoad pairing
tommcdon 02d50c5
Update GC safety comment to acknowledge Won't Fix corner case
tommcdon 9b4e02f
Simplify FCAMD lazy creation check and update GC comment
tommcdon c639080
Fix rebase against Vlad's async variant API renames
tommcdon fb41135
Revert cosmetic declaration move; keep InitMethodDesc comment clarifi…
tommcdon 3dea83b
Create EnC async variant MethodDescs eagerly in AddMethod
tommcdon 0d0fba2
Create async variant MethodDescs for all task-returning methods in EnC
tommcdon c64dba8
De-duplicate async variant signature construction
tommcdon f3f6dd4
Switch to user-code MethodDesc for EnC remap breakpoints
tommcdon 4505981
Inline async variant sig construction and revert shared function
tommcdon 43b264a
Return early from UpdateFunction when async variant is missing
tommcdon 58e4def
Re-document known corner-case GC violation in AddMethod
tommcdon File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.