Skip to content

[Wasm R2R]: emit GC polls #133431

Open
Open

Description

@AndyAyersMS

Implement GC polling support. Possibly enable by default or under some option.

// TODO-WASM: insert GC polls for loops, and arrange it so the
// polling overhead is tolerable.
//
JITDUMP("NOTE: Method requires GC polls -- Wasm does not insert these yet\n");

fyi @pavelsavara @lewing

Activity

  1. added
    untriaged
    on Sep 8, 2026
  2. dotnet-policy-service commented on Sep 8, 2026

    @dotnet-policy-service
    Contributor

    Tagging subscribers to this area: @anicka-net, @dotnet/gc
    See info in area-owners.md if you want to be subscribed.

  3. added
    area-CodeGen-coreclr
    arch-wasm
    and removed
    untriaged
    on Sep 8, 2026
  4. added this to the 12.0.0 milestone on Sep 8, 2026
  5. dotnet-policy-service commented on Sep 8, 2026

    @dotnet-policy-service
    Contributor

    Tagging subscribers to 'arch-wasm': @lewing, @pavelsavara
    See info in area-owners.md if you want to be subscribed.

  6. self-assigned this
    on Sep 8, 2026
  7. dotnet-policy-service commented on Sep 8, 2026

    @dotnet-policy-service
    Contributor

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

  8. adamperlin commented on Nov 2, 2026

    @adamperlin
    Contributor

    I did some experiments to re-use our existing GC-poll inserting machinery and it seemed to be adaptable to Wasm. We decided to hold off on this one for the time being as the use case for GC polls is limited to when a debugger is attached. So, this may be a "nice to have" in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

arch-wasmarea-CodeGen-coreclr

Type

No type

Projects

  • Status
    No status

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions