Skip to content

WebAssembly tail calls: bounded execution frames and precise GC roots #289

Description

@chrisbbreuer

Parent: #266\nDepends on: #288\nRoadmap: #142, #134\n\nExecute validated tail calls without growing the native or Wasm call stack.\n\nAcceptance:\n- [x] Reuse/replace interpreter frames for direct and indirect return calls instead of recursive host calls.\n- [x] Preserve argument/result conversion, traps, host imports, funcref identity, and indirect-table checks.\n- [x] Keep deep/mutual tail recursion stack bounded with explicit stress limits and watchdogs.\n- [x] Preserve precise GC visibility for parameters, locals, externref/funcref slots, host imports, and frame replacement at safepoints.\n- [x] Pass normal, leak, lifecycle, and focused sanitizer/TSan 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