Icedtea - NIO2 Linux Asynchronous File IO.
Andrew John Hughes
gnu_andrew at member.fsf.org
Mon Jun 8 15:00:19 PDT 2009
2009/6/8 Rupert Smith <rupertlssmith at googlemail.com>:
> I have been checking out icedtea6 today, in order to examine its support for
> nio2. Looking through the source, I cannot find an implementation of
> asynchronous file IO for Linux, but I just wanted to check with someone in
> the know if that is the case, as the code base is quite large, maybe I
> overlooked it?
> I think 'SimpleAsynchronousFileChannelImpl.java' is the one that a Linux
> build will use, which implements it by handing off IO events to a thread
> pool, which is a portable solution not taking advantage of OS specific
> asynchronous IO support.
> I have a partial implementation of asynchronous file IO, built on top of
> libaio. If I wanted to contribute this to the project, would the correct
> place to do so be as part of icedtea, or upstream as part of openjdk?
> Thanks for your answers.
Upstream OpenJDK is the place to contribute (specifically
http://openjdk.java.net/projects/nio), but I think you'll find there
is a GNU/Linux implementation in
Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)
Support Free Java!
Contribute to GNU Classpath and the OpenJDK
PGP Key: 94EFD9D8 (http://subkeys.pgp.net)
Fingerprint: F8EF F1EA 401E 2E60 15FA 7927 142C 2591 94EF D9D8
More information about the distro-pkg-dev