]> granicus.if.org Git - gc/commit
2011-04-07 Ivan Maidanski <ivmai@mail.ru>
authorivmai <ivmai>
Thu, 7 Apr 2011 20:35:46 +0000 (20:35 +0000)
committerIvan Maidanski <ivmai@mail.ru>
Tue, 26 Jul 2011 17:06:57 +0000 (21:06 +0400)
commitbe457cfd5dde0cc1a1db497a70c15b7bd38153b8
tree3a5446226dc138c7113e857a219cd971fc24cea0
parent1348d9d446428a3afc8900881b61ed7bbdffe5f5
2011-04-07  Ivan Maidanski  <ivmai@mail.ru>

* alloc.c (GC_check_heap, GC_print_all_smashed): Move the
definition from misc.c.
* dbg_mlc.c (GC_debug_malloc_atomic_uncollectable): Define as
public.
* include/gc.h (GC_debug_malloc_atomic_uncollectable): Declare.
* include/gc.h (GC_MALLOC_ATOMIC_UNCOLLECTABLE): Define new public
macro.
* dbg_mlc.c (MAX_SMASHED): Don't define if already set.
* reclaim.c (MAX_LEAKED): Ditto.
* dbg_mlc.c (GC_add_smashed): Add FIXME about the concurrent
access to the global array.
* reclaim.c (GC_add_leaked): Ditto.
* misc.c (GC_print_back_height): Set on if GC_PRINT_BACK_HEIGHT
(new macro) is defined.
* doc/README.macros (GC_PRINT_BACK_HEIGHT): Document.
* misc.c (GC_dump_regularly, GC_init): Replace 0/1 for
GC_dump_regularly and GC_print_back_height variables with
FALSE/TRUE.
* reclaim.c (GC_print_all_errors): Refine the comment.
ChangeLog
alloc.c
dbg_mlc.c
doc/README.macros
include/gc.h
include/private/gc_priv.h
misc.c
reclaim.c