You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Pavel Yaskevich (Updated) (JIRA)" <ji...@apache.org> on 2011/10/01 01:13:45 UTC

[jira] [Updated] (CASSANDRA-3271) off-heap cache to use sun.misc.Unsafe instead of JNA

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

Pavel Yaskevich updated CASSANDRA-3271:
---------------------------------------

    Attachment: CASSANDRA-3271-v3.patch

validation of the buffer added to setBytes/getBytes Memory methods. In checkPosition(...) IllegalArgumentException changed to IndexOutOfBoundsException
                
> off-heap cache to use sun.misc.Unsafe instead of JNA
> ----------------------------------------------------
>
>                 Key: CASSANDRA-3271
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3271
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Pavel Yaskevich
>            Assignee: Pavel Yaskevich
>            Priority: Minor
>             Fix For: 1.1
>
>         Attachments: 3271-v2.txt, CASSANDRA-3271-v3.patch, CASSANDRA-3271.patch
>
>
> Instead of requiring JNA for off-heap caches we should try to use sun.misc.Unsafe.

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