Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-102668

Remove disableJavaScriptJIT query knob

    • Query Integration
    • Minor Change
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      We always want Javascript JIT to be disabled for security reasons, so when performing a MozJS upgrade we generate platform-specific files always with the --disable-jit flag, which will define JS_CODEGEN_NONE as 1, effectively disabling all possibilities of executing JIT code, since it disables the JIT backend. Here's some more examples of JIT code being disabled by the definition:

      This means that setting the disableJavaScriptJIT parameter boils down to being a no-op, so we should get rid of it. We should also clean up code that references JIT, like here, as it makes it seem like JIT is actually doing something.

            Assignee:
            Unassigned Unassigned
            Reporter:
            mariano.shaar@mongodb.com Mariano Shaar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              None
              None
              None
              None