Re: [libcxx] r277357 - Improve shared_ptr dtor performance

2016-08-02 Thread Asiri Rathnayake via cfe-commits
Hi Ben, Looks like there's a typo in this patch that is causing a buildbot failure: http://lab.llvm.org:8011/builders/libcxx-libcxxabi-singlethreaded-x86_64-linux-debian/builds/1128/steps/build.libcxx/logs/stdio Also seen in our local builders. I will fix it if I get around to it before you :) C

[libcxx] r277357 - Improve shared_ptr dtor performance

2016-08-01 Thread Ben Craig via cfe-commits
Author: bcraig Date: Mon Aug 1 12:51:26 2016 New Revision: 277357 URL: http://llvm.org/viewvc/llvm-project?rev=277357&view=rev Log: Improve shared_ptr dtor performance If the last destruction is uncontended, skip the atomic store on __shared_weak_owners_. This shifts some costs from normal share