]> granicus.if.org Git - gc/commit
Adjust logged messages in start_mark_threads and GC_thr_init
authorIvan Maidanski <ivmai@mail.ru>
Mon, 19 Nov 2012 05:23:58 +0000 (09:23 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Mon, 19 Nov 2012 12:24:27 +0000 (16:24 +0400)
commita10f50da4f60fbf6d21f02cc2cec2c6dfa443966
tree7915151b5b1f921a935b6930b23a69c9ed466023
parent2641c9ec0ec43ecf3b2743a458d213fe36493dd6
Adjust logged messages in start_mark_threads and GC_thr_init

* pthread_support.c (start_mark_threads): Move GC_COND_LOG_PRINTF call
to the function end (i.e., call pthread_attr_destroy first).
* pthread_support.c (GC_thr_init): Do not log number of marker threads
since start_mark_threads logs number of started mark helper threads
(only if PARALLEL_MARK).
* win32_threads.c (start_mark_threads): Update comment; move logging
of started mark helper threads from GC_thr_init().
* win32_threads.c (GC_thr_init): Log corresponding message if parallel
marking is disabled (similar to that in pthread_support.c, only if
PARALLEL_MARK).
pthread_support.c
win32_threads.c