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

MemoryManagerService does not reset the used memory count to zero in clear

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 0.2
    • core
    • None

    Description

      On invoking org.apache.directmemory.memory.MemoryManagerServiceImpl#clear the 'used' memory does not get reset to zero. Freeing up the pointer via free(Pointer) does update the 'used'. Similarly the clear operation should reset it to zero

      [1] http://svn.apache.org/viewvc/directmemory/trunk/directmemory-cache/src/main/java/org/apache/directmemory/memory/MemoryManagerServiceImpl.java?revision=1494835&view=markup#l254

      Attachments

        1. DIRECTMEMORY-130.patch
          0.8 kB
          Chetan Mehrotra

        Activity

          People

            teofili Tommaso Teofili
            chetanm Chetan Mehrotra
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: