You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This work is modeled on #30094 which allowed
`--disallow-code-generation-from-strings` in `NODE_OPTIONS`.
The `--jitless` v8 option has been supported since 12.0.0. As a v8
option, node automatically picks it up, but there have been a few issues
that were resolved by simply telling users about the option: #26758,
This PR:
- allows `--jitless` in `NODE_OPTIONS`
- documents `--jitless`
- moves `--experimental-loader=module` to locally restore alphabetical
order in option documentation
Refs: #30094
Refs: #26758
Refs: #28800
Backport-PR-URL: #32594
PR-URL: #32100
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Sam Roberts <[email protected]>
Reviewed-By: Gus Caplan <[email protected]>
Reviewed-By: Shelley Vohr <[email protected]>
Reviewed-By: David Carlier <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Michael Dawson <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
Copy file name to clipboardExpand all lines: doc/api/cli.md
+22-8Lines changed: 22 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -163,6 +163,14 @@ added: v12.9.0
163
163
164
164
Enable experimental JSON support for the ES Module loader.
165
165
166
+
### `--experimental-loader=module`
167
+
<!-- YAML
168
+
added: v9.0.0
169
+
-->
170
+
171
+
Specify the `module` of a custom [experimental ECMAScript Module loader][].
172
+
`module` may be either a path to a file, or an ECMAScript Module name.
173
+
166
174
### `--experimental-modules`
167
175
<!-- YAML
168
176
added: v8.5.0
@@ -421,14 +429,6 @@ Specify ways of the inspector web socket url exposure.
421
429
By default inspector websocket url is available in stderr and under `/json/list`
422
430
endpoint on `http://host:port/json/list`.
423
431
424
-
### `--experimental-loader=module`
425
-
<!-- YAML
426
-
added: v9.0.0
427
-
-->
428
-
429
-
Specify the `module` of a custom [experimental ECMAScript Module loader][].
430
-
`module` may be either a path to a file, or an ECMAScript Module name.
431
-
432
432
### `--insecure-http-parser`
433
433
<!-- YAML
434
434
added: v12.15.0
@@ -439,6 +439,18 @@ interoperability with non-conformant HTTP implementations. It may also allow
439
439
request smuggling and other HTTP attacks that rely on invalid headers being
440
440
accepted. Avoid using this option.
441
441
442
+
### `--jitless`
443
+
<!-- YAML
444
+
added: v12.0.0
445
+
-->
446
+
447
+
Disable [runtime allocation of executable memory][jitless]. This may be
448
+
required on some platforms for security reasons. It can also reduce attack
449
+
surface on other platforms, but the performance impact may be severe.
450
+
451
+
This flag is inherited from V8 and is subject to change upstream. It may
452
+
disappear in a non-semver-major release.
453
+
442
454
### `--max-http-header-size=size`
443
455
<!-- YAML
444
456
added: v11.6.0
@@ -1147,6 +1159,7 @@ V8 options that are allowed are:
1147
1159
*`--abort-on-uncaught-exception`
1148
1160
*`--disallow-code-generation-from-strings`
1149
1161
*`--interpreted-frames-native-stack`
1162
+
*`--jitless`
1150
1163
*`--max-old-space-size`
1151
1164
*`--perf-basic-prof-only-functions`
1152
1165
*`--perf-basic-prof`
@@ -1382,5 +1395,6 @@ greater than `4` (its current default value). For more information, see the
0 commit comments