[m-rev.] for review: increase default detstack size

Ian MacLarty maclarty at cs.mu.OZ.AU
Wed Aug 31 11:34:01 AEST 2005


On Wed, 31 Aug 2005, Mark Brown wrote:

> Hi,
>
> Bootchecking fails on saturn in grade asm_fast.gc.tr.debug because of a
> detstack overflow in stage3.  One solution is to double the default size,
> which is not unreasonable since 64-bit machines are becoming more common.
> Is this a good idea?  It will come with a performance penalty (see the
> comments in runtime/mercury_wrapper.c).  This is what the diff below does.
>
> One alternative is to leave the default as is, but specify a higher limit
> in the bootcheck script when in a debug grade.  Another alternative is for
> the default size to be specified in words rather than kB, so that the size
> will naturally be doubled on 64-bit machines.  Any comments?
>

I vote for specifying the default size in words.

Ian.

--------------------------------------------------------------------------
mercury-reviews mailing list
post:  mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the reviews mailing list