Update boot image profile for MessageQueue
We see drastically different performance depending on what
MessageQueue is in use. Mark the whole class for AOT compilation
so we can do proper A/B comparisons between MessageQueue
implementations.
Flag: EXEMPT resource only update
Test: compile
Bug: 338098106
Change-Id: I10c60486d3cc88193bb7f3bba830cccf02212892
diff --git a/boot/boot-image-profile-extra.txt b/boot/boot-image-profile-extra.txt
index e3b187e..11ca1dc 100644
--- a/boot/boot-image-profile-extra.txt
+++ b/boot/boot-image-profile-extra.txt
@@ -19,3 +19,7 @@
# methods are latency sensitive is difficult. For example, this method is executed
# in the system server, not on the UI thread of an app.
HSPLandroid/graphics/Color;->luminance()F
+
+# For now, compile all methods in MessageQueue to avoid performance cliffs for
+# flagged/evolving hot code paths. See: b/338098106
+HSPLandroid/os/MessageQueue;->*