From 054786112e9aacd7be1e2291ae2c77eb310f6996 Mon Sep 17 00:00:00 2001 From: Ivan Maidanski Date: Fri, 5 Apr 2019 00:47:37 +0300 Subject: [PATCH] Fix typos in documentation (regarding 'non-incremental') * doc/gcdescr.md (Introduction): Fix typos ("non-incremental", "this operation"). * mark.c (GC_collection_in_progress): Fix a typo in comment ("non-incremental"). --- doc/gcdescr.md | 2 +- mark.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/gcdescr.md b/doc/gcdescr.md index daaf520..4024fd8 100644 --- a/doc/gcdescr.md +++ b/doc/gcdescr.md @@ -36,7 +36,7 @@ of a memory allocation: to be reachable from variables are again scanned similarly. 3. _Sweep phase_ Scans the heap for inaccessible, and hence unmarked, objects, and returns them to an appropriate free list for reuse. This is not - really a separate phase; even in non incremental mode this is operation + really a separate phase; even in non-incremental mode this operation is usually performed on demand during an allocation that discovers an empty free list. Thus the sweep phase is very unlikely to touch a page that would not have been touched shortly thereafter anyway. diff --git a/mark.c b/mark.c index 718aaf3..1812b94 100644 --- a/mark.c +++ b/mark.c @@ -123,7 +123,7 @@ STATIC GC_bool GC_objects_are_marked = FALSE; /* Are there collectible marked objects in the heap? */ /* Is a collection in progress? Note that this can return true in the */ -/* nonincremental case, if a collection has been abandoned and the */ +/* non-incremental case, if a collection has been abandoned and the */ /* mark state is now MS_INVALID. */ GC_INNER GC_bool GC_collection_in_progress(void) { -- 2.7.4