]> git.eshelyaron.com Git - emacs.git/commit
Simplify GC statistics-gathering
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 13 Sep 2019 23:09:48 +0000 (16:09 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 13 Sep 2019 23:10:54 +0000 (16:10 -0700)
commite4fb98b542c57fa4856fbeb14230ace34d910117
tree699813b8e331f5d2fc9f79e15d6e0f97a27e9d19
parent0dba340da54f129750096a5a8704805a94f5535c
Simplify GC statistics-gathering

* src/alloc.c (make_interval, allocate_string, make_float)
(free_cons, Fcons, setup_on_free_list)
(allocate_vector_from_block, Fmake_symbol):
Do not update gcstat, since it is for statistics from the most
recent GC, not for a partially-updated hodgepodge.
(sweep_vectors): Update gcstat, since setup_on_free_list
no longer does.
(garbage_collect_1): Rename to garbage_collect and adopt its API.
Remove the old garbage_collect, which is no longer needed.
All callers changed.
src/alloc.c