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

Pointers merging with adjacent free pointers when freeing.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.1-incubating
    • None
    • None

    Description

      If one allocates lot of small objects till the buffer is full, and then free those objects, pointers are never merged together to allow further creation of bigger objects.

      Attachments

        1. OffHeapLinkedMemoryBuffer.java
          12 kB
          Benoit Perroud
        2. modifiers.patch
          5 kB
          Benoit Perroud
        3. MemoryManagerServiceImplTest.java
          6 kB
          Benoit Perroud
        4. OffHeapLinkedMemoryBuffer.patch
          32 kB
          Benoit Perroud
        5. OffHeapLinkedMemoryBuffer.java
          12 kB
          Benoit Perroud

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: