[m-rev.] trivial diff: agc: overwrite garbage with 0xDEADBEAF

Fergus Henderson fjh at cs.mu.OZ.AU
Wed Jun 5 15:05:13 AEST 2002


On 05-Jun-2002, Ralph Becket <rafe at cs.mu.OZ.AU> wrote:
> Fergus Henderson, Tuesday,  4 June 2002:
> > Estimated hours taken: 0.1
> > 
> > runtime/mercury_accurate_gc.c:
> > 	When clearing the old heap entries, use a recognizable value
> > 	(0xDEADBEAF), rather than 1, which is easily mistaken for live data.
> 
> 0xDEADBEEF, surely?

You're spelin'z better than mine.

But now that it's done that way, I'll leave it.
The exact value doesn't really matter, just that it be recognizable.

Maybe we should change it to 0xDEAD4AGC ;-)

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
The University of Melbourne         |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
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