aboutsummaryrefslogtreecommitdiffstats
path: root/test/lisp/erc/erc-sasl-tests.el
diff options
context:
space:
mode:
authorStefan Monnier2026-01-13 13:41:55 -0500
committerStefan Monnier2026-01-20 16:09:22 -0500
commit4150c2e22e93ca6bdf682b0067d430e412db3688 (patch)
treed6679363f7600845facc7d6711440c1bd82c5887 /test/lisp/erc/erc-sasl-tests.el
parent9ba2f13176a756030e4d8476436662d630447f65 (diff)
downloademacs-master.tar.gz
emacs-master.zip
(garbage-collect-heapsize): New functionHEADmaster
The info returned from `garbage-collect` is really handy to track the evolution of the heap size, but sadly it's available only at the cost of running a full GC, which has two big downsides: it's slow, it affects what we're measuring, and it can't be used in `post-gc-hook`. So, this patch makes it available without running the GC. * src/alloc.c (Fgarbage_collect_heapsize): New function, extracted from `Fgarbage_collect`. (Fgarbage_collect): Use it. (syms_of_alloc): defsubr it. * doc/lispref/internals.texi (Garbage Collection): Extract documentation for it from that of `garbage-collect`.
Diffstat (limited to 'test/lisp/erc/erc-sasl-tests.el')
0 files changed, 0 insertions, 0 deletions