mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
src: set --rehash-snapshot explicitly
To prepare for https://chromium-review.googlesource.com/c/v8/v8/+/4839486 PR-URL: https://github.com/nodejs/node/pull/49556 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
parent
b0edb28b63
commit
17a9bfbe79
@ -838,6 +838,10 @@ static ExitCode InitializeNodeWithArgsInternal(
|
||||
V8::SetFlagsFromString(NODE_V8_OPTIONS, sizeof(NODE_V8_OPTIONS) - 1);
|
||||
#endif
|
||||
|
||||
// Specify this explicitly to avoid being affected by V8 changes to the
|
||||
// default value.
|
||||
V8::SetFlagsFromString("--rehash-snapshot");
|
||||
|
||||
HandleEnvOptions(per_process::cli_options->per_isolate->per_env);
|
||||
|
||||
std::string node_options;
|
||||
|
Loading…
Reference in New Issue
Block a user