mirror of
https://github.com/nodejs/node.git
synced 2026-11-25 23:01:06 -05:00
src: add --max-semi-space-size to the options allowed in NODE_OPTIONS
PR-URL: https://github.com/nodejs/node/pull/44436 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Evan Lucas <evanlucas@me.com> Reviewed-By: Michael Dawson <midawson@redhat.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
This commit is contained in:
1 parent
7cff1e14ba
commit
459d4481d4
3 files changed
+3
No files matched your search
@@ -1945,6 +1945,7 @@ V8 options that are allowed are:
|
||||
* `--interpreted-frames-native-stack`
|
||||
* `--jitless`
|
||||
* `--max-old-space-size`
|
||||
* `--max-semi-space-size`
|
||||
* `--perf-basic-prof-only-functions`
|
||||
* `--perf-basic-prof`
|
||||
* `--perf-prof-unwinding-info`
|
||||
|
||||
@@ -709,6 +709,7 @@ PerIsolateOptionsParser::PerIsolateOptionsParser(
|
||||
V8Option{},
|
||||
kAllowedInEnvvar);
|
||||
AddOption("--max-old-space-size", "", V8Option{}, kAllowedInEnvvar);
|
||||
AddOption("--max-semi-space-size", "", V8Option{}, kAllowedInEnvvar);
|
||||
AddOption("--perf-basic-prof", "", V8Option{}, kAllowedInEnvvar);
|
||||
AddOption(
|
||||
"--perf-basic-prof-only-functions", "", V8Option{}, kAllowedInEnvvar);
|
||||
|
||||
@@ -72,6 +72,7 @@ expect('--disallow-code-generation-from-strings', 'B\n');
|
||||
expect('--huge-max-old-generation-size', 'B\n');
|
||||
expect('--jitless', 'B\n');
|
||||
expect('--max-old-space-size=0', 'B\n');
|
||||
expect('--max-semi-space-size=0', 'B\n');
|
||||
expect('--stack-trace-limit=100',
|
||||
/(\s*at f \(\[(eval|worker eval)\]:1:\d*\)\r?\n)/,
|
||||
'(function f() { f(); })();',
|
||||
|
||||
Reference in new issue
Block a user