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

Detect if JSThread threw JS or C++ exception

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 2.8.0-rc0
    • Fix Version/s: 2.8.0-rc1
    • Component/s: Internal Code, JavaScript
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible

      Description

      Want to be able to detect if a thread threw a JS or C++ exception during its execution, without calling join() on the thread.

      This will be used within the concurrency tests to avoid hanging, e.g. if there was a socket exception when spawning one of the worker threads.

        Attachments

          Activity

            People

            Assignee:
            max.hirschhorn Max Hirschhorn
            Reporter:
            max.hirschhorn Max Hirschhorn
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: