summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Tetiana Meronyk <tetianameronyk@google.com> 2024-04-29 10:47:34 +0000
committer Tetiana Meronyk <tetianameronyk@google.com> 2024-06-20 23:24:11 +0000
commiteaaebf60de73ee9da592748d96a53c57fe51c1ff (patch)
treecceec1f1e58c2472279119d378edd717c170ede8 /libs/androidfw/StringPool.cpp
parentfc362ef1672466a4a75d61d2fc8b24d452066617 (diff)
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
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions