[Aldor-l] Garbage collector

Jacques Carette carette at mcmaster.ca
Thu Dec 20 08:51:55 EST 2007


As far as I know, Aldor's GC is quite good, so the problem is not 
necessarily the GC itself, but that some routines must allocate too much 
(easily reclaimable?) memory.  So whoever is interested in optimizing 
Aldor really needs an 'allocation map' first.  Is there anything like 
gprof available for this task?

Jacques

Pippijn van Steenhoven wrote:
> Hi all,
>
> today, I created a call-log of the aldor compiler compiling lang.as from
> libfoamlib. It is about 3MiB gzipped (116MiB unzipped) and can be downloaded
> from http://pip.one09.net/files/up/callgraph.out.gz. I also generated a
> callgraph visualising what I can see in the log: the garbage collector is
> taking up most of the time. In fact, it takes up about 92% of the time. If
> anybody is interested in optimising aldor, this would be the place to look at.
>
> Reference: http://pip.one09.net/files/up/gc_slowness.png
>   
>



More information about the Aldor-l mailing list