* finalize.c (GC_finalize_all): Always call GC_invoke_finalizers
instead, following Ivan's original patch.
+2009-07-10 Hans Boehm <Hans.Boehm@hp.com>
+
+ * finalize.c (GC_finalize_all): Always call GC_invoke_finalizers
+ instead, following Ivan's original patch.
+
2009-06-20 Hans Boehm <Hans.Boehm@hp.com>
* allchblk.c (GC_allochblk_nth): Add assertion.
GC_enqueue_all_finalizers();
UNLOCK();
GC_invoke_finalizers();
- if (GC_finalize_on_demand &&
- GC_finalizer_notifier != (GC_finalizer_notifier_proc)0) {
- GC_finalizer_notifier();
- } else {
- GC_invoke_finalizers();
- }
+ /* Running the finalizers in this thread is arguably not a good */
+ /* idea when we should be notifying another thread to run them. */
+ /* But otherwise we don't have a great way to wait for them to */
+ /* run. */
LOCK();
}
UNLOCK();