This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: DECL_RTL vs. explicit make_decl_rtl calls
- From: Neil Booth <neil at daikokuya dot demon dot co dot uk>
- To: law at redhat dot com
- Cc: "David S. Miller" <davem at redhat dot com>, rth at redhat dot com, gcc at gcc dot gnu dot org,mark at codesourcery dot com
- Date: Thu, 13 Jun 2002 20:22:05 +0100
- Subject: Re: DECL_RTL vs. explicit make_decl_rtl calls
- References: <20020613.025639.16264375.davem@redhat.com> <32459.1023979859@porcupine.cygnus.com>
law@redhat.com wrote:-
> The #2 abuser of garbage collected memory is make_node, also with 15%
> of the calls to allocate garbage collected memory. I haven't investigated
> this call chain at all.
Note that IDENTIFIER_NODE is never garbage collected, and should be
allocated separately from GC. They should not really be trees, either,
but that would take some fixing, but save a bunch of memory, as almost
all of struct tree_common is unused for them.
Neil.