Update boot image and system server profiles [M10C10P80S0]
Bug: 254051423
= Perf stats =
(lower is better)
Startup and boot time, memory and code side are all improved.
Startup: -3.39%
Memory: -5.84%
Boot time: -1.50%
Code size: -2.35%
=Generation Strategy=
method_threshold: 0.1
image_class_threshold: 0.1
preloaded_classes_threshold: 0.8
upgrade_startup_methods_to_hot: true
system_server_threshold: 0.0
=Profile stats=
Data info:
- total aggregations: 183
- number of (device types, builds): 19
File boot-image-profile.txt
- hot methods: 17 added, 1063 removed
- methods: 17 added, 1112 removed
- classes: 8 added, 1 removed
- totals now: 22335 hot methods, 22337 methods, 13521 classes
- totals before: 23381 hot methods, 23432 methods, 13514 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 15, 962, 7, 1, 20851, 9500
com.android, 2, 100, 1, 0, 1388, 2959
android.view, 3, 170, 2, 0, 3394, 951
android.hardware, 0, 34, 0, 0, 470, 806
android.animation, 0, 6, 0, 0, 391, 73
android.app, 7, 205, 1, 1, 2933, 1035
android.content, 1, 35, 0, 0, 1859, 562
android.graphics, 2, 59, 1, 0, 1972, 335
android.icu, 0, 26, 0, 0, 2036, 1472
android.media, 0, 78, 0, 0, 792, 575
android.net, 0, 14, 0, 0, 254, 218
android.widget, 0, 79, 0, 0, 1398, 381
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 5 added, 3 removed
- totals now: 0 hot methods, 0 methods, 13389 classes
- totals before: 0 hot methods, 0 methods, 13387 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 5, 3, 0, 9423
android.app, 0, 0, 0, 1, 0, 1025
android.media, 0, 0, 5, 2, 0, 572
File boot-image-profile.txt
- hot methods: 40 added, 1077 removed
- methods: 40 added, 1126 removed
- classes: 11 added, 1 removed
- totals now: 32350 hot methods, 32352 methods, 16664 classes
- totals before: 33387 hot methods, 33438 methods, 16654 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 15, 962, 7, 1, 20914, 9531
com.android, 2, 100, 1, 0, 2398, 3382
java, 23, 14, 2, 0, 7097, 2036
android.view, 3, 170, 2, 0, 3394, 951
android.hardware, 0, 34, 0, 0, 470, 806
android.animation, 0, 6, 0, 0, 391, 73
android.app, 7, 205, 1, 1, 2933, 1035
android.content, 1, 35, 0, 0, 1859, 562
android.graphics, 2, 59, 1, 0, 1972, 335
android.icu, 0, 26, 0, 0, 2036, 1472
android.media, 0, 78, 0, 0, 792, 575
android.net, 0, 14, 0, 0, 254, 218
android.widget, 0, 79, 0, 0, 1398, 381
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 5 added, 3 removed
- totals now: 0 hot methods, 0 methods, 16498 classes
- totals before: 0 hot methods, 0 methods, 16496 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 5, 3, 0, 9454
android.app, 0, 0, 0, 1, 0, 1025
android.media, 0, 0, 5, 2, 0, 572
File art-profile
- hot methods: 1128 added, 531 removed
- methods: 1883 added, 730 removed
- classes: 61 added, 8 removed
- totals now: 28149 hot methods, 54115 methods, 5183 classes
- totals before: 27552 hot methods, 52962 methods, 5130 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 9, 1, 0, 0, 354, 121
com.android, 1115, 530, 59, 8, 27782, 4964
android.hardware, 9, 1, 0, 0, 283, 82
InternalReferenceRawProfileId: 16050
InternalReferenceCandidateProfileId: 16066
Test: build & benchmark
Ignore-AOSP-First: Updating boot image profiles
Change-Id: I3c6f9caae9bdf7efeb9d10cbac94ab729e9d4e6b
diff --git a/boot/preloaded-classes b/boot/preloaded-classes
index 0cc3038..d8b348e 100644
--- a/boot/preloaded-classes
+++ b/boot/preloaded-classes
@@ -1181,7 +1181,6 @@
android.app.usage.StorageStats$1
android.app.usage.StorageStats
android.app.usage.StorageStatsManager
-android.app.usage.TimeSparseArray
android.app.usage.UsageEvents$1
android.app.usage.UsageEvents$Event
android.app.usage.UsageEvents
@@ -4698,6 +4697,7 @@
android.media.AudioManager
android.media.AudioManagerInternal$RingerModeDelegate
android.media.AudioManagerInternal
+android.media.AudioMetadata
android.media.AudioMixPort
android.media.AudioMixPortConfig
android.media.AudioPatch
@@ -4733,9 +4733,11 @@
android.media.AudioTimestamp
android.media.AudioTrack$1
android.media.AudioTrack$2
+android.media.AudioTrack$NativePositionEventHandlerDelegate
android.media.AudioTrack$TunerConfiguration
android.media.AudioTrack
android.media.AudioTrackRoutingProxy
+android.media.CallbackUtil$LazyListenerManager
android.media.CamcorderProfile
android.media.CameraProfile
android.media.DecoderCapabilities
@@ -4841,7 +4843,6 @@
android.media.MediaCodec$ParameterDescriptor
android.media.MediaCodec$PersistentSurface
android.media.MediaCodec$QueueRequest
-android.media.MediaCodec
android.media.MediaCodecInfo$AudioCapabilities
android.media.MediaCodecInfo$CodecCapabilities
android.media.MediaCodecInfo$CodecProfileLevel
@@ -4850,10 +4851,10 @@
android.media.MediaCodecInfo$VideoCapabilities$$ExternalSyntheticLambda0
android.media.MediaCodecInfo$VideoCapabilities$PerformancePoint
android.media.MediaCodecInfo$VideoCapabilities
-android.media.MediaCodecInfo
android.media.MediaCodecList
android.media.MediaCrypto
android.media.MediaCryptoException
+android.media.MediaDataSource
android.media.MediaDescrambler
android.media.MediaDescription$1
android.media.MediaDescription$Builder
@@ -4938,6 +4939,7 @@
android.media.MediaRouter$Static$1
android.media.MediaRouter$Static$Client$$ExternalSyntheticLambda0
android.media.MediaRouter$Static$Client$$ExternalSyntheticLambda1
+android.media.MediaRouter$Static$Client$1
android.media.MediaRouter$Static$Client
android.media.MediaRouter$Static
android.media.MediaRouter$UserRouteInfo$SessionVolumeProvider