Uploaded image for project: 'Apache DirectMemory'
  1. Apache DirectMemory
  2. DIRECTMEMORY-46

OffHeapMemoryBuffer.free do an unnecessary pointers.add

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 0.1-incubating
    • None
    • None

    Description

      In OffHeapMemoryBuffer.free, pointers.add is done but is wrong : all Pointers are always present in the pointers list. Readding it leads to duplicate that will increase unnecessary the size of the pointers list, and thus increase allocation time.

      Attachments

        1. OffHeapMemoryBufferFree.patch
          0.6 kB
          Benoit Perroud

        Activity

          People

            bperroud Benoit Perroud
            bperroud Benoit Perroud
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: