mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-10 05:30:45 -08:00
Document that gc-cons-* variables have no effect with IGC
* src/alloc.c (syms_of_alloc) <gc-cons-threshold, gc-cons-percentage>: Document that these variables have no effect with IGC.
This commit is contained in:
parent
89b7cfbb64
commit
4fd6a61605
1 changed files with 10 additions and 0 deletions
10
src/alloc.c
10
src/alloc.c
|
|
@ -8388,6 +8388,11 @@ syms_of_alloc (void)
|
|||
{
|
||||
DEFVAR_INT ("gc-cons-threshold", gc_cons_threshold,
|
||||
doc: /* Number of bytes of consing between garbage collections.
|
||||
|
||||
If Emacs is built with the new MPS-based garbage collector, this
|
||||
variable has no effect. With the traditional garbage collector, the
|
||||
effects of this variable are described below.
|
||||
|
||||
Garbage collection can happen automatically once this many bytes have been
|
||||
allocated since the last garbage collection. All data types count.
|
||||
|
||||
|
|
@ -8402,6 +8407,11 @@ See also `gc-cons-percentage'. */);
|
|||
|
||||
DEFVAR_LISP ("gc-cons-percentage", Vgc_cons_percentage,
|
||||
doc: /* Portion of the heap used for allocation.
|
||||
|
||||
If Emacs is built with the new MPS-based garbage collector, this
|
||||
variable has no effect. With the traditional garbage collector, the
|
||||
effects of this variable are described below.
|
||||
|
||||
Garbage collection can happen automatically once this portion of the heap
|
||||
has been allocated since the last garbage collection.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue