Update boot image and system server profiles [M31C26P62S0PP]
Bug: 254051423
Test: go/art-benchmark?p=BootImageProfileId:37886&f=CandidateName:in:37892
Test: ATP test https://android-build.googleplex.com/builds/abtd/run/L00700030001838546
= Perf stats =
(lower is better)
Regular update to the boot image profiles, Benchmark shows almost no impact on app cold startup time, boot-time and memory besides some code size reduction.
Avg % [Confidence interval min-max %]
Startup: -0.66 [-2.97, 1.64]
Memory(PSS): 0.65 [-1.65, 2.97]
Boot time: 0.14 [-1.27, 1.55]
Code size (.oat + .art + .odex): -0.19MB (-0.22%)
Ignore-AOSP-First: Boot image profiles
BYPASS_INCLUSIVE_LANGUAGE_REASON: Profile of existing code
=Generation Strategy=
method_threshold: 0.31
image_class_threshold: 0.26
preloaded_classes_threshold: 0.62
priority_packages_thresholds {
key: "service-appsearch.jar.prof:CLASS:android"
value: 0.018571427
}
priority_packages_thresholds {
key: "service-appsearch.jar.prof:METHOD:android"
value: 0.022142857
}
priority_packages_thresholds {
key: "service-art.jar.prof:CLASS:android"
value: 0.018571427
}
priority_packages_thresholds {
key: "service-art.jar.prof:METHOD:android"
value: 0.022142857
}
priority_packages_thresholds {
key: "service-connectivity.jar.prof:CLASS:android"
value: 0.018571427
}
priority_packages_thresholds {
key: "service-connectivity.jar.prof:METHOD:android"
value: 0.022142857
}
priority_packages_thresholds {
key: "service-wifi.jar.prof:CLASS:android"
value: 0.018571427
}
priority_packages_thresholds {
key: "service-wifi.jar.prof:METHOD:android"
value: 0.022142857
}
priority_packages_thresholds {
key: "services.jar.prof:CLASS:android"
value: 0.018571427
}
priority_packages_thresholds {
key: "services.jar.prof:METHOD:android"
value: 0.022142857
}
=Profile stats=
Data info:
- total aggregations: 21
- number of (device types, builds): 8
File boot-image-profile.txt
- hot methods: 3096 added, 3337 removed
- methods: 3096 added, 3337 removed
- classes: 445 added, 92 removed
- totals now: 32323 hot methods, 32323 methods, 17621 classes
- totals before: 32564 hot methods, 32564 methods, 17268 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 1827, 1941, 366, 54, 20965, 10262
com.android, 137, 229, 23, 37, 2334, 3467
java, 889, 923, 43, 1, 7057, 2143
android.view, 352, 389, 56, 10, 3414, 1104
android.hardware, 20, 26, 11, 1, 490, 869
android.animation, 21, 19, 6, 0, 413, 88
android.app, 119, 146, 56, 0, 2927, 1164
android.content, 193, 196, 40, 0, 1890, 625
android.graphics, 160, 161, 26, 0, 1973, 371
android.icu, 233, 233, 25, 0, 2048, 1499
android.media, 19, 19, 22, 0, 792, 626
android.net, 40, 41, 8, 0, 251, 228
android.widget, 149, 148, 35, 0, 1404, 432
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 25 added, 92 removed
- totals now: 0 hot methods, 0 methods, 17159 classes
- totals before: 0 hot methods, 0 methods, 17226 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 23, 54, 0, 9889
com.android, 0, 0, 2, 37, 0, 3440
java, 0, 0, 0, 1, 0, 2097
android.view, 0, 0, 0, 10, 0, 1046
android.hardware, 0, 0, 0, 1, 0, 857
android.app, 0, 0, 1, 0, 0, 1108
android.content, 0, 0, 9, 0, 0, 592
android.icu, 0, 0, 2, 0, 0, 1476
android.media, 0, 0, 2, 0, 0, 603
android.net, 0, 0, 4, 0, 0, 224
File boot-image-profile.txt
- hot methods: 1925 added, 2028 removed
- methods: 1925 added, 2028 removed
- classes: 382 added, 56 removed
- totals now: 22408 hot methods, 22408 methods, 14381 classes
- totals before: 22511 hot methods, 22511 methods, 14055 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 1828, 1925, 366, 54, 20901, 10231
com.android, 97, 103, 15, 2, 1410, 3065
android.view, 357, 392, 56, 10, 3414, 1104
android.hardware, 20, 26, 11, 1, 490, 869
android.animation, 19, 17, 6, 0, 413, 88
android.app, 118, 143, 56, 0, 2927, 1164
android.content, 194, 196, 40, 0, 1890, 625
android.graphics, 160, 161, 26, 0, 1973, 371
android.icu, 233, 234, 25, 0, 2048, 1499
android.media, 18, 18, 22, 0, 792, 626
android.net, 41, 42, 8, 0, 251, 228
android.widget, 149, 149, 35, 0, 1404, 432
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 23 added, 56 removed
- totals now: 0 hot methods, 0 methods, 13986 classes
- totals before: 0 hot methods, 0 methods, 14019 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 21, 54, 0, 9858
com.android, 0, 0, 2, 2, 0, 3046
android.view, 0, 0, 0, 10, 0, 1046
android.hardware, 0, 0, 0, 1, 0, 857
android.app, 0, 0, 1, 0, 0, 1108
android.content, 0, 0, 9, 0, 0, 592
android.icu, 0, 0, 2, 0, 0, 1476
android.media, 0, 0, 2, 0, 0, 603
android.net, 0, 0, 4, 0, 0, 224
File art-profile
- hot methods: 2917 added, 2661 removed
- methods: 2917 added, 2661 removed
- classes: 15 added, 81 removed
- totals now: 14260 hot methods, 14260 methods, 1428 classes
- totals before: 14004 hot methods, 14004 methods, 1494 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 10, 17, 0, 0, 79, 25
com.android, 2901, 2644, 14, 79, 14175, 1374
android.hardware, 10, 17, 0, 0, 63, 12
InternalReferenceRawProfileId: 37886
InternalReferenceCandidateProfileId: 37892
Test: build & benchmark
Change-Id: I4fffd2b2601f09a3b0acfdcdaebb0e2d6768fe64
diff --git a/boot/preloaded-classes b/boot/preloaded-classes
index 548fa2f..d92c351 100644
--- a/boot/preloaded-classes
+++ b/boot/preloaded-classes
@@ -238,6 +238,7 @@
android.app.ActivityThread$1
android.app.ActivityThread$2
android.app.ActivityThread$3
+android.app.ActivityThread$4
android.app.ActivityThread$ActivityClientRecord$1
android.app.ActivityThread$ActivityClientRecord
android.app.ActivityThread$AndroidOs
@@ -1502,6 +1503,7 @@
android.content.om.OverlayableInfo
android.content.pm.ActivityInfo$1
android.content.pm.ActivityInfo$WindowLayout
+android.content.pm.ActivityInfo-IA
android.content.pm.ActivityInfo
android.content.pm.ActivityPresentationInfo
android.content.pm.AndroidTestBaseUpdater
@@ -1534,6 +1536,7 @@
android.content.pm.FeatureGroupInfo$1
android.content.pm.FeatureGroupInfo
android.content.pm.FeatureInfo$1
+android.content.pm.FeatureInfo-IA
android.content.pm.FeatureInfo
android.content.pm.FileSystemControlParcel$1
android.content.pm.FileSystemControlParcel
@@ -1670,6 +1673,7 @@
android.content.pm.PackageManager$ResolveInfoFlags
android.content.pm.PackageManager
android.content.pm.PackageParser$Activity$1
+android.content.pm.PackageParser$Activity-IA
android.content.pm.PackageParser$Activity
android.content.pm.PackageParser$ActivityIntentInfo
android.content.pm.PackageParser$ApkLite
@@ -1689,13 +1693,16 @@
android.content.pm.PackageParser$ParseComponentArgs
android.content.pm.PackageParser$ParsePackageItemArgs
android.content.pm.PackageParser$Permission$1
+android.content.pm.PackageParser$Permission-IA
android.content.pm.PackageParser$Permission
android.content.pm.PackageParser$PermissionGroup$1
android.content.pm.PackageParser$PermissionGroup
android.content.pm.PackageParser$Provider$1
+android.content.pm.PackageParser$Provider-IA
android.content.pm.PackageParser$Provider
android.content.pm.PackageParser$ProviderIntentInfo
android.content.pm.PackageParser$Service$1
+android.content.pm.PackageParser$Service-IA
android.content.pm.PackageParser$Service
android.content.pm.PackageParser$ServiceIntentInfo
android.content.pm.PackageParser$SigningDetails$1
@@ -1719,8 +1726,10 @@
android.content.pm.PermissionGroupInfo$1
android.content.pm.PermissionGroupInfo
android.content.pm.PermissionInfo$1
+android.content.pm.PermissionInfo-IA
android.content.pm.PermissionInfo
android.content.pm.ProviderInfo$1
+android.content.pm.ProviderInfo-IA
android.content.pm.ProviderInfo
android.content.pm.ProviderInfoList$1
android.content.pm.ProviderInfoList
@@ -1734,6 +1743,7 @@
android.content.pm.ResolveInfo$1
android.content.pm.ResolveInfo
android.content.pm.ServiceInfo$1
+android.content.pm.ServiceInfo-IA
android.content.pm.ServiceInfo
android.content.pm.SharedLibraryInfo$1
android.content.pm.SharedLibraryInfo
@@ -1993,7 +2003,6 @@
android.ddm.DdmHandleHello
android.ddm.DdmHandleNativeHeap
android.ddm.DdmHandleProfiling
-android.ddm.DdmHandleViewDebug$ViewMethodInvocationSerializationException
android.ddm.DdmHandleViewDebug
android.ddm.DdmRegister
android.debug.AdbManager
@@ -2723,7 +2732,6 @@
android.hardware.face.FaceManager$GenerateChallengeCallback
android.hardware.face.FaceManager$GetFeatureCallback
android.hardware.face.FaceManager$LockoutResetCallback
-android.hardware.face.FaceManager$MyHandler
android.hardware.face.FaceManager$OnAuthenticationCancelListener
android.hardware.face.FaceManager$RemovalCallback
android.hardware.face.FaceManager$SetFeatureCallback
@@ -3267,6 +3275,7 @@
android.icu.impl.DayPeriodRules$DayPeriodRulesCountSink
android.icu.impl.DayPeriodRules$DayPeriodRulesData
android.icu.impl.DayPeriodRules$DayPeriodRulesDataSink
+android.icu.impl.DayPeriodRules-IA
android.icu.impl.DayPeriodRules
android.icu.impl.DontCareFieldPosition
android.icu.impl.EraRules
@@ -4176,6 +4185,7 @@
android.icu.text.DisplayContext$Type
android.icu.text.DisplayContext
android.icu.text.DurationFormat
+android.icu.text.Edits$Iterator-IA
android.icu.text.Edits$Iterator
android.icu.text.Edits
android.icu.text.EscapeTransliterator$1
@@ -4855,6 +4865,7 @@
android.media.CamcorderProfile
android.media.CameraProfile
android.media.DecoderCapabilities
+android.media.DeniedByServerException
android.media.DrmInitData$SchemeInitData
android.media.DrmInitData
android.media.EncoderCapabilities
@@ -5106,6 +5117,7 @@
android.media.RemoteControlClient
android.media.RemoteDisplay
android.media.ResampleInputStream
+android.media.ResourceBusyException
android.media.Ringtone
android.media.RingtoneManager
android.media.RouteDiscoveryPreference$1
@@ -5448,11 +5460,14 @@
android.net.TelephonyNetworkSpecifier$Builder
android.net.TelephonyNetworkSpecifier
android.net.Uri$1
+android.net.Uri$AbstractHierarchicalUri-IA
android.net.Uri$AbstractHierarchicalUri
android.net.Uri$AbstractPart
android.net.Uri$Builder
+android.net.Uri$HierarchicalUri-IA
android.net.Uri$HierarchicalUri
android.net.Uri$NotCachedHolder
+android.net.Uri$OpaqueUri-IA
android.net.Uri$OpaqueUri
android.net.Uri$Part$EmptyPart
android.net.Uri$Part
@@ -5460,6 +5475,7 @@
android.net.Uri$PathSegments
android.net.Uri$PathSegmentsBuilder
android.net.Uri$StringUri
+android.net.Uri-IA
android.net.Uri
android.net.UriCodec
android.net.VpnManager
@@ -5585,54 +5601,13 @@
android.net.wifi.nl80211.WifiNl80211Manager$SignalPollResult
android.net.wifi.nl80211.WifiNl80211Manager
android.net.wifi.sharedconnectivity.app.SharedConnectivityManager
-android.nfc.IAppCallback$Stub$Proxy
-android.nfc.IAppCallback$Stub
-android.nfc.IAppCallback
-android.nfc.INfcAdapter$Stub$Proxy
-android.nfc.INfcAdapter$Stub
-android.nfc.INfcAdapter
-android.nfc.INfcAdapterExtras
-android.nfc.INfcCardEmulation$Stub$Proxy
-android.nfc.INfcCardEmulation$Stub
-android.nfc.INfcCardEmulation
-android.nfc.INfcControllerAlwaysOnListener$Stub
-android.nfc.INfcControllerAlwaysOnListener
-android.nfc.INfcDta
-android.nfc.INfcFCardEmulation$Stub$Proxy
-android.nfc.INfcFCardEmulation$Stub
-android.nfc.INfcFCardEmulation
-android.nfc.INfcTag$Stub$Proxy
-android.nfc.INfcTag$Stub
-android.nfc.INfcTag
-android.nfc.INfcUnlockHandler$Stub$Proxy
-android.nfc.INfcUnlockHandler$Stub
-android.nfc.INfcUnlockHandler
-android.nfc.ITagRemovedCallback$Stub$Proxy
-android.nfc.ITagRemovedCallback$Stub
-android.nfc.ITagRemovedCallback
-android.nfc.NfcActivityManager$NfcActivityState
-android.nfc.NfcActivityManager$NfcApplicationState
-android.nfc.NfcActivityManager
-android.nfc.NfcAdapter$1
-android.nfc.NfcAdapter$CreateNdefMessageCallback
-android.nfc.NfcAdapter
-android.nfc.NfcControllerAlwaysOnListener
-android.nfc.NfcFrameworkInitializer$$ExternalSyntheticLambda0
android.nfc.NfcFrameworkInitializer
-android.nfc.NfcManager
android.nfc.NfcServiceManager$ServiceRegisterer
android.nfc.NfcServiceManager
-android.nfc.Tag$1
-android.nfc.Tag
-android.nfc.TechListParcel$1
-android.nfc.TechListParcel
android.nfc.cardemulation.AidGroup$1
android.nfc.cardemulation.AidGroup
android.nfc.cardemulation.ApduServiceInfo$1
android.nfc.cardemulation.ApduServiceInfo
-android.nfc.cardemulation.CardEmulation
-android.nfc.cardemulation.HostApduService$MsgHandler
-android.nfc.cardemulation.HostApduService
android.opengl.EGL14
android.opengl.EGL15
android.opengl.EGLConfig
@@ -5826,6 +5801,7 @@
android.os.IBatteryPropertiesRegistrar
android.os.IBinder$DeathRecipient
android.os.IBinder
+android.os.IBinderCallback
android.os.ICancellationSignal$Stub$Proxy
android.os.ICancellationSignal$Stub
android.os.ICancellationSignal
@@ -6095,6 +6071,7 @@
android.os.StrictMode$OnVmViolationListener
android.os.StrictMode$Span
android.os.StrictMode$ThreadPolicy$Builder
+android.os.StrictMode$ThreadPolicy-IA
android.os.StrictMode$ThreadPolicy
android.os.StrictMode$ThreadSpanState
android.os.StrictMode$UnsafeIntentStrictModeCallback
@@ -7031,7 +7008,6 @@
android.system.suspend.internal.WakeLockInfo
android.telecom.AudioState$1
android.telecom.AudioState
-android.telecom.AuthenticatorService
android.telecom.Call$Callback
android.telecom.CallAudioState$$ExternalSyntheticLambda0
android.telecom.CallAudioState$1
@@ -7851,6 +7827,7 @@
android.text.TextLine$DecorationInfo
android.text.TextLine
android.text.TextPaint
+android.text.TextShaper$GlyphsConsumer
android.text.TextUtils$1
android.text.TextUtils$EllipsizeCallback
android.text.TextUtils$SimpleStringSplitter
@@ -8446,7 +8423,6 @@
android.view.InsetsAnimationThread
android.view.InsetsAnimationThreadControlRunner$$ExternalSyntheticLambda0
android.view.InsetsAnimationThreadControlRunner$$ExternalSyntheticLambda1
-android.view.InsetsAnimationThreadControlRunner$$ExternalSyntheticLambda2
android.view.InsetsAnimationThreadControlRunner$1$$ExternalSyntheticLambda0
android.view.InsetsAnimationThreadControlRunner$1$$ExternalSyntheticLambda1
android.view.InsetsAnimationThreadControlRunner$1
@@ -8537,7 +8513,6 @@
android.view.PixelCopy$OnPixelCopyFinishedListener
android.view.PixelCopy
android.view.PointerIcon$1
-android.view.PointerIcon$2
android.view.PointerIcon
android.view.PrivacyIndicatorBounds$1
android.view.PrivacyIndicatorBounds
@@ -8577,7 +8552,6 @@
android.view.SurfaceControl$DisplayMode
android.view.SurfaceControl$DisplayPrimaries
android.view.SurfaceControl$DynamicDisplayInfo
-android.view.SurfaceControl$GlobalTransactionWrapper
android.view.SurfaceControl$JankData
android.view.SurfaceControl$OnJankDataListener
android.view.SurfaceControl$OnReparentListener
@@ -8744,7 +8718,6 @@
android.view.ViewRootImpl$$ExternalSyntheticLambda16
android.view.ViewRootImpl$$ExternalSyntheticLambda17
android.view.ViewRootImpl$$ExternalSyntheticLambda18
-android.view.ViewRootImpl$$ExternalSyntheticLambda19
android.view.ViewRootImpl$$ExternalSyntheticLambda1
android.view.ViewRootImpl$$ExternalSyntheticLambda2
android.view.ViewRootImpl$$ExternalSyntheticLambda3
@@ -8759,11 +8732,8 @@
android.view.ViewRootImpl$3
android.view.ViewRootImpl$4
android.view.ViewRootImpl$5
-android.view.ViewRootImpl$6$$ExternalSyntheticLambda0
android.view.ViewRootImpl$6
android.view.ViewRootImpl$7
-android.view.ViewRootImpl$8$$ExternalSyntheticLambda0
-android.view.ViewRootImpl$8$$ExternalSyntheticLambda1
android.view.ViewRootImpl$8
android.view.ViewRootImpl$AccessibilityInteractionConnection
android.view.ViewRootImpl$AccessibilityInteractionConnectionManager
@@ -8924,9 +8894,6 @@
android.view.accessibility.IAccessibilityManagerClient$Stub$Proxy
android.view.accessibility.IAccessibilityManagerClient$Stub
android.view.accessibility.IAccessibilityManagerClient
-android.view.accessibility.IMagnificationConnection$Stub$Proxy
-android.view.accessibility.IMagnificationConnection$Stub
-android.view.accessibility.IMagnificationConnection
android.view.accessibility.WeakSparseArray$WeakReferenceWithId
android.view.accessibility.WeakSparseArray
android.view.animation.AccelerateDecelerateInterpolator
@@ -10794,7 +10761,6 @@
com.android.internal.jank.InteractionJankMonitor$$ExternalSyntheticLambda6
com.android.internal.jank.InteractionJankMonitor$$ExternalSyntheticLambda8
com.android.internal.jank.InteractionJankMonitor$$ExternalSyntheticLambda9
-com.android.internal.jank.InteractionJankMonitor$Session
com.android.internal.jank.InteractionJankMonitor$TimeFunction
com.android.internal.jank.InteractionJankMonitor$TrackerResult
com.android.internal.listeners.ListenerExecutor$$ExternalSyntheticLambda0
@@ -10857,6 +10823,7 @@
com.android.internal.os.BinderCallsStats$Injector
com.android.internal.os.BinderCallsStats$OverflowBinder
com.android.internal.os.BinderCallsStats$UidEntry
+com.android.internal.os.BinderDeathDispatcher$RecipientsInfo-IA
com.android.internal.os.BinderDeathDispatcher$RecipientsInfo
com.android.internal.os.BinderDeathDispatcher
com.android.internal.os.BinderInternal$BinderProxyLimitListener
@@ -10936,6 +10903,7 @@
com.android.internal.os.LongArrayMultiStateCounter
com.android.internal.os.LongMultiStateCounter$1
com.android.internal.os.LongMultiStateCounter
+com.android.internal.os.LooperStats$DispatchSession-IA
com.android.internal.os.LooperStats$DispatchSession
com.android.internal.os.LooperStats$Entry
com.android.internal.os.LooperStats$ExportedEntry
@@ -12817,7 +12785,6 @@
com.android.internal.widget.floatingtoolbar.FloatingToolbar
com.android.internal.widget.floatingtoolbar.FloatingToolbarPopup
com.android.modules.expresslog.Counter
-com.android.modules.expresslog.Utils
com.android.modules.utils.BasicShellCommandHandler
com.android.modules.utils.TypedXmlPullParser
com.android.modules.utils.TypedXmlSerializer