This is the mail archive of the java-discuss@sourceware.cygnus.com mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Serious problem with multithreaded I/O on Linux


Jeff Sturm wrote:

> Note that this only affects ports based on MPROTECT_VDB, such as
> Linux/i386, FreeBSD and Irix.  The Solaris port uses /proc to track
> dirty pages.
>
> I simply commented out "#define MPROTECT_VDB" at line 593 in
> boehm-gc/config.h.  Suddenly, my multithreaded tests run very well!

This works for me, too.

> This ought to be filed as a GC bug, since incremental mode is
> incompatible with pthreads, at least on Linux.

Perhaps now would be a good time to integrate a newwer version of
boehm-gc? The ChangeLog for gc does mention "linux threads fixes" since
4.13b2.

regards

  [ bryce ]



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]