Hi, On Sat, 2005-07-23 at 20:37 -0700, Casey Marshall wrote: > Committed. I changed a few minor things, such as using Mark's > suggestion to use 'madvise' to load the file into core. > > I can't get this to work with Jamvm on Darwin; I get a bizarre > segfault when trying to create the new MappedByteBufferImpl, and > apparently 'mincore' does not work properly if the mapped region is > only one page in size. This appears to work fine on GNU/Linux, > however, so I'm putting it down to problems with Darwin.
I am seeing the following warnings (which break the build when configured with --enable-Werror): gnu_java_nio_channels_FileChannelImpl.c:565: warning: pointer of type 'void *' used in arithmetic gnu_java_nio_channels_FileChannelImpl.c:504: warning: 'RawData_init' may be used uninitialized in this function gnu_java_nio_channels_FileChannelImpl.c:503: warning: 'MappedByteBufferImpl_init' may be used uninitialized in this function I have not investigated them yet. But maybe they give a hint to why things don't work on darwin? Cheers, Mark
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Classpath-patches mailing list [email protected] http://lists.gnu.org/mailman/listinfo/classpath-patches
