summaryrefslogtreecommitdiff
path: root/blacklst.c
diff options
context:
space:
mode:
authorhboehm <hboehm>2008-12-04 01:45:52 +0000
committerIvan Maidanski <ivmai@mail.ru>2011-07-26 21:06:44 +0400
commitd0c4c9522bf1cc685ed3175739366c2c4fffc9f5 (patch)
treea704224df342ec17ef5c7db14bd933a99b5b965b /blacklst.c
parent999ca2ccd172f50372a4e1568c16912e877da937 (diff)
downloadbdwgc-d0c4c9522bf1cc685ed3175739366c2c4fffc9f5.tar.gz
2008-12-03 Hans Boehm <Hans.Boehm@hp.com> (Really Ivan Maidansky)
* blacklst.c (GC_print_source_pointer): Don't call GC_print_heap_obj with lock.
Diffstat (limited to 'blacklst.c')
-rw-r--r--blacklst.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/blacklst.c b/blacklst.c
index 122c2b91..f75ed901 100644
--- a/blacklst.c
+++ b/blacklst.c
@@ -74,7 +74,10 @@ STATIC void GC_print_source_ptr(ptr_t p)
}
} else {
GC_err_printf("in object at ");
- (*GC_print_heap_obj)(base);
+ /* FIXME: We can't call the debug version of GC_print_heap_obj */
+ /* (with PRINT_CALL_CHAIN) here because the lock is held and */
+ /* the world is stopped. */
+ GC_default_print_heap_obj_proc(base);
}
}
#endif