diff options
| author | 2020-10-02 13:46:28 -0700 | |
|---|---|---|
| committer | 2020-10-08 21:35:09 +0000 | |
| commit | c4adf54117b96a34df228c83127d0986a69dc198 (patch) | |
| tree | f3dbfbd7686e7f473671da3c4b9ef83962c00ecc /tools/cpp-define-generator/make_header.py | |
| parent | d02435d009798c5b0a6cf0193769360307f82aa4 (diff) | |
[metrics] Make metrics atomic
ART metrics need to be able to be updated by multiple threads. We make
this safe by making each metric value atomic.
Note that this may be a scalability bottleneck if some metrics become
heavily contended. If that turns out to be the case, we can explore
other strategies, such as thread-local copies of contended metrics.
Bug: 170149255
Test: m test-art-host-gtest-art_libartbase_tests
Change-Id: I5857a0184e5715aa67cc551e5ee238552a374143
Diffstat (limited to 'tools/cpp-define-generator/make_header.py')
0 files changed, 0 insertions, 0 deletions