commit | 8fb656b8ad63536bb8a16548fc33c6a2f3e0435b | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Thu Mar 16 14:30:40 2017 -0700 |
committer | Yifan Hong <elsk@google.com> | Thu Mar 16 14:59:48 2017 -0700 |
tree | ea25269e4abebcc33db508858cf7f8417d7498ca | |
parent | 6fedcae8cfc47b1d0b1fe535e517c6711b1c6cf8 [diff] |
defaultServiceManager locks before check. A 64-bit write may not be atomic (may not be contain in one instruction), hence the read without the lock may be unsafe in very rare cases. Test: pass Test: boots Change-Id: I8abc011c1ca039671a184afab84cf1174f38e2a8