commit | b0171b9573c446724c10c86d41887d0133590b6c | [log] [tgz] |
---|---|---|
author | Hans Boehm <hboehm@google.com> | Thu Jan 28 17:19:15 2016 -0800 |
committer | Hans Boehm <hboehm@google.com> | Thu Jan 28 17:19:15 2016 -0800 |
tree | 6c75d0329a34bcde360dd5fa78d989a0023147af | |
parent | 4047c5b3b00f015b81cb52da0cda545d6a3820c8 [diff] |
Do not use atomic increment in allocation as fence. A sequentially consistent fetch_and_add implemented with ARM v8 acquire release operations is not a fence. Don't use it as one. The result may also be somewhat faster, since a sequentially consistent increment requires more fencing than needed for the increment. Bug: 16377103 Change-Id: I5b1add098d3488aa755f140612e54521b80aa749