diff options
author | ivmai <ivmai> | 2010-03-26 07:22:57 +0000 |
---|---|---|
committer | Ivan Maidanski <ivmai@mail.ru> | 2011-07-26 21:06:53 +0400 |
commit | e9374e1f28307eb693d429b9c141df11580a9a1a (patch) | |
tree | 06d2de8c818765f80db2f7a2b3f2867512c1eea4 /alloc.c | |
parent | 9c4172ecaa580948bf6414fc7b5c823aeb5d0423 (diff) | |
download | bdwgc-e9374e1f28307eb693d429b9c141df11580a9a1a.tar.gz |
2010-03-26 Ivan Maidanski <ivmai@mail.ru> (really Hans Boehm)
* alloc.c (GC_maybe_gc): Move GC_notify_full_gc() call upper to
be just before GC_clear_marks() call.
* include/gc_mark.h (GC_start_callback_proc): Refine the comment.
Diffstat (limited to 'alloc.c')
-rw-r--r-- | alloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -369,9 +369,9 @@ STATIC void GC_maybe_gc(void) } GC_promote_black_lists(); (void)GC_reclaim_all((GC_stop_func)0, TRUE); + GC_notify_full_gc(); GC_clear_marks(); n_partial_gcs = 0; - GC_notify_full_gc(); GC_is_full_gc = TRUE; } else { n_partial_gcs++; |