Skip to content

Conversation

@joyeecheung
Copy link
Member

Previously we didn't pass the snapshot data down to the isolate data of workers so workers spawned by workers won't use the snapshot. Fixes it by passing the snapshot data down.

Previously we didn't pass the snapshot data down to the isolate data of workers so workers spawned by workers won't use the snapshot. Fixes it by passing the snapshot data down.
@nodejs-github-botnodejs-github-bot added c++ Issues and PRs that require attention from people who are familiar with C++. needs-ci PRs that need a full CI run. worker Issues and PRs related to Worker support. labels Apr 26, 2023
@nodejs-github-bot
Copy link
Collaborator

@joyeecheung
Copy link
MemberAuthor

joyeecheung commented Apr 28, 2023

Test failures are relevant - we need to move initialization of the per-isolate properties to the per-isolate initializers, otherwise the workers would attempt to recreate the per-isolate properties that are already deserialized from the isolate snapshot. I opened #47768 to unblock this.

@joyeecheungjoyeecheung added the blocked PRs that are blocked by other issues or PRs. label Apr 28, 2023
@joyeecheungjoyeecheung removed the blocked PRs that are blocked by other issues or PRs. label May 3, 2023
@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

@joyeecheungjoyeecheung added the commit-queue Add this label to land a pull request using GitHub Actions. label May 4, 2023
@nodejs-github-botnodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label May 4, 2023
@nodejs-github-botnodejs-github-bot merged commit 3bca5c2 into nodejs:mainMay 4, 2023
@nodejs-github-bot
Copy link
Collaborator

Landed in 3bca5c2

targos pushed a commit that referenced this pull request May 12, 2023
Previously we didn't pass the snapshot data down to the isolate data of workers so workers spawned by workers won't use the snapshot. Fixes it by passing the snapshot data down. PR-URL: #47731 Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Chengzhong Wu <[email protected]>
@targostargos mentioned this pull request May 15, 2023
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

c++Issues and PRs that require attention from people who are familiar with C++.needs-ciPRs that need a full CI run.workerIssues and PRs related to Worker support.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants

@joyeecheung@nodejs-github-bot@addaleax@benjamingr@anonrig@legendecas@danielleadams