]> granicus.if.org Git - gc/commit
2011-04-18 Ivan Maidanski <ivmai@mail.ru>
authorivmai <ivmai>
Mon, 18 Apr 2011 21:14:54 +0000 (21:14 +0000)
committerIvan Maidanski <ivmai@mail.ru>
Tue, 26 Jul 2011 17:06:57 +0000 (21:06 +0400)
commit1178f485b6757985b906b7821cb458cba826f696
tree6d22c5e9bcd1ce98c6f17f5aa352a87579096cfa
parent5525068dbc6e9707f5bc703825bf1cfb76eeeb5f
2011-04-18  Ivan Maidanski  <ivmai@mail.ru>

* dbg_mlc.c (GC_store_debug_info_inner): Always define; add
"const" to its string argument.
* dbg_mlc.c (GC_store_debug_info): Call GC_store_debug_info_inner.
* dbg_mlc.c (GC_debug_free): Set GC_have_errors in case of
smashed or previously deallocated found.
* dbg_mlc.c (GC_check_heap_block): Replace while loop with a for
one.
* reclaim.c (GC_reclaim_check): Ditto.
* dbg_mlc.c (GC_check_heap_proc): Remove redundant cast to word.
* os_dep.c (GC_get_stack_base): Don't initialize
stackbase_main_self/ss_sp on Solaris if thr_main() is zero (thus
calling GC_INIT() from a non-primordial thread is possible now).
* reclaim.c (GC_add_leaked): Turn into an inline one.
* reclaim.c (GC_reclaim_small_nonempty_block):
Change report_if_found type from int/word to boolean.
* include/private/gc_priv.h (GC_start_reclaim): Ditto.
* include/private/gc_priv.h (set_mark_bit_from_hdr,
clear_mark_bit_from_hdr): Place closing parenthesis properly;
reformat the code.
ChangeLog
dbg_mlc.c
include/private/gc_priv.h
os_dep.c
reclaim.c