[mercury-users] GC_malloc_atomic_uncollectable

Paul Bone pbone at csse.unimelb.edu.au
Tue Jan 4 13:47:35 AEDT 2011


On Tue, Jan 04, 2011 at 12:46:55PM +1100, Julien Fischer wrote:
> 
> On Tue, 4 Jan 2011, Paul Bone wrote:
> 
> >On Tue, Jan 04, 2011 at 11:47:10AM +1100, Julien Fischer wrote:
> >>
> >>On Tue, 4 Jan 2011, Michael Day wrote:
> >>
> >>>>As to whether it _should_ be enabled by default for Mercury, AFAIK
> >>>>no-one has actually tested the effect of enabling it with Mercury and
> >>>>that would need to done before any decision is made.
> >>>
> >>>Is there a summary of the changes that have been made to the
> >>>garbage collector included in the Mercury distribution compared
> >>>with the official release?
> >>
> >>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.
> >
> >I thought I saw some other GC_mercury -named things in Boehm.  But perhaps
> >we're not making use of them.
> 
> The only other one I see is GC_mercury_calc_gc_time.
> 

Ah, I remember now.  That should be re-implemented in terms of the callbacks.
The callbacks offer a generic way to do this sort of work.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: Digital signature
URL: <http://lists.mercurylang.org/archives/users/attachments/20110104/240cc6a3/attachment.sig>


More information about the users mailing list