Wed Dec 4 11:02:30 CET 2002 Paolo Molaro <lupus@ximian.com>
authorPaolo Molaro <lupus@oddwiz.org>
Wed, 4 Dec 2002 10:04:40 +0000 (10:04 -0000)
committerPaolo Molaro <lupus@oddwiz.org>
Wed, 4 Dec 2002 10:04:40 +0000 (10:04 -0000)
* gc.c: disable the finalizer thread for now, untill all the issues
with it are resolved.

svn path=/trunk/mono/; revision=9376

mono/metadata/ChangeLog
mono/metadata/gc.c

index 5bdfbd987a0a522effb7d39b3f2b5228ebd2c8bd..70ed7aea9754633832abde5f8a361bc08b2a36fe 100644 (file)
@@ -1,4 +1,9 @@
 
+Wed Dec 4 11:02:30 CET 2002 Paolo Molaro <lupus@ximian.com>
+
+       * gc.c: disable the finalizer thread for now, untill all the issues
+       with it are resolved.
+
 Wed Dec 4 10:44:01 CET 2002 Paolo Molaro <lupus@ximian.com>
 
        * string-icalls.c: handle embedded nulls in string ctor when the
index f1664189f8a622e72a9d75d0b8455381aa8bdd14..2b8820681e10ba0266b6eecc64ee7d074df84824 100644 (file)
@@ -55,9 +55,6 @@ run_finalize (void *obj, void *data)
        /*g_print ("Finalize run on %p %s.%s\n", o, mono_object_class (o)->name_space, mono_object_class (o)->name);*/
        mono_domain_set (mono_object_domain (o));
 
-       /* fixme: running the finalizer break some tests, at least on rh7.3 */
-       return;
-
        mono_runtime_invoke (o->vtable->klass->vtable [finalize_slot], o, NULL, &exc);
 
        if (exc) {
@@ -442,6 +439,13 @@ void mono_gc_init (void)
 
        InitializeCriticalSection (&handle_section);
 
+       /* 
+        * A return here disables the separate finalizer thread.
+        * It's currently disabled because it still requires some
+        * work in the rest of the runtime.
+        */
+       return;
+
        if (getenv ("GC_DONT_GC"))
                return;