[mercury-users] GC_malloc_atomic_uncollectable

Julien Fischer juliensf at csse.unimelb.edu.au
Tue Jan 4 12:41:14 AEDT 2011


On Tue, 4 Jan 2011, Michael Day wrote:

>> The only changes from the official release are the addition of some
>> callbacks for supporting threadscope; these are relatively minor, grep
>> for GC_mercury_callback in the Boehm source.
>
> So there are no modifications necessary for tagged pointers? Is this 
> something that the GC already supports, and just needs to be enabled?

Optionally, the former.  It is done by calling GC_REGISTER_DISPLACEMENT
-- which for Mercury is done when the runtime is initialised.

Julien.
--------------------------------------------------------------------------
mercury-users mailing list
Post messages to:       mercury-users at csse.unimelb.edu.au
Administrative Queries: owner-mercury-users at csse.unimelb.edu.au
Subscriptions:          mercury-users-request at csse.unimelb.edu.au
--------------------------------------------------------------------------



More information about the users mailing list