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

Decreased JS performance on arm64 due to mising init function

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.9.0, 4.2.13, 4.4.5
    • Component/s: None
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v4.4, v4.2
    • Sprint:
      Dev Platform 2021-03-08

      Description

      This bug is in mozjs(firefox) esr-60.

      The function vixl::CPU::SetUp() is never called. As a result, on arm64 MozJS will clear instruction cache separately for each byte, greatly impacting JS performance. This is especially important on Graviton2 processors, where advanced kernels expose instruction cacheline size of a full page (usually, 4KB)

      In firefox esr 68, the SetUp function is called from js::jit::InitProcessExecutableMemory.

        Attachments

          Activity

            People

            Assignee:
            acm Andrew Morrow
            Reporter:
            tsahee@amazon.com Tsahi Zidenberg
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: