egcs/gcc ChangeLog ggc-page.c
mmitchel@gcc.gnu.org
mmitchel@gcc.gnu.org
Sun Oct 31 22:57:00 GMT 1999
CVSROOT: /cvs/gcc
Module name: egcs
Changes by: mmitchel@sourceware.cygnus.com 99/10/31 22:57:01
Modified files:
gcc : ChangeLog ggc-page.c
Log message:
* ggc-page.c (struct page_entry): Remove save_num_free_objects.
(DIV_ROUND_UP): Robustify.
(ggc_recalculate_in_use_p): New function.
(release_pages): Don't inline it.
(ggc_alloc_obj): Don't refuse to allocate objects on pages for
outer contexts.
(ggc_pop_context): Use ggc_recalculate_in_use_p.
(clear_marks): Always save in_use_p.
(sweep_pages): Use ggc_recalculate_in_use_p.
(ggc_page_print_statistics): Avoid signed/unsigned comparisons.
Release pages before counting statistics.
More information about the Gcc-cvs
mailing list