diff options
author | JW Wang <wangchun@google.com> | 2020-07-27 14:52:28 +0800 |
---|---|---|
committer | JW Wang <wangchun@google.com> | 2020-07-30 08:38:35 +0800 |
commit | acae3c0f3bb4dbb7fd815f38f34fc6a5f6b27c9b (patch) | |
tree | 62ed1c52ea3522c7488b627a17cb6b523ffb3214 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | be70384952d3371d73bf058ab1a789b087b2cb45 (diff) |
Ensure mutation to multiple objects is done atomically
Acquire both parent and child locks before mutation begins.
This ensures no concurrent mutation is possible on another thread.
Bug: 161954235
Test: atest StagedInstallTest AtomicInstallTest
Change-Id: If4b83ef83bbe7e85e91a6b8f16e01d4dc0d6d8e6
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions