[ 
https://issues.apache.org/jira/browse/DIRECTMEMORY-40?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Benoit Perroud updated DIRECTMEMORY-40:
---------------------------------------

    Attachment: MemoryManagerServiceImplTest.java
                modifiers.patch
                OffHeapLinkedMemoryBuffer.java

Attached is a patch for OffHeapMemoryBuffer and MemoryManagementServiceImpl to 
turn them to more easily extendable classes.
And a draft implementation of OffHeapMemoryBuffer that merge pointers on 
releasing.
And a simple test around the class.
                
> Pointers merging with adjacent free pointers when freeing.
> ----------------------------------------------------------
>
>                 Key: DIRECTMEMORY-40
>                 URL: https://issues.apache.org/jira/browse/DIRECTMEMORY-40
>             Project: Apache DirectMemory
>          Issue Type: Improvement
>            Reporter: Benoit Perroud
>         Attachments: MemoryManagerServiceImplTest.java, 
> OffHeapLinkedMemoryBuffer.java, modifiers.patch
>
>
> If one allocates lot of small objects till the buffer is full, and then free 
> those objects, pointers are never merged together to allow further creation 
> of bigger objects.

--
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

        

Reply via email to