summaryrefslogtreecommitdiff
path: root/darwin_stop_world.c
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2021-09-15 08:20:38 +0300
committerIvan Maidanski <ivmai@mail.ru>2021-09-15 11:21:42 +0300
commitdcc4e8579f0b414d2b0090c475b88b92386f51e1 (patch)
treefab79bb9f44905bbcb7e8ea551e3615074f0c04f /darwin_stop_world.c
parente261f4b34d382f5518567ef6c0f3ab53ce4c6169 (diff)
downloadbdwgc-dcc4e8579f0b414d2b0090c475b88b92386f51e1.tar.gz
Adjust spaces around '=' in printed messages
(refactoring) * checksums.c (GC_check_blocks): Remove space before '=' and add a space (if missing) after '=' in printed message. * darwin_stop_world.c [DEBUG_THREADS_EXTRA] (GC_FindTopOfStack): Likewise. * dbg_mlc.c (GC_print_obj, GC_debug_print_heap_obj_proc): Likewise. * dyn_load.c [IRIX5 || USE_PROC_FOR_LIBRARIES && !LINUX || HPUX] (GC_register_dynamic_libraries): Likewise. [DEBUG_VIRTUALQUERY] (GC_dump_meminfo): Likewise. * os_dep.c [NEED_PROC_MAPS] (GC_get_maps): Likewise. * os_dep.c [PROC_VDB] (GC_proc_read_dirty): Likewise. * os_dep.c [SOFT_VDB] (soft_read_dirty): Likewise. * pthread_support.c (set_marker_thread_name, GC_start_mark_threads_inner): Likewise. * pthread_support.c [DEBUG_THREADS] (GC_delete_thread, GC_unregister_my_thread_inner, GC_unregister_my_thread, GC_thread_exit_proc, GC_start_rtn_prepare_thread): Likewise. * pthread_support.c [GC_LINUX_THREADS] (GC_get_nprocs): Likewise. * tests/disclaim_weakmap_test.c [DEBUG_DISCLAIM_WEAKMAP] (weakmap_add, weakmap_disclaim): Likewise. * tests/subthread_create.c (run_one_test): Likewise. * win32_threads.c (GC_delete_thread, GC_push_stack_for, GC_get_next_stack): Likewise. * darwin_stop_world.c [DEBUG_THREADS] (GC_stack_range_for): Remove '=' in printed message and/or improve message. * mark.c (GC_signal_mark_stack_overflow): Likewise. * mark_rts.c [!NO_DEBUGGING] (GC_print_static_roots): Likewise. * pthread_stop_world.c [DEBUG_THREADS] (GC_push_all_stacks, GC_suspend_all): Likewise. * pthread_support.c (GC_thr_init): Likewise. * tests/disclaim_test.c (pair_dct, pair_new): Likewise. * tests/disclaim_weakmap_test.c (pair_check_rec): Likewise. * tests/initsecondarythread.c (main): Likewise. * tests/subthread_create.c (entry, main): Likewise. * tests/test.c [THREADS] (fork_a_thread, main): Likewise. * tests/test.c [MSWINCE] (thr_window): Likewise. * tests/test.c [NTHREADS>0] (main): Likewise. * tests/threadkey_test.c (main): Likewise. * dyn_load.c [ALPHA && OSF1 && DL_VERBOSE] (GC_register_dynamic_libraries): Reformat printed messages. * tests/disclaim_test.c (main): Remove space after '#' in printed message.
Diffstat (limited to 'darwin_stop_world.c')
-rw-r--r--darwin_stop_world.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/darwin_stop_world.c b/darwin_stop_world.c
index 24e41294..4bbf4042 100644
--- a/darwin_stop_world.c
+++ b/darwin_stop_world.c
@@ -81,7 +81,7 @@ GC_INNER ptr_t GC_FindTopOfStack(unsigned long stack_start)
}
# ifdef DEBUG_THREADS_EXTRA
- GC_log_printf("FindTopOfStack start at sp = %p\n", (void *)frame);
+ GC_log_printf("FindTopOfStack start at sp= %p\n", (void *)frame);
# endif
while (frame->savedSP != 0) {
/* if there are no more stack frames, stop */
@@ -95,7 +95,7 @@ GC_INNER ptr_t GC_FindTopOfStack(unsigned long stack_start)
break; /* if the next LR is bogus, stop */
}
# ifdef DEBUG_THREADS_EXTRA
- GC_log_printf("FindTopOfStack finish at sp = %p\n", (void *)frame);
+ GC_log_printf("FindTopOfStack finish at sp= %p\n", (void *)frame);
# endif
return (ptr_t)frame;
}
@@ -207,7 +207,7 @@ STATIC ptr_t GC_stack_range_for(ptr_t *phi, thread_act_t thread, GC_thread p,
} while (kern_result == KERN_ABORTED);
}
# ifdef DEBUG_THREADS
- GC_log_printf("thread_get_state returns value = %d\n", kern_result);
+ GC_log_printf("thread_get_state returns %d\n", kern_result);
# endif
if (kern_result != KERN_SUCCESS)
ABORT("thread_get_state failed");
@@ -341,7 +341,7 @@ STATIC ptr_t GC_stack_range_for(ptr_t *phi, thread_act_t thread, GC_thread p,
*paltstack_lo = NULL;
}
# ifdef DEBUG_THREADS
- GC_log_printf("Darwin: Stack for thread %p = [%p,%p)\n",
+ GC_log_printf("Darwin: Stack for thread %p is [%p,%p)\n",
(void *)(word)thread, (void *)lo, (void *)(*phi));
# endif
return lo;