diff options
author | 2022-08-11 15:06:46 +0100 | |
---|---|---|
committer | 2022-09-05 15:10:38 +0000 | |
commit | 8911b301dab66376814530f0bd08dd49a9a0d9f0 (patch) | |
tree | e65e269ab95aafb21602e7e8c7380bedded990f7 /compiler/optimizing/code_sinking.cc | |
parent | 7690e48b6137c5b3a20c3a0604b4fa25e1f6ab20 (diff) |
Add a method to OatFileAssistantContext to fetch all information.
artd can be multi-threaded, so it needs OatFileAssistantContext to be
thread-safe. This CL adds `OatFileAssistantContext::FetchAll`, which
fetches all information and makes subsequent operations read-only. artd
calls it the first time it initalizes OatFileAssistantContext.
Bug: 229268202
Test: adb shell pm art get-optimization-status \
com.google.android.youtube
Change-Id: Iacc36655e2cdbc7cb74b3f3cbf7f9ac1a1ffc28e
Merged-In: Iacc36655e2cdbc7cb74b3f3cbf7f9ac1a1ffc28e
(cherry picked from commit 93a13dab243e0141fadacb3137776aff882a1a69)
Diffstat (limited to 'compiler/optimizing/code_sinking.cc')
0 files changed, 0 insertions, 0 deletions