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
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
@@ -170,6 +170,14 @@ added: v12.9.0
170
170
171
171
Enable experimental JSON support for the ES Module loader.
172
172
173
+
### `--experimental-loader=module`
174
+
<!-- YAML
175
+
added: v9.0.0
176
+
-->
177
+
178
+
Specify the `module` of a custom [experimental ECMAScript Module loader][].
179
+
`module` may be either a path to a file, or an ECMAScript Module name.
180
+
173
181
### `--experimental-modules`
174
182
<!-- YAML
175
183
added: v8.5.0
@@ -405,14 +413,6 @@ Specify ways of the inspector web socket url exposure.
405
413
By default inspector websocket url is available in stderr and under `/json/list`
406
414
endpoint on `http://host:port/json/list`.
407
415
408
-
### `--experimental-loader=module`
409
-
<!-- YAML
410
-
added: v9.0.0
411
-
-->
412
-
413
-
Specify the `module` of a custom [experimental ECMAScript Module loader][].
414
-
`module` may be either a path to a file, or an ECMAScript Module name.
415
-
416
416
### `--insecure-http-parser`
417
417
<!-- YAML
418
418
added: v13.4.0
@@ -423,6 +423,18 @@ interoperability with non-conformant HTTP implementations. It may also allow
423
423
request smuggling and other HTTP attacks that rely on invalid headers being
424
424
accepted. Avoid using this option.
425
425
426
+
### `--jitless`
427
+
<!-- YAML
428
+
added: v12.0.0
429
+
-->
430
+
431
+
Disable [runtime allocation of executable memory][jitless]. This may be
432
+
required on some platforms for security reasons. It can also reduce attack
433
+
surface on other platforms, but the performance impact may be severe.
434
+
435
+
This flag is inherited from V8 and is subject to change upstream. It may
436
+
disappear in a non-semver-major release.
437
+
426
438
### `--max-http-header-size=size`
427
439
<!-- YAML
428
440
added: v11.6.0
@@ -1156,6 +1168,7 @@ V8 options that are allowed are:
1156
1168
*`--abort-on-uncaught-exception`
1157
1169
*`--disallow-code-generation-from-strings`
1158
1170
*`--interpreted-frames-native-stack`
1171
+
*`--jitless`
1159
1172
*`--max-old-space-size`
1160
1173
*`--perf-basic-prof-only-functions`
1161
1174
*`--perf-basic-prof`
@@ -1391,5 +1404,6 @@ greater than `4` (its current default value). For more information, see the
0 commit comments