Skip to content

[RuntimeAsync] Avoid keeping continuation state alive after resumption #115263

Closed

Description

@jakobbotsch

As suggested here: dotnet/runtimelab#3063 (comment)

We can either ensure DispatchContinuations does not keep the continuation object itself alive, or we can null out the arrays of the continuation object during resumption. The latter is more robust but comes with code size/resumption cost.

Activity

  1. transferred this issue fromdotnet/runtimelabon May 3, 2025
  2. ghost added
    needs-area-label
    on May 3, 2025
  3. added
    untriaged
    on May 3, 2025
  4. added
    area-CodeGen-coreclr
    on May 5, 2025
  5. dotnet-policy-service commented on May 5, 2025

    @dotnet-policy-service
    Contributor

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

  6. removed
    needs-area-label
    on May 5, 2025
  7. removed
    untriaged
    on May 6, 2025
  8. added this to the 10.0.0 milestone on May 6, 2025
  9. modified the milestones: 10.0.0, 11.0.0 on Jul 21, 2025
  10. jakobbotsch commented on Jan 16, 2026

    @jakobbotsch
    MemberAuthor

    This was fixed -- DispatchContinuation now takes care to advance continuation references before resumption.

  11. locked and limited conversation to collaborators on Feb 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area-CodeGen-coreclrruntime-async

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions