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]

Perfomance of gc-simple


DJGPP has no mmap() nor valloc(), so it has to use
simple GC which leads to absurd compilation times
when bootstraping compiler:

While compiling toplev.c in stage2, it does GC once
{GC 5404k -> 1254k} but does it in huge amount of time:

[0% entries sniped]
Execution times (seconds)
 garbage collection    :1032.58 (97%) usr   0.00 ( 0%) sys1032.58 (97%) wall
 parser                :   6.53 ( 1%) usr   0.00 ( 0%) sys   6.53 ( 1%) wall
 CSE                   :   5.71 ( 1%) usr   0.00 ( 0%) sys   5.71 ( 1%) wall
 TOTAL                 :1067.52             0.00          1067.52

This is not the way to go. Does anyone have any advices how to speed it up?
I recall Alexandre Oliva starting discussion about making gc-page use simple
malloc(), what about that?

Laurynas Biveinis


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