diff options
author | ivmai <ivmai> | 2009-12-08 16:25:04 +0000 |
---|---|---|
committer | Ivan Maidanski <ivmai@mail.ru> | 2011-07-26 21:06:52 +0400 |
commit | 61d0de0517da47be2718db10e7987f6ab4936bd6 (patch) | |
tree | bd35f7a49d99deb9dd19aee0bc09da7af3131f84 /mark.c | |
parent | 197742f24da7b83431132559f8e306d5da5df8f0 (diff) | |
download | bdwgc-61d0de0517da47be2718db10e7987f6ab4936bd6.tar.gz |
2009-12-08 Ivan Maidanski <ivmai@mail.ru>
* allchblk.c (GC_allochblk_nth): Don't call GC_remove_protection()
if GC_DISABLE_INCREMENTAL.
* reclaim.c (GC_reclaim_generic): Ditto.
* checksums.c (GC_page_was_ever_dirty): Add prototype.
* include/private/gc_locks.h (GC_mark_lock_holder): Don't declare
unless PARALLEL_MARK.
* include/private/gc_priv.h (GC_dirty_maintained,
GC_page_was_dirty, GC_remove_protection, GC_dirty_init): Don't
declare if GC_DISABLE_INCREMENTAL.
* include/private/gc_priv.h (GC_print_finalization_stats): Don't
declare if SMALL_CONFIG.
* include/private/gcconfig.h (CHECKSUMS): Explicitly undefine if
GC_DISABLE_INCREMENTAL (since nothing to check).
* include/private/gcconfig.h (DEFAULT_VDB): Don't define if
GC_DISABLE_INCREMENTAL.
* os_dep.c (GC_dirty_maintained): Ditto.
* mark.c (GC_initiate_gc): Don't call GC_read_dirty() if
GC_DISABLE_INCREMENTAL.
* os_dep.c (GC_gww_page_was_ever_dirty, GC_page_was_ever_dirty):
Uncomment; define only if CHECKSUMS.
Diffstat (limited to 'mark.c')
-rw-r--r-- | mark.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -259,7 +259,9 @@ GC_INNER void GC_clear_marks(void) /* mark state is invalid. */ GC_INNER void GC_initiate_gc(void) { - if (GC_dirty_maintained) GC_read_dirty(); +# ifndef GC_DISABLE_INCREMENTAL + if (GC_dirty_maintained) GC_read_dirty(); +# endif # ifdef STUBBORN_ALLOC GC_read_changed(); # endif |