Skip to content

WebAssembly GC: runtime objects, casts, and precise tracing #299

Description

@chrisbbreuer

Parent: #267
Depends on: #298
Related: #144, #145
Roadmap: #142, #134

Implement Wasm GC allocation and execution with precise host-GC integration.

Acceptance:

  • Execute struct/array allocation and access, packed fields, casts/tests, br_on_cast variants, ref conversions, and reference equality.
  • Preserve canonical Wasm reference identity across calls, tables, globals, exceptions, imports, exports, and cross-instance linking.
  • Trace all live Wasm fields, frames, aggregates, and wrappers precisely; reclaim unreachable graphs and tear down failures exactly once.
  • Define weak/reference and future moving-collector rewrite boundaries without permanently pinning aggregates.
  • Add cycles, deep graphs, mutation, stress, leak, failure injection, concurrent publication, and ThreadSanitizer witnesses.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions