Uploaded image for project: 'C++ Driver'
  1. C++ Driver
  2. CXX-52

Remove MONGO_MALLOC and standardize driver on new/delete

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • Implementation

    Description

      The driver currently uses a mixture of new/delete and malloc/free. As a consequence, we need to use the util/allocator.h header to shim in a malloc and free that interact with our signal handlers. Instead, we should rely on the new_handler behavior by way of the standard C++ memory management facilities.

      Attachments

        Activity

          People

            Unassigned Unassigned
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: