I would like to know it also - actually is should be similar, plus there are no dependencies to sun.misc packages.
Regards, Maciej On Thu, Nov 10, 2011 at 1:46 PM, Benoit Perroud <ben...@noisette.ch> wrote: > Thanks for the answer. > I saw the move to sun.misc. > In what sense allocateDirect is broken ? > > Thanks, > > Benoit. > > > 2011/11/9 Jonathan Ellis <jbel...@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 <ben...@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 >