This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/16614] Excessive resource usage in __mt_alloc
- From: "bkoz at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Jul 2004 03:33:05 -0000
- Subject: [Bug libstdc++/16614] Excessive resource usage in __mt_alloc
- References: <20040718123236.16614.peturr02@ru.is>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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