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

Mark Brown mark at cs.mu.OZ.AU
Wed Aug 31 13:19:12 AEST 2005

On 31-Aug-2005, Ralph Becket <rafe at cs.mu.OZ.AU> wrote:
> Mark Brown, Wednesday, 31 August 2005:
> > 
> > One alternative is to leave the default as is, but specify a higher limit
> > in the bootcheck script when in a debug grade.
> This would be my preferred option.
> > 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.
> This feels like a bad idea to me.

Can you elaborate?  If the default size is the same regardless of
architecture, then a pure Mercury program that successfully runs on a
32-bit machine for a given input may crash on a 64-bit machine with the
same input.  That would seem to be bad from the point of view of
portability.  (For this reason, maybe the default sizes of all memory
zones should be proportional to the word size.)


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