summaryrefslogtreecommitdiff
path: root/mark_rts.c
diff options
context:
space:
mode:
authorhboehm <hboehm>2008-02-20 19:48:42 +0100
committerIvan Maidanski <ivmai@mail.ru>2011-07-26 19:06:42 +0200
commitd2972463672f2bfd85716059136852bb6abe7a91 (patch)
treeb0e62f5da2ae5e2e0a610a1ad2e2a3219e1ba724 /mark_rts.c
parentd6b11ce91f2ef4c7bcacd98326f5b27bed0e25a0 (diff)
2008-02-20 Hans Boehm <Hans.Boehm@hp.com>
* allchblk.c (GC_enough_large_bytes_left): No longer take 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. Avoid some redundant tests for exact size matches. * alloc.c (GC_should_collect): Cache min_bytes_allocd. (GC_maybe_gc): Make locking assertion testable. * mark_rts.c: Fix indentation. * pthread_stop_world.c: Replace old GC_err_printf1 reference. * tests/test.c: Remove (void) casts. Optionally print some timing information.
Diffstat (limited to 'mark_rts.c')
-rw-r--r--mark_rts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mark_rts.c b/mark_rts.c
index 0def44f..1c81f58 100644
--- a/mark_rts.c
+++ b/mark_rts.c
@@ -296,7 +296,7 @@ void GC_remove_tmp_roots(void)
GC_remove_root_at_pos(i);
} else {
i++;
- }
+ }
}
#if !defined(MSWIN32) && !defined(MSWINCE)
GC_rebuild_root_index();