directmemory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chetan Mehrotra (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DIRECTMEMORY-130) MemoryManagerService does not reset the used memory count to zero in clear
Date Tue, 09 Jul 2013 10:05:48 GMT
Chetan Mehrotra created DIRECTMEMORY-130:
--------------------------------------------

             Summary: MemoryManagerService does not reset the used memory count to zero in
clear
                 Key: DIRECTMEMORY-130
                 URL: https://issues.apache.org/jira/browse/DIRECTMEMORY-130
             Project: Apache DirectMemory
          Issue Type: Bug
          Components: core
            Reporter: Chetan Mehrotra
            Priority: Minor


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

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message