-
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.
Add assertions about held lock when accessing all_bottom_indices
(code refactoring) * headers.c (GC_all_bottom_indices, GC_all_bottom_indices_end): Add comment that the variable should be accessed with the allocation lock held. * headers.c (get_index, GC_apply_to_all_blocks, GC_next_used_block, GC_prev_block): Add assertion (at the beginning of the function) that the allocation lock is held.
- Loading branch information
Showing
1 changed file
with
8 additions
and
4 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