incubator-directmemory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benoit Perroud (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DIRECTMEMORY-40) Pointers merging with adjacent free pointers when freeing.
Date Tue, 27 Dec 2011 15:40:30 GMT

    [ https://issues.apache.org/jira/browse/DIRECTMEMORY-40?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13176209#comment-13176209
] 

Benoit Perroud commented on DIRECTMEMORY-40:
--------------------------------------------

Also, for the memory management, I found more natural to have 2 list of pointers : one with
free pointer, where we could look for adjacent pointers to merge, and a second one with the
used pointer in order to keep a track of them.
                
> 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
>
> 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

        

Mime
View raw message