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

Evaluate which immer memory policy to use

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.0.0-rc0, 5.0.25, 6.0.14
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • Storage Execution
    • Fully Compatible
    • v6.0, v5.0
    • Execution Team 2023-03-20, Execution Team 2023-04-03

      By default it looks like immer is using reference counting, a memory allocator with an internal free list and a spinlock for locking.

      We should probably not use a free list and let tcmalloc handle free'd memory efficiently. We should investigate what the lock is used for and determine what is the correct lock primitive for our needs.

            Assignee:
            henrik.edin@mongodb.com Henrik Edin
            Reporter:
            henrik.edin@mongodb.com Henrik Edin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: