* ggc-page.c (ggc_handle_finalizers): Add comment.
From-SVN: r210569
+2014-05-17 Trevor Saunders <tsaunders@mozilla.com>
+
+ * ggc-page.c (ggc_handle_finalizers): Add comment.
+
2014-05-17 Trevor Saunders <tsaunders@mozilla.com>
* ggc-common.c (ggc_internal_cleared_alloc): Adjust.
}
}
+/* Check if any blocks with a registered finalizer have become unmarked. If so
+ run the finalizer and unregister it because the block is about to be freed.
+ Note that no garantee is made about what order finalizers will run in so
+ touching other objects in gc memory is extremely unwise. */
+
static void
ggc_handle_finalizers ()
{