cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavel Yaskevich (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-3271) off-heap cache to use sun.misc.Unsafe instead of JNA
Date Thu, 29 Sep 2011 16:55:46 GMT

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

Pavel Yaskevich commented on CASSANDRA-3271:
--------------------------------------------

If we will move to setBytes/getBytes that means that we will need to make BufferedMemory{Output/Input}Stream
and on my opinion it kind of breaks idea of off-heap caches because we create such streams
on each serialization/deserialization of the cache value so this re-buffering of the memory
will be done all the time.
                
> 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: 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

        

Mime
View raw message