summaryrefslogtreecommitdiff
path: root/pthread_stop_world.c
diff options
context:
space:
mode:
authorhboehm <hboehm>2009-03-01 01:20:14 +0100
committerIvan Maidanski <ivmai@mail.ru>2011-07-26 19:06:44 +0200
commitee6104254324ccb8728cca74b866c5b26d481cfc (patch)
treeaa419b7c1a748105785feca4a00dbee3c2eaadef /pthread_stop_world.c
parent6aed8bc60c99a11ab94c8dca3b7ca15926f10c4b (diff)
2009-02-28 Hans Boehm <Hans.Boehm@hp.com> (Mostly Ivan Maidansky)
* allchblk.c, backgraph.c, dbg_mlc.c, dyn_load.c, finalize.c, include/private/gc_pmark.h, malloc.c, mark.c, os_dep.c, pthread_stop_world.c, pthread_support.c, reclaim.c, thread_local_alloc.c. * misc.s: Refine comment. 2009-02-28 Hans Boehm <Hans.Boehm@hp.com> * os_dep.c: Define GC_GWW_BUF_LEN more intelligently. Add FIXME comment.
Diffstat (limited to 'pthread_stop_world.c')
-rw-r--r--pthread_stop_world.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pthread_stop_world.c b/pthread_stop_world.c
index c077736..36c24dd 100644
--- a/pthread_stop_world.c
+++ b/pthread_stop_world.c
@@ -296,7 +296,7 @@ void GC_push_all_stacks(void)
# endif
# ifdef IA64
# if DEBUG_THREADS
- GC_printf("Reg stack for thread 0x%x = [%lx,%lx)\n",
+ GC_printf("Reg stack for thread 0x%x = [%p,%p)\n",
(unsigned)p -> id, bs_lo, bs_hi);
# endif
if (THREAD_EQUAL(p -> id, me)) {
@@ -310,7 +310,7 @@ void GC_push_all_stacks(void)
}
}
if (GC_print_stats == VERBOSE) {
- GC_log_printf("Pushed %d thread stacks\n", nthreads);
+ GC_log_printf("Pushed %d thread stacks\n", (int)nthreads);
}
if (!found_me && !GC_in_thread_creation)
ABORT("Collecting from unknown thread.");