commit | 31b15473c0ccabef60d459f16f99f4856386196e | [log] [tgz] |
---|---|---|
author | Keun young Park <keunyoung@google.com> | Mon Jan 10 16:43:21 2022 -0800 |
committer | Keun young Park <keunyoung@google.com> | Mon Jan 10 17:04:19 2022 -0800 |
tree | 73859c71e26d28e0b81e210c3195bbd6d591d6b8 | |
parent | 6e1621b2f820b6040bce3c1be023415a829525f2 [diff] |
bgdexopt: fix deadlock between dump and dexopt thread - Calling JobScheduler API under mLock leads into accessing PMS lock which is held when dump is called from PMS. : This leads into deadlock. - Call JobScheduler outside mLock as that is safe without mLock. Bug: 213945104 Test: run bgdexopt CTS which runs dump and dexopt thread. Change-Id: I3aabd18e6ec1ec7e158eb008b90dee90b8621c60