commit | f050d28c33a226769e55e60072c06c733602049c | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Tue Jul 21 02:42:12 2020 +0000 |
committer | Steven Moreland <smoreland@google.com> | Tue Jul 21 18:29:49 2020 +0000 |
tree | 3b3b86ed72df697b66af0c5f5d6898534a6e9004 | |
parent | 507238eebf99baa12d8dbba503f445e27921d982 [diff] |
avoid global mutex every binder call We can't get rid of a mutex (or similar) for the rarer ProcessState::selfOrNull access, but for ProcessState::self() accesses, which happen at least once every binder call, we can use the very fast once flags. Bug: 161336582 Test: boots Change-Id: I68ce16599d9a1c1e65b85bbc9c59ab2261e54832