diff options
| author | Richard M. Stallman | 2005-07-22 22:58:30 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2005-07-22 22:58:30 +0000 |
| commit | 6696f2a495b6cc41cf0e5f098ca23ed9d0a6ab6b (patch) | |
| tree | 4744a21efee728afba6cb932a0fa66936a60aac1 | |
| parent | 1050234a98ae6757876f8e110283499a410c7c90 (diff) | |
| download | emacs-6696f2a495b6cc41cf0e5f098ca23ed9d0a6ab6b.tar.gz emacs-6696f2a495b6cc41cf0e5f098ca23ed9d0a6ab6b.zip | |
(Garbage Collection): Clarify previous change.
| -rw-r--r-- | lispref/ChangeLog | 4 | ||||
| -rw-r--r-- | lispref/internals.texi | 13 |
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 @@ | |||
| 1 | 2005-07-22 Richard M. Stallman <rms@gnu.org> | ||
| 2 | |||
| 3 | * internals.texi (Garbage Collection): Clarify previous change. | ||
| 4 | |||
| 1 | 2005-07-21 Stefan Monnier <monnier@iro.umontreal.ca> | 5 | 2005-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 |
| 372 | The value of this variable is the minimum portion of the heap that | 372 | The value of this variable specifies the amount of consing before a |
| 373 | should be allocated before a garbage collection takes place. It is | 373 | garbage collection occurs, as a fraction of the current heap size. |
| 374 | used only if the specified size is larger than | 374 | This criterion and @code{gc-cons-threshold} apply in parallel, and |
| 375 | @code{gc-cons-threshold}. | 375 | garbage collection occurs only when both criteria are satisfied. |
| 376 | 376 | ||
| 377 | As the heap size increases, the time to perform a garbage collection | 377 | As the heap size increases, the time to perform a garbage collection |
| 378 | increases, so in order to compensate, this variable tries to | 378 | increases. Thus, it can be desirable to do them less frequently in |
| 379 | correspondingly reduce the frequency of collection by letting Emacs | 379 | proportion. |
| 380 | allocate 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 |