Skip to content

Commit

Permalink
Fix a typo in comment belonging to GC_mark_some prototype
Browse files Browse the repository at this point in the history
* include/private/gc_priv.h (GC_mark_some): Fix a typo
("one page of marking work") in comment.
* include/private/gc_priv.h (GC_initiate_gc): Start a sentence in
comment with an upper case letter.
  • Loading branch information
ivmai committed Sep 1, 2024
1 parent f8089a2 commit bfbc757
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions include/private/gc_priv.h
Original file line number Diff line number Diff line change
Expand Up @@ -1930,12 +1930,12 @@ GC_INNER void GC_invalidate_mark_state(void);
/* ones, and roots may point to */
/* unmarked objects. Reset mark stack. */
GC_INNER GC_bool GC_mark_some(ptr_t cold_gc_frame);
/* Perform about one pages worth of marking */
/* Perform about one page of marking */
/* work of whatever kind is needed. Returns */
/* quickly if no collection is in progress. */
/* Return TRUE if mark phase finished. */
/* Return TRUE if mark phase is finished. */
GC_INNER void GC_initiate_gc(void);
/* initiate collection. */
/* Initiate collection. */
/* If the mark state is invalid, this */
/* becomes full collection. Otherwise */
/* it's partial. */
Expand Down

0 comments on commit bfbc757

Please sign in to comment.