From owner-freebsd-java@FreeBSD.ORG Thu Mar 12 12:00:11 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 1EF321065672 for ; Thu, 12 Mar 2009 12:00:11 +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 0A92E8FC0A for ; Thu, 12 Mar 2009 12:00:11 +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 n2CC0AWc032844 for ; Thu, 12 Mar 2009 12:00:10 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n2CC0A1w032843; Thu, 12 Mar 2009 12:00:10 GMT (envelope-from gnats) Date: Thu, 12 Mar 2009 12:00:10 GMT Message-Id: <200903121200.n2CC0A1w032843@freefall.freebsd.org> To: freebsd-java@FreeBSD.org From: Robert Watson Cc: Subject: java/105482 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Robert Watson List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Mar 2009 12:00:11 -0000 The following reply was made to PR java/105482; it has been noted by GNATS. From: Robert Watson To: freebsd-gnats-submit@FreeBSD.org Cc: Subject: java/105482 Date: Thu, 12 Mar 2009 11:50:07 +0000 (GMT) This commit may also be of interest to java/105482. ---------- Forwarded message ---------- Date: Wed, 11 Mar 2009 22:10:03 GMT From: dfilter service To: rwatson@FreeBSD.org Subject: Re: kern/130924: commit references a PR The following reply was made to PR kern/130924; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: kern/130924: commit references a PR Date: Wed, 11 Mar 2009 22:00:15 +0000 (UTC) Author: rwatson Date: Wed Mar 11 22:00:03 2009 New Revision: 189708 URL: http://svn.freebsd.org/changeset/base/189708 Log: When writing out updated pollfd records when returning from poll(), only copy out the revents field, not the whole pollfd structure. Otherwise, if the events field is updated concurrently by another thread, that update may be lost. This issue apparently causes problems for the JDK on FreeBSD, which expects the Linux behavior of not updating all fields (somewhat oddly, Solaris does not implement the required behavior, but presumably our adaptation of the JDK is based on the Linux port?). MFC after: 2 weeks PR: kern/130924 Submitted by: Kurt Miller Discussed with: kib Modified: head/sys/kern/sys_generic.c