Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bootstrap: make snapshot reproducible #50983

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Commits on May 20, 2024

  1. src: add utilities to help debugging reproducibility of snapshots

    - Print offsets in blob serializer
    - Add a special node:generate_default_snapshot ID to generate
      the built-in snapshot.
    - Improve logging
    joyeecheung committed May 20, 2024
    Configuration menu
    Copy the full SHA
    1efb342 View commit details
    Browse the repository at this point in the history
  2. bootstrap: make snapshot reproducible

    This patch uses the new V8 API to {de}serialize context slots for
    snapshot in order to make the snapshot reproducible. Also
    added a test for the reproducibility of snapshots.
    joyeecheung committed May 20, 2024
    Configuration menu
    Copy the full SHA
    f03a7ba View commit details
    Browse the repository at this point in the history