summaryrefslogtreecommitdiff
path: root/libs/androidfw/ObbFile.cpp
diff options
context:
space:
mode:
author Songchun Fan <schfan@google.com> 2024-05-13 14:01:43 -0700
committer Song Chun Fan <schfan@google.com> 2024-05-14 14:28:43 +0000
commit700b8f1d26e70588f8cd616475147c3822d97ab7 (patch)
tree79aeac49434d582f4cd3f129c2d5615a4475b9a7 /libs/androidfw/ObbFile.cpp
parent02998af7a52831c1667642dafb3b46eb6da9ac0b (diff)
[pm] unlock mInstallLock before dexopt
Dexopt using ArtService doesn't need to be locked by the mInstallLock, as it no longer depends on installd and can handle I/O failures gracefully. Unlocking it can prevent crashes due to lock contention on mInstallLock during long dexopt times. BUG: 306917971 Test: first make sure dexopt is enabled by setting "dalvik.vm.disable-art-service-dexopt" to false. Test: install the gmscore apk and while it's installing, creating/switching users by using Guest users. Observe in the log that the mInstallLock can be locked and unlocked while dexopt is still going on. Change-Id: Ibe283cb0f9057e6af336a6733bf20efa7ff36ef3
Diffstat (limited to 'libs/androidfw/ObbFile.cpp')
0 files changed, 0 insertions, 0 deletions