On Wed, Apr 18, 2012 at 12:44 PM, Rob Coli <rc...@palominodb.com> wrote: > On Tue, Apr 10, 2012 at 8:40 AM, ruslan usifov <ruslan.usi...@gmail.com> > wrote: >> mmap doesn't depend on jna > > FWIW, this confusion is as a result of the use of *mlockall*, which is > used to prevent mmapped files from being swapped, which does depend on > JNA.
mlockall does depend on JNA, but we only lock the JVM itself in memory. The OS is free to page data files in and out as needed. -- Jonathan Ellis Project Chair, Apache Cassandra co-founder of DataStax, the source for professional Cassandra support http://www.datastax.com