[
https://issues.apache.org/jira/browse/CASSANDRA-3271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13117135#comment-13117135
]
Pavel Yaskevich commented on CASSANDRA-3271:
--------------------------------------------
bq. If we're rolling our own Memory, why do we need FreeableMemory subclassing
it?
FreeableMemory is already subclassing o.a.c.io.util.Memory.
bq. I guess we might want a Memory object that we don't reference count around.
Although I can't see any benefit there vs just keeping it on-heap.
I don't see it either. But anyway - if we will need that in the future
o.a.c.io.util.Memory can be changed appropriately.
> 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