GeezerVison is showing github.com — src: add --max-semi-space-size to the options allowed in NODE_OPTIONS · nodejs/node@70ca26a
File treeExpand file treeCollapse file tree Open diff view settings Expand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: doc/api/cli.md +1Lines changed: 1 addition & 0 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -1929,6 +1929,7 @@ V8 options that are allowed are: | 1929 | 1929 | * `--interpreted-frames-native-stack` | 1930 | 1930 | * `--jitless` | 1931 | 1931 | * `--max-old-space-size` | | 1932 | +* `--max-semi-space-size` | 1932 | 1933 | * `--perf-basic-prof-only-functions` | 1933 | 1934 | * `--perf-basic-prof` | 1934 | 1935 | * `--perf-prof-unwinding-info` | |
Collapse file Copy file name to clipboardExpand all lines: src/node_options.cc +1Lines changed: 1 addition & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -713,6 +713,7 @@ PerIsolateOptionsParser::PerIsolateOptionsParser( | 713 | 713 | "help system profilers to translate JavaScript interpreted frames", | 714 | 714 | V8Option{}, kAllowedInEnvironment); | 715 | 715 | AddOption("--max-old-space-size", "", V8Option{}, kAllowedInEnvironment); | | 716 | + AddOption("--max-semi-space-size", "", V8Option{}, kAllowedInEnvironment); | 716 | 717 | AddOption("--perf-basic-prof", "", V8Option{}, kAllowedInEnvironment); | 717 | 718 | AddOption("--perf-basic-prof-only-functions", | 718 | 719 | "", | |
Collapse file Copy file name to clipboardExpand all lines: test/parallel/test-cli-node-options.js +1Lines changed: 1 addition & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -72,6 +72,7 @@ expect('--disallow-code-generation-from-strings', 'B\n'); | 72 | 72 | expect('--huge-max-old-generation-size', 'B\n'); | 73 | 73 | expect('--jitless', 'B\n'); | 74 | 74 | expect('--max-old-space-size=0', 'B\n'); | | 75 | +expect('--max-semi-space-size=0', 'B\n'); | 75 | 76 | expect('--stack-trace-limit=100', | 76 | 77 | /(\s*at f \(\[(eval|worker eval)\]:1:\d*\)\r?\n)/, | 77 | 78 | '(function f() { f(); })();', | |
|