This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH to reduce memory usage ofdelete_null_pointer_checks
- To: law at cygnus dot com
- Subject: Re: PATCH to reduce memory usage ofdelete_null_pointer_checks
- From: Mark Mitchell <mark at codesourcery dot com>
- Date: Wed, 03 Nov 1999 15:29:08 -0800
- Cc: gcc-patches at gcc dot gnu dot org
- Organization: CodeSourcery, LLC
- References: <199911032246.PAA17902528@n02.acl.lanl.gov><987.941670648@upchuck>
>>>>> "Jeffrey" == Jeffrey A Law <law@cygnus.com> writes:
Jeffrey> Don't leave us hanging is suspense. How big of a
Jeffrey> difference did it make :-)
Sorry. About 10-12% on most test-cases. But, it's really more than
that; we're only seeing a reduction in peak usage by about 10-12%
because of the fact that the space that would have been used by
null-pointer checking is still getting filled up later in the
compilation by the bodies of various inlined functions.
The patch limits memory usage by the null-pointer checking pass to
about 10MB. Before it was using 150MB.
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com