changeset 64602:cf0f927b0ecc

(Garbage Collection): Clarify previous change.
author Richard M. Stallman <rms@gnu.org>
date Fri, 22 Jul 2005 22:58:15 +0000
parents a0a53728d812
children f88a63e3e841
files lispref/internals.texi
diffstat 1 files changed, 6 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/lispref/internals.texi	Fri Jul 22 18:53:02 2005 +0000
+++ b/lispref/internals.texi	Fri Jul 22 22:58:15 2005 +0000
@@ -369,15 +369,14 @@
 @end defopt
 
 @defopt gc-cons-percentage
-The value of this variable is the minimum portion of the heap that
-should be allocated before a garbage collection takes place.  It is
-used only if the specified size is larger than
-@code{gc-cons-threshold}.
+The value of this variable specifies the amount of consing before a
+garbage collection occurs, as a fraction of the current heap size.
+This criterion and @code{gc-cons-threshold} apply in parallel, and
+garbage collection occurs only when both criteria are satisfied.
 
 As the heap size increases, the time to perform a garbage collection
-increases, so in order to compensate, this variable tries to
-correspondingly reduce the frequency of collection by letting Emacs
-allocate more memory between each collection.
+increases.  Thus, it can be desirable to do them less frequently in
+proportion.
 @end defopt
 
   The value returned by @code{garbage-collect} describes the amount of