[Mono-dev] [PATCH] Remove weak links in monitors

Mark Probst mark.probst at gmail.com
Thu Aug 26 04:48:50 EDT 2010


We don't remove weak links from monitors, which is a problem on
shutdown with SGen and might lead to a crash.  One way to reproduce
this is to run xsp2 with SGen with hi.aspx
(http://gist.github.com/551015), let it server a bit (ab -n 10000 -c
20 -k http://127.0.0.1:8080/hi.aspx), then quit it by pressing enter.

This patch fixes it:

  http://github.com/schani/mono/commit/915731453ff23704a626fa9c44e8ad813e239c70

Please review.  I'll be on vacation for two weeks, so feel free to
pull that commit into master or modify it if necessary.

Mark


More information about the Mono-devel-list mailing list