]> granicus.if.org Git - gc/commit
Use GC_log_printf for logging instead of GC_[err_]printf
authorIvan Maidanski <ivmai@mail.ru>
Thu, 8 Nov 2012 04:01:51 +0000 (08:01 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Thu, 8 Nov 2012 12:05:45 +0000 (16:05 +0400)
commit4e533165f59772b6d6afd58216650e003b53d6d1
treed60558bccf3f7c3442c8f4dc685323b0512a18d8
parent0d19cbbfacdf118b10604ea4bd9fbd1250654f5c
Use GC_log_printf for logging instead of GC_[err_]printf

* backgraph.c (GC_print_back_graph_stats): Use GC_err_printf instead
of GC_printf (since invoked GC_print_heap_obj uses GC_err_printf).
* darwin_stop_world.c (GC_FindTopOfStack): Replace GC_printf with
GC_log_printf (inside DEBUG_THREADS blocks).
* include/private/gc_priv.h (GC_printf, GC_log_printf): Add comment.
* malloc.c (GC_free): Replace GC_err_printf with GC_log_printf (inside
LOG_ALLOCS block).
* thread_local_alloc.c (GC_malloc): Likewise.
backgraph.c
darwin_stop_world.c
include/private/gc_priv.h
malloc.c
thread_local_alloc.c