summaryrefslogtreecommitdiff
path: root/headers.c
diff options
context:
space:
mode:
authorivmai <ivmai>2009-10-18 08:46:08 +0000
committerIvan Maidanski <ivmai@mail.ru>2011-07-26 21:06:50 +0400
commit21bb23541f1d64e861645255c2cfdac54a930012 (patch)
treec9ff35b30d4a93b7bd1e0c310be229da64dfe517 /headers.c
parente21c83e60ad428e406ee9172750eee3db656d80f (diff)
downloadbdwgc-21bb23541f1d64e861645255c2cfdac54a930012.tar.gz
2009-10-18 Ivan Maidanski <ivmai@mail.ru>
* backgraph.c (GC_quiet): Remove the declaration (not needed anymore since gc_priv.h is always included). * checksums.c (GC_quiet): Ditto. * gcj_mlc.c (GC_quiet): Ditto. * headers.c (GC_hdr_cache_hits, GC_hdr_cache_misses): Add the comment. * include/private/gc_hdrs.h (GC_hdr_cache_hits, GC_hdr_cache_misses): Ditto. * mark.c (GC_first_nonempty): Make the volatile variable STATIC. * pthread_stop_world.c (GC_stop_count, GC_world_is_stopped): Ditto. * win32_threads.c (GC_please_stop, GC_max_thread_index, GC_mark_mutex_waitcnt): Ditto.
Diffstat (limited to 'headers.c')
-rw-r--r--headers.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/headers.c b/headers.c
index 82a60f56..3f0273a5 100644
--- a/headers.c
+++ b/headers.c
@@ -185,6 +185,7 @@ GC_INLINE void free_hdr(hdr * hhdr)
}
#ifdef COUNT_HDR_CACHE_HITS
+ /* Used for debugging/profiling (the symbols are externally visible). */
word GC_hdr_cache_hits = 0;
word GC_hdr_cache_misses = 0;
#endif