summaryrefslogtreecommitdiff
path: root/alloc.c
diff options
context:
space:
mode:
authorhboehm <hboehm>2006-03-15 01:02:08 +0000
committerIvan Maidanski <ivmai@mail.ru>2011-07-26 21:06:36 +0400
commitc2c28753d8472c5da1fd58c621a061fc5c2b2c3c (patch)
tree1a815c74c5834ec0cf121723181b9ce8fef42eec /alloc.c
parentb61f16880d92a1df1eba6459f729957af3fcd67d (diff)
downloadbdwgc-c2c28753d8472c5da1fd58c621a061fc5c2b2c3c.tar.gz
2006-03-14 Hans Boehm <Hans.Boehm@hp.com>
* alloc.c: Fix indentation, comment spelling.
Diffstat (limited to 'alloc.c')
-rw-r--r--alloc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/alloc.c b/alloc.c
index 0e292f7b..445bedb8 100644
--- a/alloc.c
+++ b/alloc.c
@@ -307,10 +307,10 @@ GC_bool GC_try_to_collect_inner(GC_stop_func stop_func)
CLOCK_TYPE start_time, current_time;
if (GC_dont_gc) return FALSE;
if (GC_incremental && GC_collection_in_progress()) {
- if (GC_print_stats) {
+ if (GC_print_stats) {
GC_log_printf(
"GC_try_to_collect_inner: finishing collection in progress\n");
- }
+ }
/* Just finish collection already in progress. */
while(GC_collection_in_progress()) {
if (stop_func()) return(FALSE);
@@ -369,7 +369,7 @@ GC_bool GC_try_to_collect_inner(GC_stop_func stop_func)
/*
* Perform n units of garbage collection work. A unit is intended to touch
* roughly GC_RATE pages. Every once in a while, we do more than that.
- * This needa to be a fairly large number with our current incremental
+ * This needs to be a fairly large number with our current incremental
* GC strategy, since otherwise we allocate too much during GC, and the
* cleanup gets expensive.
*/