[m-rev.] for review: enable parallel marking on linux

Julien Fischer juliensf at csse.unimelb.edu.au
Fri Aug 4 18:10:57 AEST 2006

On Wed, 2 Aug 2006, Peter Wang wrote:

> This didn't use to show any benefit before when I just reused the x86
> atomic ops on saturn, but now it makes a big difference.  Also, if it's
> planned to upgrade to gc7.0alphaN soon, that'd be fine as well.
> I'm going to see about enabling thread-local allocation and parallel
> marking on Solaris, too, now that there is a fancy new machine :)
> Estimated hours taken: 1
> Branches: main
> Mmake.common.in:
> configure.in:
> 	Enable the parallel marking code in the Boehm GC in parallel grades
> 	by adding -DPARALLEL_MARK to the compiler flags, on Linux.
> boehm_gc/include/private/gc_locks.h:
> 	Backport implementations of GC_test_and_set, GC_compare_and_exchange,
> 	and GC_memory_barrier for x86-64 from libatomic_ops-1.2.
> boehm_gc/include/private/gcconfig.h:
> 	Fix a typo that prevented gcc prefetch builtins from being used on
> 	x86-64.

If this improves the performance of hlc.par.gc as well then it should also
go on the release branch.

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

More information about the reviews mailing list