[Gc] Atomicityfor LOCK_STATS

Boehm, Hans hans.boehm at hp.com
Wed Nov 12 17:35:02 PST 2008


I checked this in, with some minor changes, mostly removing or weakening ordering constraints from AO_ calls.

Hans

> -----Original Message-----
> From: gc-bounces at napali.hpl.hp.com
> [mailto:gc-bounces at napali.hpl.hp.com] On Behalf Of Ivan Maidanski
> Sent: Wednesday, November 12, 2008 7:34 AM
> To: gc at napali.hpl.hp.com
> Subject: [Gc] Atomicityfor LOCK_STATS
>
> Hi!
>
> This patch replaces "++" with AO_fetch_and_add1() for locking
> statistics counters in "pthread_support.c" and
> "win32_threads.c" files (as suggested by Boehm).
>
> Bye.
>
>



More information about the Gc mailing list