Serious problem with multithreaded I/O on Linux

Bryce McKinlay bryce@albatross.co.nz
Thu Jul 15 16:50:00 GMT 1999


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 ]




More information about the Java mailing list