Enable profile based boot image by default
Use profile based boot image instead of the compiled classes version. Results using profile from ag/2815407 Storage savings: Boot art+vdex+oat size: 78305556->61539326 (-17MB) New system server profile has more methods (1.5MB -> 4MB oat) since it has more coverage from use cases. Ram savings (sample averages for CUJ test): Average PSS of 3 runs (~100 samples total): .Boot_vdex: 9359K -> 9902K .oat_mmap: 21857K -> 13372K .Heap: 29779K -> 29483K .Boot_art: 15736K -> 18096K .LinearAlloc: 9112K -> 8965K Total PSS: 85846K -> 79819K (-6MB) Average pages read from flash (512MB device) for CUJ tests (3 samples): 1508MB -> 1183MB Bug: 37966211 Test: make and flash Change-Id: Id8f9b08490a50e2ccf39e8acc00b0c4e8ec782b0
This commit is contained in:
@@ -96,7 +96,7 @@ LIBART_TARGET_BOOT_ART_EXTRA_FILES += boot.oat boot.vdex
|
||||
my_use_profile_for_boot_image := $(PRODUCT_USE_PROFILE_FOR_BOOT_IMAGE)
|
||||
ifeq (,$(my_use_profile_for_boot_image))
|
||||
# If not set, use the default.
|
||||
my_use_profile_for_boot_image := false
|
||||
my_use_profile_for_boot_image := true
|
||||
endif
|
||||
|
||||
ifeq (true,$(my_use_profile_for_boot_image))
|
||||
|
Reference in New Issue
Block a user