[m-dev.] Re: diff: work-around for Alpha hlc.gc GC bug

Fergus Henderson fjh at cs.mu.OZ.AU
Sun Nov 19 13:21:28 AEDT 2000


On 19-Nov-2000, Fergus Henderson <fjh at cs.mu.oz.au> wrote:
> compiler/mercury_compile.m:
> 	Add a work-around for a bug in the Boehm collector that cause
> 	it to abort with "unexpected mark stack overflow" when
> 	bootstrapping in grade hlc.gc.  The work-around is to
> 	explicitly expand the heap at program start-up.  This is
> 	probably good for performance anyway.
...
> +	/*
> +	** Explicitly force the initial heap size to be at least 2 Mb.
...
> +	*/
> +	GC_expand_hp(2 * 1024 * 1024);

I posted and committed that one a little prematurely -- it turned out
that 2M is not enough.  So I've increased it to 4M.  With that, the
compiler now bootstraps in hlc.gc on alpha-dec-osf3.2.

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
                                    |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to:       mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions:          mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------



More information about the developers mailing list