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

v8: switch to Isolates to enable JS multi-threading

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.1.0
    • Affects Version/s: None
    • Component/s: JavaScript
    • Labels:
      None

      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.

            Assignee:
            antoine Antoine Girbal
            Reporter:
            antoine Antoine Girbal
            Votes:
            1 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: