cuitao2046 / gperftools

Automatically exported from code.google.com/p/gperftools
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

tcmalloc needs support for Release_AtomicExchange #490

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The version of atomicops.h present in tcmalloc is out of date and does not 
contain support for {Acquire,Release}_AtomicExchange. Dmitriy Vyukov added 
support for this feature at Google but it has not been upstreamed into tcmalloc 
yet. With Dmitriy's permission, I've attached a patch to upstream support for 
{Acquire,Release}_AtomicExchange and the related tests into tcmalloc.

Passes 'make' and 'make check'. This patch is needed in order to fix a critical 
bug in Chrome, see http://crbug.com/168139

Original issue reported on code.google.com by davidjames@google.com on 7 Jan 2013 at 5:53

Attachments:

GoogleCodeExporter commented 9 years ago
r194 | chappedm@gmail.com | 2013-03-10 15:54:39 -0400 (Sun, 10 Mar 2013) | 6 
lines

issue-490: Added support for acquire/release atomic exchange

The atomic ops API was missing support for all of the various
flavors of Acquire_AtomicExchange and Release_AtomicExchange
which have now been added.

Original comment by chapp...@gmail.com on 10 Mar 2013 at 7:55