summaryrefslogtreecommitdiff
path: root/reclaim.c
diff options
context:
space:
mode:
authorhboehm <hboehm>2007-10-25 02:41:06 +0200
committerIvan Maidanski <ivmai@mail.ru>2011-07-26 19:06:41 +0200
commitef17eb1a029a21ba27d397a282a43fcadfea5c0f (patch)
tree7ec6e38ec8592ff5604434a9e3a3e2b4845272d5 /reclaim.c
parent6bd946e18d7ec227ee1c295b3d0122758c07511e (diff)
2007-10-24 Hans Boehm <Hans.Boehm@hp.com>
* reclaim.c (GC_bytes_found): Expand comment. * thread_local_alloc.c (GC_malloc_atomic, GC_gcj_malloc): Pass granules, not bytes, to GC_FAST_MALLOC_GRANS. * include/gc.h: Never include gc_local_alloc.h. * tests/test.c: Add size zero allocation tests.
Diffstat (limited to 'reclaim.c')
-rw-r--r--reclaim.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/reclaim.c b/reclaim.c
index cd50fa4..43fdf70 100644
--- a/reclaim.c
+++ b/reclaim.c
@@ -19,6 +19,8 @@
signed_word GC_bytes_found = 0;
/* Number of bytes of memory reclaimed */
+ /* minus the number of bytes originally */
+ /* on free lists which we had to drop. */
#if defined(PARALLEL_MARK) || defined(THREAD_LOCAL_ALLOC)
word GC_fl_builder_count = 0;