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

Skip to content
Commit eaaebf60 authored by Tetiana Meronyk's avatar Tetiana Meronyk
Browse files

Optimise UserWakeupStorePerformance

Before the change, mStartingUsers list was used to store users that were being started. This caused spikiness and user boot time regression.

After the change, this intermediate mStartingUsers list was removed and the performance was returned to previous state. This step is not necessary as it lasts only a few ms which leaves a very narrow window when user ID is not in the list.

Bug: 337788578
Test: manual && perfetto trace testing && atest UserWakeupStoreTest
Flag: com.android.server.alarm.start_user_before_scheduled_alarms
Change-Id: I83ad157c0b0fa118ce9f2bd3237a44e784641132
parent fc362ef1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment