]> granicus.if.org Git - gc/commit
Turn on world-stop delay logging at debug level by default for Android
authorIvan Maidanski <ivmai@mail.ru>
Wed, 12 Dec 2012 19:45:32 +0000 (23:45 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Wed, 12 Dec 2012 19:45:32 +0000 (23:45 +0400)
commit34d29b8b697af4eac2f9a4dfbcdb0cf9d03f115e
tree76b1323cc18ad09d666a58c165825bbb3458955e
parent8072d4dddc958dfe92332c5a8e3b55e33ce3918c
Turn on world-stop delay logging at debug level by default for Android

* alloc.c (GC_stopped_mark): Use GC_PRINT_STATS_FLAG instead of
GC_print_stats in the condition for logging world-stop pause time.
* include/private/gc_priv.h (GC_PRINT_STATS_FLAG): New macro (defined
as !GC_quiet if GC_ANDROID_LOG otherwise as GC_print_stats.
* include/private/gc_priv.h (GC_DBGLOG_PRINTF): Define using
GC_PRINT_STATS_FLAG instead of GC_quiet; update comment.
alloc.c
include/private/gc_priv.h