[
https://issues.apache.org/jira/browse/DIRECTMEMORY-46?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Benoit Perroud updated DIRECTMEMORY-46:
---------------------------------------
Attachment: OffHeapMemoryBufferFree.patch
Remove unnecessary add
> 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
> Attachments: OffHeapMemoryBufferFree.patch
>
>
> 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