java/105482

Robert Watson rwatson at FreeBSD.org
Thu Mar 12 05:00:11 PDT 2009


The following reply was made to PR java/105482; it has been noted by GNATS.

From: Robert Watson <rwatson at FreeBSD.org>
To: freebsd-gnats-submit at 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 at FreeBSD.ORG>
 To: rwatson at 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 at FreeBSD.ORG (dfilter service)
 To: bug-followup at 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
 


More information about the freebsd-java mailing list