This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Faster compilation speed
On Mon, Aug 19, 2002 at 06:51:39AM -0700, David S. Miller wrote:
> This is the one of the huge (of many) problems with GC as it currently
> is implemented. Different tree and RTL types land on different pages
> so when you walk a "SET" for example, the MEM and REG objects
> contained within will be on different pages and this costs a lot
> especially on modern processors. Our page working set is huge as a
> result of this.
Well, no, since SET, MEM, REG, PLUS all have two arguments.
And thus are all allocated from the same page.
r~