comment ggc_handle_finalizers
* ggc-page.c (ggc_handle_finalizers): Add comment. From-SVN: r210569
This commit is contained in:
parent
de49ce19cc
commit
c3af645c4c
@ -1,3 +1,7 @@
|
||||
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.
|
||||
|
@ -1859,6 +1859,11 @@ clear_marks (void)
|
||||
}
|
||||
}
|
||||
|
||||
/* 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 ()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user