java/105482

Kurt Miller kurt at intricatesoftware.com
Fri Mar 13 05:26:43 PDT 2009


I suspect Azureus will start to work correctly now also.
Can anyone confirm Azureus performs better/correctly with
the poll change included your kernel?

On Thursday 12 March 2009 8:00:10 am Robert Watson wrote:
> 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
>  
> _______________________________________________
> freebsd-java at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-java
> To unsubscribe, send any mail to "freebsd-java-unsubscribe at freebsd.org"
>


More information about the freebsd-java mailing list