diff options
author | Mathieu Chartier <mathieuc@google.com> | 2019-06-06 08:11:55 -0700 |
---|---|---|
committer | Mathieu Chartier <mathieuc@google.com> | 2019-06-07 15:51:05 +0000 |
commit | 111970844c050f86fc8f629ed5f8130cc72b9ba2 (patch) | |
tree | ce11f9322eb7d35a87b446559bf2acff72292e6c /test/ProfileTestMultiDex/Second.java | |
parent | 9164ff4462ab172314a54e3a2e1254e9034022e8 (diff) |
Fix imgdiag crashing for ASLR images
Fixes a bug where the non runtime image was being used to calculate
the size of mirror::Objects, this caused a crash if the image was
ASLR relocated during boot.
This CL fixes imgdiag from crashing and provides a working diff for
app vs zygote. App vs image (for diagnosing shared dirty) is still
incorrect due to ASLR.
Test: test-art-host
Test: adb shell imgdiag --zygote-diff-pid=$(pid zygote64) --image-diff-pid=$(pid system_server) --boot-image=/system/framework/boot.art
Bug: 134614794
(cherry-picked from commit d3b6664f454e7ea61597c0235b4a9df95056f4cd)
Merged-In: I85a5625a60112471778d86a7d00af0b42bc2ef8c
Change-Id: I85a5625a60112471778d86a7d00af0b42bc2ef8c
Diffstat (limited to 'test/ProfileTestMultiDex/Second.java')
0 files changed, 0 insertions, 0 deletions