Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Jul 2012 10:38:31 -0400
From:      George Neville-Neil <gnn@FreeBSD.org>
To:        Greg Lewis <glewis@eyesbeyond.com>
Cc:        Waitman Gobble <uzimac@da3m0n8t3r.com>, current@FreeBSD.org
Subject:   Re: Java and NIO?
Message-ID:  <2244ACD7-892A-4CA7-90B1-FFF41AF6B317@FreeBSD.org>
In-Reply-To: <20120704194917.GA15426@misty.eyesbeyond.com>
References:  <86hatodavd.wl%gnn@neville-neil.com> <1341340703.6639@da3m0n8t3r.com> <20120704194917.GA15426@misty.eyesbeyond.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On Jul 4, 2012, at 15:49 , Greg Lewis wrote:

> On Tue, Jul 03, 2012 at 11:38:23AM -0700, Waitman Gobble wrote:
>> gnn@freebsd.org wrote ..
>>> Howdy,
>>>=20
>>> Can someone tell me if anyone is working on this Java NIO bug?
>>>=20
>>> =
http://freebsd.1045724.n5.nabble.com/i386-159787-openjdk-1-6-nio-muti-thre=
ad-bug-td4700530.html
>>>=20
>>> I would like to avoid using Linux just to run Zookeeper:
>>>=20
>>> =
http://zookeeper-user.578899.n2.nabble.com/What-s-the-problem-with-nio-on-=
FreeBSD-td5208183.html
>>=20
>> Hi George,
>>=20
>> There is/was a patch from David Xu=20
>> =
http://lists.freebsd.org/pipermail/freebsd-java/2010-August/008747.html
>> maybe this fixes it?=20
>=20
> This patch was incorporated into the openjdk6 port soon after it was
> posted.  However, I can still reproduce the problem.  Using
> =
-Djava.nio.channels.spi.SelectorProvider=3Dsun.nio.ch.KqueueSelectorProvid=
er
> makes no difference.
>=20
>> also looks like New I/O was updated in jdk7... but would have to =
check it out to see if issue still exists..
>=20
> I can't reproduce the problem with the current openjdk7 port.  I =
haven't
> tried out Zookeeper though, so YMMV.  I would say it's definitely =
worth
> a try though.
>=20
> I don't believe anyone is currently working on a fix for the openjdk6 =
port
> for this.

I'm going to give zookeeper a try with openjdk7.

Thanks!

Best,
George




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2244ACD7-892A-4CA7-90B1-FFF41AF6B317>