Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Unity-Technologies/bdwgc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhboehm <hboehm>2006-04-30 07:32:43 +0400
committerIvan Maidanski <ivmai@mail.ru>2011-07-26 21:06:37 +0400
commita12588933e413d3f196c77e869b182797b47bacc (patch)
tree980773a339c0aed46450692f8bcd004ab79ce92d /backgraph.c
parent82b92fd4aca31ccbcc790ed5dd82e632b87d0e31 (diff)
2006-04-29 Hans Boehm <Hans.Boehm@hp.com>
* os_dep.c, backgraph.c: Replace obsolete GC_printf<n> calls.
Diffstat (limited to 'backgraph.c')
-rw-r--r--backgraph.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/backgraph.c b/backgraph.c
index b4dbbb0f..4c5623fb 100644
--- a/backgraph.c
+++ b/backgraph.c
@@ -247,7 +247,7 @@ static void add_edge(ptr_t p, ptr_t q)
if (be -> n_edges == 100) {
# if 0
if (GC_print_stats) {
- GC_err_printf0("The following object has in-degree >= 100:\n");
+ GC_err_printf("The following object has in-degree >= 100:\n");
GC_print_heap_obj(q);
}
# endif
@@ -448,12 +448,12 @@ void GC_traverse_back_graph(void)
void GC_print_back_graph_stats(void)
{
- GC_printf2("Maximum backwards height of reachable objects at GC %lu is %ld\n",
- (unsigned long) GC_gc_no, GC_max_height);
+ GC_printf("Maximum backwards height of reachable objects at GC %lu is %ld\n",
+ (unsigned long) GC_gc_no, (unsigned long)GC_max_height);
if (GC_max_height > GC_max_max_height) {
GC_max_max_height = GC_max_height;
- GC_printf0("The following unreachable object is last in a longest chain "
- "of unreachable objects:\n");
+ GC_printf("The following unreachable object is last in a longest chain "
+ "of unreachable objects:\n");
GC_print_heap_obj(GC_deepest_obj);
}
if (GC_print_stats) {