[m-dev.] New conservative GC

Ralph Becket rafe at csse.unimelb.edu.au
Thu Apr 12 16:23:07 AEST 2007


Ralph Becket, Thursday, 12 April 2007:
> Can someone give me any pointers as to where I should start looking in
> the Mercury code for adding a .hgc grade?  In particular, I need to
> ensure that
> (1) the collector is initialised at the start-of-day;
> (2) heap allocation is handled correctly;
> (3) any mutable data is identified;
> (4) tail-call-modulo-cons and CTGC are disabled (they are incompatible
>   with assumption (b)) when HGC is being used.

I forgot to include

(5) any out-of-heap regions (global variables, the trail, etc.) that can
contain heap pointers need to be pointed out to the collector.
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to:       mercury-developers at csse.unimelb.edu.au
Administrative Queries: owner-mercury-developers at csse.unimelb.edu.au
Subscriptions:          mercury-developers-request at csse.unimelb.edu.au
--------------------------------------------------------------------------



More information about the developers mailing list