[SERVER-66302] Remove 'JS_SetGlobalJitCompilerOption' due to a possible race condition Created: 06/May/22 Updated: 29/Oct/23 Resolved: 07/May/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 6.0.0-rc5, 6.1.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Mohammad Dashti (Inactive) | Assignee: | Mohammad Dashti (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Operating System: | ALL | ||||||||
| Backport Requested: |
v6.0
|
||||||||
| Sprint: | QE 2022-05-16 | ||||||||
| Participants: | |||||||||
| Linked BF Score: | 160 | ||||||||
| Description |
|
The calls to JS_SetGlobalJitCompilerOption modify a global variable in MozJS and can lead to a race condition. These calls should be removed, as there are sufficient other parameters available to enable/disable JIT in MozJS. |
| Comments |
| Comment by Githook User [ 07/May/22 ] |
|
Author: {'name': 'Mohammad Dashti', 'email': 'mdashti@gmail.com', 'username': 'mdashti'}Message: (cherry picked from commit c3765031e1c3c189593ca4329282dd31337d43dc) |
| Comment by Githook User [ 07/May/22 ] |
|
Author: {'name': 'Mohammad Dashti', 'email': 'mdashti@gmail.com', 'username': 'mdashti'}Message: |