aboutsummaryrefslogtreecommitdiff
path: root/boehm-gc/doc
diff options
context:
space:
mode:
authorHans Boehm <Hans_Boehm@hp.com>2002-04-09 00:39:16 +0000
committerHans Boehm <hboehm@gcc.gnu.org>2002-04-09 00:39:16 +0000
commit787bf7e377c15754ff9f0670dbeb037125faad7d (patch)
tree0f43ea46e4d334b0f5b6be281db4806e87434993 /boehm-gc/doc
parentcc382e5c1af3b867867cde8f906ae9fbfc9ac105 (diff)
downloadgcc-787bf7e377c15754ff9f0670dbeb037125faad7d.zip
gcc-787bf7e377c15754ff9f0670dbeb037125faad7d.tar.gz
gcc-787bf7e377c15754ff9f0670dbeb037125faad7d.tar.bz2
gc_priv.h (WARN macro): Add "GC warning:" prefix.
* include/private/gc_priv.h (WARN macro): Add "GC warning:" prefix. (GC_large_alloc_warn_interval, GC_large_alloc_warn_suppressed): declare. * allchblk.c (GC_allchblk_nth): Change text and support reduced frequency for blacklist warning message. * misc.c (GC_large_alloc_warn_interval, GC_large_alloc_warn_suppressed): define. (GC_init_inner): Check GC_NO_BLACKLIST_WARNING and GC_LARGE_ALLOC_WARN_INTERVAL environment variables. * doc/README.environment (GC_NO_BLACKLIST_WARNING): Deprecate. (GC_LARGE_ALLOC_WARN_INTERVAL): Add documentation. * dyn_load.c (_DYNAMIC): Move declaration to file scope. From-SVN: r52053
Diffstat (limited to 'boehm-gc/doc')
-rw-r--r--boehm-gc/doc/README.environment11
1 files changed, 10 insertions, 1 deletions
diff --git a/boehm-gc/doc/README.environment b/boehm-gc/doc/README.environment
index 6b25af1..c7daddb 100644
--- a/boehm-gc/doc/README.environment
+++ b/boehm-gc/doc/README.environment
@@ -30,7 +30,16 @@ GC_NPROCS=<n> - Linux w/threads only. Explicitly sets the number of processors
correctness, but may lead to really horrible performance.
GC_NO_BLACKLIST_WARNING - Prevents the collector from issuing
- "Needed to allocate blacklisted block at ..." warnings.
+ warnings about allocations of very large blocks.
+ Deprecated. Use GC_LARGE_ALLOC_WARN_INTERVAL instead.
+
+GC_LARGE_ALLOC_WARN_INTERVAL=<n> - Print every nth warning about very large
+ block allocations, starting with the nth one. Small values
+ of n are generally benign, in that a bounded number of
+ such warnings generally indicate at most a bounded leak.
+ For best results it should be set at 1 during testing.
+ Default is 5. Very large numbers effectively disable the
+ warning.
GC_IGNORE_GCJ_INFO - Ignore the type descriptors implicitly supplied by
GC_gcj_malloc and friends. This is useful for debugging