Tracing GC operations

"Matt Jones" <[email protected]> Fri, 8 Jun 2007 14:54:05 -0700
Newsgroups gmane.comp.gnome.mono.garbage-collection
Message-ID <[email protected]>
--===============1458143206==
Content-Type: multipart/alternative; 
	boundary="----=_Part_38877_3595697.1181339645095"

------=_Part_38877_3595697.1181339645095
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hi -

I'm trying to hunt down a threading bug in wine that shows up when some of
the unit tests from mono are run under wine (so using a windows version of
mono). The bug shows up during the GC collect cycle (the function is gc_push
or something like that). It's not a bug in mono per se, but being able to
trace the operation of the gc would make figuring out what's going on much
easier. Is there any good tracing facility for this? I've tried "mono
--trace=System.GC", but I don't get anything out.

Also, is there any way to control the operation of the GC (such as forcing a
full pass at a pre-determined time etc.). Part of the problem with the bug
I'm trying to hunt down is that it occurs very rarely (unsurprising as its
likely to do with wine's handling of threading), so coming up with a better
way than running the tests until the bug occurs would be awesome.

Thanks,
Matt Jones

------=_Part_38877_3595697.1181339645095
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hi - <br><br>I&#39;m trying to hunt down a threading bug in wine that shows up when some of the unit tests from mono are run under wine (so using a windows version of mono). The bug shows up during the GC collect cycle (the function is gc_push or something like that). It&#39;s not a bug in mono per se, but being able to trace the operation of the gc would make figuring out what&#39;s going on much easier. Is there any good tracing facility for this? I&#39;ve tried &quot;mono --trace=
System.GC&quot;, but I don&#39;t get anything out.<br><br>Also, is there any way to control the operation of the GC (such as forcing a full pass at a pre-determined time etc.). Part of the problem with the bug I&#39;m trying to hunt down is that it occurs very rarely (unsurprising as its likely to do with wine&#39;s handling of threading), so coming up with a better way than running the tests until the bug occurs would be awesome.
<br><br>Thanks,<br>Matt Jones<br>

------=_Part_38877_3595697.1181339645095--

--===============1458143206==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Mono-gc-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-gc-list

--===============1458143206==--