worker: use snapshot in workers spawned by workers by joyeecheung · Pull Request #47731 · nodejs/node

@joyeecheung

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-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

addaleax

This was referenced

Apr 29, 2023

benjamingr

legendecas

This was referenced

May 5, 2023

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 <yagiz@nizipli.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>