Skip to content

[TS] Preserve sparse array witnesses during saved input replay - #640

Draft
CaelmBleidd wants to merge 3 commits into
caelmbleidd/calls-saved-input-replayfrom
caelmbleidd/ts-preserve-sparse-array-witnesses
Draft

CaelmBleidd wants to merge 3 commits into
caelmbleidd/calls-saved-input-replayfrom
caelmbleidd/ts-preserve-sparse-array-witnesses

Conversation

@CaelmBleidd

Copy link
Copy Markdown
Member

Summary

  • Preserve missing own indices when the witness resolver has array-slot information for the selected heap snapshot.
  • Encode holes as null entries in the Calls heap graph and leave those indices absent during native input restoration. Explicit undefined keeps its existing primitive tag.
  • The existing dense graph format remains readable.

Stacked on #617 for its saved-input replay entry point.

Verification

  • TsInitialEnvironmentResolverTest, CallsClassStartSmokeTest, and CallsConcreteHeapTest passed.
  • The saved-input regression checks that filling the recorded holes with own undefined changes the native result.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant