You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Andrew Purtell (JIRA)" <ji...@apache.org> on 2014/12/24 20:46:13 UTC

[jira] [Updated] (HBASE-4026) Explicit management of buffer lifecycle in the block cache

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

Andrew Purtell updated HBASE-4026:
----------------------------------
    Summary: Explicit management of buffer lifecycle in the block cache  (was: Use JNA to allocate buffers in the block cache)

> Explicit management of buffer lifecycle in the block cache
> ----------------------------------------------------------
>
>                 Key: HBASE-4026
>                 URL: https://issues.apache.org/jira/browse/HBASE-4026
>             Project: HBase
>          Issue Type: Improvement
>          Components: regionserver
>            Reporter: Jason Rutherglen
>            Priority: Minor
>
> The HBase block cache can be problematic because it is unpredictable when Java will reclaim the unused byte arrays using garbage collection.  
> JNA (Java Native Access from Sun/Oracle) provides one possible way to solve this problem.
> https://github.com/twall/jna
> Memory is the name of the class that can be used to test the implementation.
> https://github.com/twall/jna/blob/master/src/com/sun/jna/Memory.java



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)