incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benoit Perroud <ben...@noisette.ch>
Subject Re: Off-heap caching through ByteBuffer.allocateDirect when JNA not available ?
Date Thu, 10 Nov 2011 12:46:01 GMT
Thanks for the answer.
I saw the move to sun.misc.
In what sense allocateDirect is broken ?

Thanks,

Benoit.


2011/11/9 Jonathan Ellis <jbellis@gmail.com>:
> allocateDirect is broken for this purpose, but we removed the JNA
> dependency using sun.misc.Unsafe instead:
> https://issues.apache.org/jira/browse/CASSANDRA-3271
>
> On Wed, Nov 9, 2011 at 5:54 AM, Benoit Perroud <benoit@noisette.ch> wrote:
>> Hi,
>>
>> I wonder if you have already discussed about ByteBuffer.allocateDirect
>> alternative to JNA memory allocation ?
>>
>> If so, do someone mind send me a pointer ?
>>
>> Thanks !
>>
>> Benoit.
>>
>
>
>
> --
> Jonathan Ellis
> Project Chair, Apache Cassandra
> co-founder of DataStax, the source for professional Cassandra support
> http://www.datastax.com
>



-- 
sent from my Nokia 3210

Mime
View raw message