-
Notifications
You must be signed in to change notification settings - Fork 408
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not mark pointer-free heap blocks in soft-dirty VDB mode
* checksums.c [SOFT_VDB] (GC_update_check_page): Do not call GC_was_faulted() if HBLK_IS_FREE(hhdr). * os_dep.c [CHECKSUMS && !GWW_VDB && !PROC_VDB] (GC_or_pages): Do not define even if SOFT_VDB. * os_dep.c [SOFT_VDB && DEBUG_DIRTY_BITS] (soft_set_grungy_pages): Refine printed message depending on is_static_root; print the message for each heap block except for pointer-free and unused (free) ones. * os_dep.c [SOFT_VDB] (soft_set_grungy_pages): Declare hhdr and b local variables; call GET_HDR() unless is_static_root; do not call PHT_HASH() and set_pht_entry_from_index() if not is_static_root and hhdr is NULL or HBLK_IS_FREE(hhdr) or IS_PTRFREE(hhdr); remove UNUSED_ARG(is_static_root). * os_dep.c [SOFT_VDB && CHECKSUMS] (soft_set_grungy_pages): Call set_pht_entry_from_index(GC_written_pages) unless is_static_root. * os_dep.c [SOFT_VDB && CHECKSUMS] (GC_soft_read_dirty): Do not call GC_or_pages(GC_written_pages).
- Loading branch information
Showing
2 changed files
with
32 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters