[Mono-bugs] [Bug 34263][Maj] Changed - mono hangs after an unhandled exception
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
19 Nov 2002 17:10:33 -0000
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by lupus@ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=34263
--- shadow/34263 Tue Nov 19 11:30:22 2002
+++ shadow/34263.tmp.19238 Tue Nov 19 12:10:32 2002
@@ -55,6 +55,23 @@
------- Additional Comments From dick@ximian.com 2002-11-19 11:30 -------
Also, if this is holding up the release, then just make mono_gc_init()
unconditionally return without doing anything. Finalization will be
dodgy, but no worse than it has always been.
+
+------- Additional Comments From lupus@ximian.com 2002-11-19 12:10 -------
+Well, the issue is that a whole thread that sits there doing nothing
+is sickening wasteful.
+If we can use that thread for the finalizer it would be a bit better,
+though I'd like to have the option of not running the finalizer on a
+separate thread, if people is willing to take the risks with that
+(some people in Frankfurt was asking about running mono on systems
+without threads, for example).
+And you have to give convincing reasons why doing something like:
+if (pthread_equals (pthread_self (), main_thread))
+ exit (err);
+else
+ pthread_exit (errp);
+is worse than having mono take up resources that are completely
+unneeded:-)
+