diff options
author | Jing Ji <jji@google.com> | 2021-02-24 23:30:30 -0800 |
---|---|---|
committer | Jing Ji <jji@google.com> | 2021-02-24 23:37:40 -0800 |
commit | 7abcdb592e5cbd5d233dc13cc351530ae698dad7 (patch) | |
tree | 9259cd94d2b4018bb97a1f3b4cbe00eb556c81f7 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | baba083691f269e9b32d3916d371ffa863bf1a5c (diff) |
Validate the ProcessRecord while iterating LRU list with ProcLock
Fix a race condition where the ProcessRecord has been invalidated
but it hasn't been removed from LRU list, meanwhile another thread
iterates the LRU list with the ProcLock, thus the ProcessRecord
should be validated.
Bug: 180849723
Test: atest CtsAppTestCases:ActivityManagerTest
Test: Manual - randomly kill other processes during above test
Change-Id: I76570a7717b98b499b865acf590af7a2133c36d9
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions