[Bug other/10944] alloc_page in ggc-page.c is slow

zack@gcc.gnu.org gcc-bugzilla@gcc.gnu.org
Fri May 23 22:08:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10944


zack@gcc.gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2003-05-23 20:19:39         |2003-05-23 21:52:36
               date|                            |


------- Additional Comments From zack@gcc.gnu.org  2003-05-23 21:52 -------
The code in alloc_page is remarkably stupid, but the linked list traversal
should only occur when trying to allocate an object larger than a single
page, which is believed to happen almost never.  Can you please find out
whether it's really spending time in that list, or if some other area is
the cause of the problem?

I'll take responsibility for this bug; I've been meaning to get us per-order
freelists for a long time.




------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



More information about the Gcc-bugs mailing list