diff options
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | include/private/gc_priv.h | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -7117,7 +7117,7 @@ parameters; return free list index bound. (GC_merge_unmapped): Don't access nexthdr until after null test. (Fixes bug in 1/29/08 check-in.) (GC_allochblk): Calculate when splitting is allowable only once here, not when considering each -block. (GC_allchblk_nth): Accept new may_split parameter. +block. (GC_allochblk_nth): Accept new may_split parameter. Avoid some redundant tests for exact size matches. * alloc.c (GC_should_collect): Cache min_bytes_allocd. (GC_maybe_gc): Make locking assertion testable. diff --git a/include/private/gc_priv.h b/include/private/gc_priv.h index 187e961b..7e3d0bd8 100644 --- a/include/private/gc_priv.h +++ b/include/private/gc_priv.h @@ -1917,7 +1917,7 @@ GC_INNER ptr_t GC_alloc_large(size_t lb, int k, unsigned flags); /* Allocate a large block of size lb bytes. */ /* The block is not cleared. */ /* Flags is 0 or IGNORE_OFF_PAGE. */ - /* Calls GC_allchblk to do the actual */ + /* Calls GC_allochblk to do the actual */ /* allocation, but also triggers GC and/or */ /* heap expansion as appropriate. */ /* Does not update GC_bytes_allocd, but does */ |