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

Properly allocate v8 handles on the stack

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • None
    • 2.3.2
    • JavaScript
    • None
    • Fully Compatible
    • ALL

    Description

      Function argument handles were sometimes allocated on the heap, but this is not legal. We need a better way of converting BSONObj arguments to v8 arguments. Initial thought was alloca() and the new placement operator, but this is not cross-platform.

      Attachments

        Activity

          People

            backlog-server-platform DO NOT USE - Backlog - Platform Team
            benjamin.becker Ben Becker
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: