-
Notifications
You must be signed in to change notification settings - Fork 654
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
introduce option of including non-hot startup methods
Summary: Android on-device dexlayout optimization takes non-hot startup only methods from baseline profile and lump them together into one section LayoutType::kLayoutTypeStartupOnly. This presumably achieves better code locality and since ART does madvise on this section during dex layout, it reduces page faults during app's startup as well. see ART code for ref: https://fburl.com/androiddexlayout Reviewed By: NTillmann Differential Revision: D48794443 fbshipit-source-id: bdcbd25c1d383506569724d21f3d8e60f304c37a
- Loading branch information
1 parent
adc802e
commit 1a7c82a
Showing
2 changed files
with
28 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters