summaryrefslogtreecommitdiff
path: root/compiler/optimizing/graph_visualizer.cc
diff options
context:
space:
mode:
authorCalin Juravle <calin@google.com>2021-06-02 14:42:03 -0700
committerTreeHugger Robot <treehugger-gerrit@google.com>2021-06-14 15:29:54 +0000
commit11dc832cf86bdfcfe3f0152ac5a8bd089d7f3cc0 (patch)
tree180624d7e1f2ed5214093e86641035a4bf81def2 /compiler/optimizing/graph_visualizer.cc
parent45a29d906fa6b2ceebb2964081a9a7c8c6f024ee (diff)
Consider the size of the reference profile when assessing IsFirstSave
This makes the detection logic for the first profile save much more precise. It prevents the case where we would return true if the data was already moved from the current profile to the reference profile. At the same time, rework part of the logic for early save. The checks needed to be moved earlier to encompass the startup class resolution. Test: run-test & manual adb shell stop; adb shell setprop dalvik.vm.ps-min-save-period-ms 300; adb shell setprop dalvik.vm.extra-opts -verbose:profiler; adb shell start; adb shell cmd package compile com.android.systemui -r bg-dexopt restart & check Bug: 185979271 Merged-In: Icfec30c6f49c8e03b03ff4bcbc2b869393fdcbfe Change-Id: Icfec30c6f49c8e03b03ff4bcbc2b869393fdcbfe (cherry picked from commit beb9f2012587035a5c30d0eca8af458b2ad659b7)
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions