This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: GCC Optimisation, Part 0: Introduction
- From: Laurynas Biveinis <laurynas dot biveinis at gmail dot com>
- To: Dimitrios Apostolou <jimis at gmx dot net>
- Cc: gcc at gcc dot gnu dot org
- Date: Thu, 28 Apr 2011 05:54:27 +0300
- Subject: Re: GCC Optimisation, Part 0: Introduction
- References: <alpine.LNX.2.00.1104271602301.10280@localhost.localdomain>
2011/4/27 Dimitrios Apostolou <jimis@gmx.net>:
> * ggc_internal_alloc_stat() or maybe implementing proper memory management
> instead of garbage collection, for hottest caller
This one can easily take much more time than three months. I've been
working in this area, right now I'm working on allocating RTL outside
GC.
There are some things one can do in three months, but which will not
necessarily result in speedups, only perhaps will enable future
speed-ups:
- Add object type tag to GC-allocated objects;
- Introduce explicit marking stack instead of current implicit
execution-based stack;
Having these two it should be possible to replace GC implementation
with something more advanced, for example, incremental GC.
--
Laurynas