aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2005-07-22 22:58:30 +0000
committerRichard M. Stallman2005-07-22 22:58:30 +0000
commit6696f2a495b6cc41cf0e5f098ca23ed9d0a6ab6b (patch)
tree4744a21efee728afba6cb932a0fa66936a60aac1
parent1050234a98ae6757876f8e110283499a410c7c90 (diff)
downloademacs-6696f2a495b6cc41cf0e5f098ca23ed9d0a6ab6b.tar.gz
emacs-6696f2a495b6cc41cf0e5f098ca23ed9d0a6ab6b.zip
(Garbage Collection): Clarify previous change.
-rw-r--r--lispref/ChangeLog4
-rw-r--r--lispref/internals.texi13
2 files changed, 10 insertions, 7 deletions
diff --git a/lispref/ChangeLog b/lispref/ChangeLog
index 5ed7f2165ce..74431dc03be 100644
--- a/lispref/ChangeLog
+++ b/lispref/ChangeLog
@@ -1,3 +1,7 @@
12005-07-22 Richard M. Stallman <rms@gnu.org>
2
3 * internals.texi (Garbage Collection): Clarify previous change.
4
12005-07-21 Stefan Monnier <monnier@iro.umontreal.ca> 52005-07-21 Stefan Monnier <monnier@iro.umontreal.ca>
2 6
3 * internals.texi (Garbage Collection): Add gc-cons-percentage. 7 * internals.texi (Garbage Collection): Add gc-cons-percentage.
diff --git a/lispref/internals.texi b/lispref/internals.texi
index 61b643bd54a..5cc0fe6e497 100644
--- a/lispref/internals.texi
+++ b/lispref/internals.texi
@@ -369,15 +369,14 @@ until the subsequent garbage collection, at which time
369@end defopt 369@end defopt
370 370
371@defopt gc-cons-percentage 371@defopt gc-cons-percentage
372The value of this variable is the minimum portion of the heap that 372The value of this variable specifies the amount of consing before a
373should be allocated before a garbage collection takes place. It is 373garbage collection occurs, as a fraction of the current heap size.
374used only if the specified size is larger than 374This criterion and @code{gc-cons-threshold} apply in parallel, and
375@code{gc-cons-threshold}. 375garbage collection occurs only when both criteria are satisfied.
376 376
377As the heap size increases, the time to perform a garbage collection 377As the heap size increases, the time to perform a garbage collection
378increases, so in order to compensate, this variable tries to 378increases. Thus, it can be desirable to do them less frequently in
379correspondingly reduce the frequency of collection by letting Emacs 379proportion.
380allocate more memory between each collection.
381@end defopt 380@end defopt
382 381
383 The value returned by @code{garbage-collect} describes the amount of 382 The value returned by @code{garbage-collect} describes the amount of