From owner-freebsd-current@FreeBSD.ORG Thu Jul 5 14:38:34 2012 Return-Path: Delivered-To: current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7C59A1065687 for ; Thu, 5 Jul 2012 14:38:34 +0000 (UTC) (envelope-from gnn@FreeBSD.org) Received: from vps.hungerhost.com (vps.hungerhost.com [216.38.53.176]) by mx1.freebsd.org (Postfix) with ESMTP id 4FE798FC1B for ; Thu, 5 Jul 2012 14:38:34 +0000 (UTC) Received: from [209.249.190.124] (port=55044 helo=gnnmac.hudson-trading.com) by vps.hungerhost.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.77) (envelope-from ) id 1SmnCO-0001xv-63; Thu, 05 Jul 2012 10:38:28 -0400 Mime-Version: 1.0 (Apple Message framework v1280) Content-Type: text/plain; charset=us-ascii From: George Neville-Neil In-Reply-To: <20120704194917.GA15426@misty.eyesbeyond.com> Date: Thu, 5 Jul 2012 10:38:31 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: <2244ACD7-892A-4CA7-90B1-FFF41AF6B317@FreeBSD.org> References: <86hatodavd.wl%gnn@neville-neil.com> <1341340703.6639@da3m0n8t3r.com> <20120704194917.GA15426@misty.eyesbeyond.com> To: Greg Lewis X-Mailer: Apple Mail (2.1280) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - vps.hungerhost.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - FreeBSD.org Cc: Waitman Gobble , current@FreeBSD.org Subject: Re: Java and NIO? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Jul 2012 14:38:34 -0000 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