From owner-freebsd-java@FreeBSD.ORG Mon Mar 9 18:20:04 2009 Return-Path: Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 85480106566C for ; Mon, 9 Mar 2009 18:20:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 578DF8FC16 for ; Mon, 9 Mar 2009 18:20:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n29IK4ib027159 for ; Mon, 9 Mar 2009 18:20:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n29IK42x027158; Mon, 9 Mar 2009 18:20:04 GMT (envelope-from gnats) Date: Mon, 9 Mar 2009 18:20:04 GMT Message-Id: <200903091820.n29IK42x027158@freefall.freebsd.org> To: freebsd-java@FreeBSD.org From: Kurt Miller Cc: Subject: Re: java/105482: diablo-jdk1.5.0/jdk-1.5.0 java.nio.Selector bug X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Kurt Miller List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Mar 2009 18:20:05 -0000 The following reply was made to PR java/105482; it has been noted by GNATS. From: Kurt Miller To: bug-followup@freebsd.org, kostikbel@gmail.com Cc: Subject: Re: java/105482: diablo-jdk1.5.0/jdk-1.5.0 java.nio.Selector bug Date: Mon, 9 Mar 2009 13:07:13 -0500 I debugged a similar problem with OpenJDK and found the root cause to be the poll() system call over writting the complete pollfd struct upon return. See the following bug report for details: http://www.freebsd.org/cgi/query-pr.cgi?pr=130924