diff options
| author | 2023-03-23 14:39:02 +0000 | |
|---|---|---|
| committer | 2023-03-30 14:56:30 +0000 | |
| commit | b124cbfa6336e0a6b8dd63999157b9ff8a2f1893 (patch) | |
| tree | f0a6258fc623c02e451dc5e73dda183f363cd081 /compiler/optimizing/code_generator.h | |
| parent | e3ccb85db12f447a468b7b11100ff5533bea5a23 (diff) | |
Add dirty object sorting to dex2oat ImageWriter
Include 'sort_key' in dirty-image-objects format to allow dirty object
sorting. This reduces dirty page counts when using profile created from
multiple processes.
Sum of dirty page counts in boot image section of all zygote64 children,
collected on Pixel 7 after boot:
No layout opt : 10830
Dirty classes : 8348 (-23%)
Dirty objects : 7499 (-31%)
Dirty objs+sort: 6429 (-41%)
Sorting is done with combined profile from system_server/systemui/gms*.
Change-Id: I40e80b86a18ed3f8c888bf23ddc4520b8299452c
Test: m dex2oat
Test: adb install apex and measure page counts with imgdiag
Diffstat (limited to 'compiler/optimizing/code_generator.h')
0 files changed, 0 insertions, 0 deletions