Date: Thu, 12 Mar 2009 12:00:10 GMT From: Robert Watson <rwatson@FreeBSD.org> To: freebsd-java@FreeBSD.org Subject: java/105482 Message-ID: <200903121200.n2CC0A1w032843@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR java/105482; it has been noted by GNATS. From: Robert Watson <rwatson@FreeBSD.org> 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 <dfilter@FreeBSD.ORG> 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 <kurt @ intricatesoftware.com> Discussed with: kib Modified: head/sys/kern/sys_generic.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903121200.n2CC0A1w032843>