File tree Expand file tree Collapse file tree 1 file changed +2
-25
lines changed Expand file tree Collapse file tree 1 file changed +2
-25
lines changed Original file line number Diff line number Diff line change @@ -1563,32 +1563,9 @@ General Parameters
1563
1563
1564
1564
.. parameter:: disableJavaScriptJIT
1565
1565
1566
- |mongod-only|
1567
-
1568
- The MongoDB JavaScript engine uses SpiderMonkey, which implements
1569
- Just-in-Time (JIT) compilation for improved performance when running scripts.
1570
-
1571
- .. include:: /includes/fact-runtime-startup-parameter
1572
-
1573
- To enable the JIT, set :parameter:`disableJavaScriptJIT` to ``false``, as in
1574
- the following example:
1575
-
1576
- .. code-block:: javascript
1577
-
1578
- db.adminCommand( { setParameter: 1, disableJavaScriptJIT: false } )
1579
-
1580
- .. note::
1581
-
1582
- :query:`$where` will reuse existing JavaScript interpreter
1583
- contexts, so changes to :parameter:`disableJavaScriptJIT` may not
1584
- take effect immediately for these operations.
1585
-
1586
- Alternately, you may enable the JIT at startup time by starting the
1587
- :binary:`~bin.mongod` instance with the following option:
1588
-
1589
- .. code-block:: bash
1566
+ .. important::
1590
1567
1591
- mongod --setParameter disableJavaScriptJIT=false
1568
+ Starting in MongoDB 8.0, this parameter has no effect.
1592
1569
1593
1570
.. parameter:: indexBuildMinAvailableDiskSpaceMB
1594
1571
You can’t perform that action at this time.
0 commit comments