You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directmemory.apache.org by "Benoit Perroud (Created) (JIRA)" <ji...@apache.org> on 2011/12/29 13:55:30 UTC
[jira] [Created] (DIRECTMEMORY-46) OffHeapMemoryBuffer.free do an
unnecessary pointers.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
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
[jira] [Updated] (DIRECTMEMORY-46) OffHeapMemoryBuffer.free do an
unnecessary pointers.add
Posted by "Olivier Lamy (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRECTMEMORY-46?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Olivier Lamy updated DIRECTMEMORY-46:
-------------------------------------
Fix Version/s: 0.6.0
> 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
> Assignee: Benoit Perroud
> Priority: Minor
> Fix For: 0.6.0
>
> 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
[jira] [Updated] (DIRECTMEMORY-46) OffHeapMemoryBuffer.free do an
unnecessary pointers.add
Posted by "Benoit Perroud (Updated) (JIRA)" <ji...@apache.org>.
[ 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