diff options
| author | Paul Eggert | 2019-09-14 10:53:24 -0700 |
|---|---|---|
| committer | Paul Eggert | 2019-09-14 10:56:12 -0700 |
| commit | 1acc0cc9aaf25c808a60cf09cf8a4d1c653c3aa9 (patch) | |
| tree | a1b386031ae203e49564cccc6071e564fe5f0348 /etc | |
| parent | 3f43adac495364aa76703acb86b07b47fe64b422 (diff) | |
| download | emacs-1acc0cc9aaf25c808a60cf09cf8a4d1c653c3aa9.tar.gz emacs-1acc0cc9aaf25c808a60cf09cf8a4d1c653c3aa9.zip | |
Improve doc of GC thresholds
* doc/lispref/internals.texi (Garbage Collection), etc/NEWS:
Warn that control over GC is only approximate.
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/NEWS | 7 |
1 files changed, 7 insertions, 0 deletions
| @@ -2430,6 +2430,13 @@ remote systems, which support this check. | |||
| 2430 | ** 'memory-limit' now returns a better estimate of memory consumption. | 2430 | ** 'memory-limit' now returns a better estimate of memory consumption. |
| 2431 | 2431 | ||
| 2432 | +++ | 2432 | +++ |
| 2433 | ** When interpreting 'gc-cons-percentage', Emacs now estimates the | ||
| 2434 | heap size more often and (we hope) more accurately. E.g., formerly | ||
| 2435 | (progn (let ((gc-cons-percentage 0.8)) BODY1) BODY2) continued to use | ||
| 2436 | the 0.8 value during BODY2 until the next garbage collection, but that | ||
| 2437 | is no longer true. Applications may need to re-tune their GC tricks. | ||
| 2438 | |||
| 2439 | +++ | ||
| 2433 | ** New macro 'combine-change-calls' arranges to call the change hooks | 2440 | ** New macro 'combine-change-calls' arranges to call the change hooks |
| 2434 | ('before-change-functions' and 'after-change-functions') just once | 2441 | ('before-change-functions' and 'after-change-functions') just once |
| 2435 | each around a sequence of lisp forms, given a region. This is | 2442 | each around a sequence of lisp forms, given a region. This is |