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

v8: switch to Isolates to enable JS multi-threading

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1.0
    • Component/s: JavaScript
    • Labels:
      None

      Description

      Right now v8 using a single (implicit) Isolate.
      Preemption is possible but still only 1 thread can execute at a time.
      Also we added our own mutex to prevent preemption.

      Switching to Isolates and removing the mutex would allow full multithreading.

        Attachments

          Activity

            People

            • Votes:
              1 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: