Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1f380043 authored by Shai Barack's avatar Shai Barack
Browse files

Add `android/os/Message.compareMessages` to boot image profile.

Otherwise this hot code runs in the interpreter.

Flag: EXEMPT UNSUPPORTED_LANGUAGE

Change-Id: I35c3056fe6ea009d996e1cc119a061c225e1f2a0
parent 95436ef4
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -75,9 +75,11 @@ HSPLcom/android/internal/dev/perfetto/sdk/PerfettoNativeMemoryCleaner$FreeNative
HSPLcom/android/internal/dev/perfetto/sdk/PerfettoNativeMemoryCleaner$AllocationStats;->*

# DeliQueue MessageQueue classes
# TODO(shayba): remove the below once they're in the generated boot-image-profile.txt
HSPLandroid/os/MessageHeap;->*
HSPLandroid/os/MessageStack;->*
HSPLandroid/os/WaitState;->*
HSPLandroid/os/Message;->compareMessages(Landroid/os/Message;Landroid/os/Message;)I

# While the SystemFeaturesMetadata static cache isn't heavyweight, ensure it's
# pre-initialized in the boot image to avoid redundant per-process overhead.