Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tcmalloc needs support for Release_AtomicExchange #493

Closed
alk opened this issue Aug 23, 2015 · 1 comment
Closed

tcmalloc needs support for Release_AtomicExchange #493

alk opened this issue Aug 23, 2015 · 1 comment

Comments

@alk
Copy link
Contributor

alk commented Aug 23, 2015

Originally reported on Google Code with ID 490

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

Reported by davidjames@google.com on 2013-01-07 17:53:26


- _Attachment: [AtomicExchange-patch.txt](https://storage.googleapis.com/google-code-attachments/gperftools/issue-490/comment-0/AtomicExchange-patch.txt)_
@alk
Copy link
Contributor Author

alk commented Aug 23, 2015

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.

Reported by chappedm on 2013-03-10 19:55:36

  • Status changed: Fixed

@alk alk closed this as completed Aug 23, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant