[Mono-bugs] [Bug 35040][Nor] New - Finalizer thread issues

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
4 Dec 2002 12:17:58 -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.


--- shadow/35040	Wed Dec  4 07:17:58 2002
+++ shadow/35040.tmp.8212	Wed Dec  4 07:17:58 2002
@@ -0,0 +1,31 @@
+Bug#: 35040
+Product: Mono/Runtime
+Version: unspecified
+OS: other
+OS Details: 
+Status: NEW   
+Priority: Normal
+Component: misc
+AssignedTo: dick@ximian.com                            
+ReportedBy: lupus@ximian.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+Summary: Finalizer thread issues
+There are currently 3 issues with the finalizer thread, I'm using this bug
+to collect them:
+1) WaiForPendingFinalizers() needs to be implemented and used in some part
+of the runtime (when we run out of handles, for example, we call
+GC_collect(), but with the separate finalizer thread, no handle is freed in
+time, we need to wait for the finalizers to run).
+2) the main thread hanging issue is partially related to the additional
+needed finalizer thread
+3) more or less random failures when the finalizer thread is enabled: Some
+of these failures may be more related to thread race conditions, since the
+finalizers are run asynchronously, but some may be related to how the
+finalizers are run in the thread. This needs investigating before the
+finalizer thread is enabled for 'production' (ie stable releases).