[m-dev.] New conservative GC

Julien Fischer juliensf at csse.unimelb.edu.au
Thu Apr 12 19:26:15 AEST 2007


On Thu, 12 Apr 2007, Ralph Becket wrote:

> 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.

Some of the work Ben Schmidt did with the accurate collector and foreign 
code might be useful here.

Julien.


--------------------------------------------------------------------------
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