This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: FYI: Patch: java nio file locking
- From: Per Bothner <per at bothner dot com>
- To: Michael Koch <konqueror at gmx dot de>
- Cc: java-patches at gcc dot gnu dot org
- Date: Fri, 23 Jan 2004 10:35:38 -0800
- Subject: Re: FYI: Patch: java nio file locking
- References: <200401231542.26164.konqueror@gmx.de>
Michael Koch wrote:
I commited the attached patch to add java NIO file locking to trunk.
This is conflicting (and breaks) work I'm doing. I'll fix it, but
it would be helpful to know if you'll be going more work in this
area - and it may be helpful for you to know what I'm doing.
(1) My main goal (i.e. what I'll be getting paid for) is to
implement memory mapping, at least read mapping.
(2) As part of that I'm trying to better integrate java.io and
java.nio. Specifically, I'm merging java.no.channels.FileChannelImpl
into java.io.FileDescriptor, and totally removing FileChannelImpl.
That seems a simpler and more efficient architecture. We might
consider moving things in the opposite direction: merge FileDescriptor
into FileChannelImpl and get rid of java.io.FileDescriptor, though
that's a slightly bigger change. If so, I'd like to use a single
natFileChannelImpl.cc file with conditional compilation, rather than
3 files like we do for natFileDescriptorXXX.cc.
--
--Per Bothner
per@bothner.com http://per.bothner.com/