Consider supporting `[AsyncMethodBuilder(typeof(PoolingAsyncValueTaskMethodBuilder))]` in runtime-async
Open
area-CodeGen-coreclr
design-discussion
runtime-async
- Dominant language
- C#
- Stars
- 18.3k
- Forks
- 5.6k
- PR merge metrics
- PR metrics pending
Description
Right now methods marked with `[AsyncMethodBuilder(typeof(PoolingAsyncValueTaskMethodBuilder))]` are showing a regression from pre-runtime-async due to allocations. This issue is opened to consider if there should be support for `AsyncMethodBuilder` or a similar mechanism in runtime-async.
For now, runtime-async is being disabled for methods with `[AsyncMethodBuilder(...)]`. See https://github.com/dotnet/runtime/pull/128943
@jakobbotsch
Contributor guide
Assessment
This issue has not been assessed yet.