cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavel Yaskevich (Commented) (JIRA)" <>
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


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:
>             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:!default.jspa
For more information on JIRA, see:


View raw message