This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/16614] Excessive resource usage in __mt_alloc


------- Additional Comments From bkoz at gcc dot gnu dot org  2004-07-22 03:33 -------

Compiling this ICEs mainline. It takes about 8 minutes with 3.4.1, and uses
700-800MB. The resulting executables run fine.

I've separated out the common data, and inherited from this for the rest of
__mt_alloc. This does allow mainline to compile and run. This does have an
immediate linkage improvement, comparable performance, and keeps the ability to
tune pool characteristics, although not on a per-type basis. If this ability is
considered important, it would probably be more interesting to have a policy
based design that would allow both a shared and individual (per-type) pools. 

-benjamin

-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]