emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Changes to th new GC percentage feature


From: Stefan Monnier
Subject: Changes to th new GC percentage feature
Date: Fri, 29 Jul 2005 14:51:05 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Regardnig the change below:

    2005-07-23  Richard M. Stallman  <address@hidden>

        * insdel.c (syms_of_insdel): staticpro combine_after_change_buffer.

        * bytecode.c (MAYBE_GC): Test gc_cons_threshold and
        gc_relative_threshold, one by one.

        * keyboard.c (read_char): Test gc_cons_threshold.
        (syms_of_keyboard): staticpro Qecho_area_clear_hook.

        * eval.c (Feval, Ffuncall): Test gc_cons_threshold and
        gc_relative_threshold, one by one.

        * alloc.c (gc_cons_threshold): Not static.
        (gc_cons_combined_threshold): Var deleted.
        (gc_relative_threshold): New variable.
        (Fgarbage_collect, init_alloc_once): Compute gc_relative_threshold
        instead of gc_cons_combined_threshold.

        * lisp.h (gc_cons_threshold, gc_relative_threshold): Declare.
        (gc_cons_combined_threshold): Declaration deleted.

what exactly is it trying to do?  The only changes I can notice are:
- the bytecode interpreter and the eval and funcall functions now check two
  values rather than one, thus being slower.
- read_char tests gc_cons_threshold.

I'm obviously missing something.  Any hint?


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]