This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GCC 3.3, GCC 3.4


> Use a simple contiguous allocator, up to a certain amount of memory. If that
> runs out, restart the compile using ggc-page. Most compiles would not be
> affected, and the few that do need GC will get it without too much overhead.
> You could have an option -ggc-force to avoid the restarts.

it would be even more interesting to find a (perhaps file size based)
heuristic that can predict memory needs well enough to usually get the
decision right up front.

-Tim


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]