incubator-directmemory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benoit Perroud (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DIRECTMEMORY-46) OffHeapMemoryBuffer.free do an unnecessary pointers.add
Date Thu, 29 Dec 2011 12:55:30 GMT
OffHeapMemoryBuffer.free do an unnecessary pointers.add
-------------------------------------------------------

                 Key: DIRECTMEMORY-46
                 URL: https://issues.apache.org/jira/browse/DIRECTMEMORY-46
             Project: Apache DirectMemory
          Issue Type: Bug
            Reporter: Benoit Perroud
            Priority: Minor


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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message