summaryrefslogtreecommitdiff
path: root/compiler/common_compiler_test.cc
diff options
context:
space:
mode:
author Jiakai Zhang <jiakaiz@google.com> 2024-06-14 11:11:43 +0100
committer Jiakai Zhang <jiakaiz@google.com> 2024-06-14 12:36:33 +0000
commitd8a9faa0d63083174e96bf09f9e255e5049a9f67 (patch)
tree4242f0aae5eed9f9c5c62fac062ee4e0dd106428 /compiler/common_compiler_test.cc
parent2b4eb676348f122ab0a21e19d7a3c57bd9898c6c (diff)
Retry unmount with MNT_DETACH.
This makes the teardown succeed when the normal umount call fails. For exampel, when stack sampling is on, `/mnt/pre_reboot_dexopt/chroot/proc` cannot be unmounted with a normal umount call. Bug: 346869873 Test: - 1. Turn on stack sampling (Settings -> System -> Developer options -> System Tracing -> Record CPU profile). 2. adb shell pm art pr-dexopt-job --run Test: - 1. Turn on stack sampling (Settings -> System -> Developer options -> System Tracing -> Record CPU profile). 2. system/update_engine/scripts/update_device.py <ota-package-zip> Change-Id: I6972aebf25a4b71407133785f0807ed76368c8b1
Diffstat (limited to 'compiler/common_compiler_test.cc')
0 files changed, 0 insertions, 0 deletions