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/28 10:59:30 UTC

[jira] [Created] (DIRECTMEMORY-42) OffHeapMemoryBuffer store, allocate and free function's parameters consistency

OffHeapMemoryBuffer store, allocate and free function's parameters consistency
------------------------------------------------------------------------------

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


OffHeapMemoryBuffer functions store and allocate should be consistent with their expires and expiresIn parameters : one has long, the other has int.

Same for OffHeapMemoryBuffer.free, it returns a long but Pointer.start and Pointer.end are both int.

--
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-42) OffHeapMemoryBuffer store, allocate and free function's parameters consistency

Posted by "Benoit Perroud (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRECTMEMORY-42?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benoit Perroud updated DIRECTMEMORY-42:
---------------------------------------

    Attachment: parametersConsistency.patch
    
> OffHeapMemoryBuffer store, allocate and free function's parameters consistency
> ------------------------------------------------------------------------------
>
>                 Key: DIRECTMEMORY-42
>                 URL: https://issues.apache.org/jira/browse/DIRECTMEMORY-42
>             Project: Apache DirectMemory
>          Issue Type: Improvement
>            Reporter: Benoit Perroud
>            Priority: Minor
>         Attachments: parametersConsistency.patch
>
>
> OffHeapMemoryBuffer functions store and allocate should be consistent with their expires and expiresIn parameters : one has long, the other has int.
> Same for OffHeapMemoryBuffer.free, it returns a long but Pointer.start and Pointer.end are both int.

--
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-42) OffHeapMemoryBuffer store, allocate and free function's parameters consistency

Posted by "Olivier Lamy (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRECTMEMORY-42?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olivier Lamy updated DIRECTMEMORY-42:
-------------------------------------

    Fix Version/s: 0.6.0
    
> OffHeapMemoryBuffer store, allocate and free function's parameters consistency
> ------------------------------------------------------------------------------
>
>                 Key: DIRECTMEMORY-42
>                 URL: https://issues.apache.org/jira/browse/DIRECTMEMORY-42
>             Project: Apache DirectMemory
>          Issue Type: Improvement
>            Reporter: Benoit Perroud
>            Assignee: Benoit Perroud
>            Priority: Minor
>             Fix For: 0.6.0
>
>         Attachments: parametersConsistency.patch
>
>
> OffHeapMemoryBuffer functions store and allocate should be consistent with their expires and expiresIn parameters : one has long, the other has int.
> Same for OffHeapMemoryBuffer.free, it returns a long but Pointer.start and Pointer.end are both int.

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