This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/19614] Excessive memory consumption with a class with large (200) virtual (pure?) function and derived classes
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Jan 2005 06:45:50 -0000
- Subject: [Bug c++/19614] Excessive memory consumption with a class with large (200) virtual (pure?) function and derived classes
- References: <20050124205844.19614.dmartin@cliftonlabs.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-25 06:45 -------
This explains a lot:
vtables = 917; vtable searches = 0
vtable entries = 0; vtable elems = 82020
(In reply to comment #4)
> We could create one ADDR_EXPR for the pure virtual case which will both speed up this and create a
> huge amount of less memory (how much I don't know yet but I will test it soon).
This saves us about 5M-7M on powerpc-darwin but could be more on x86_64 and other targets, I will
submit this now.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19614