summaryrefslogtreecommitdiff
path: root/compiler/optimizing/graph_visualizer.cc
diff options
context:
space:
mode:
authorEric Holk <eholk@google.com>2021-04-06 23:12:17 +0000
committerTreehugger Robot <treehugger-gerrit@google.com>2021-04-07 20:09:20 +0000
commit722992f7b63b5e2962aaba6119402c7b93deb2f4 (patch)
tree900fbca1994a87376ad6602c4c4a4ebe5559f060 /compiler/optimizing/graph_visualizer.cc
parent000508177b82640628b20bbbf5dacb3dfb77cc80 (diff)
Revert^2 "[metrics] Report CompilationReason and CompilerFilter"
Since we do not know the real primary OAT file when the runtime starts up, we have to wait until NotifyStartupCompleted to be sure we have the right one. To accomodate this, we delay starting the metrics session until the first report and then send updated session information in NotifyStartupCompleted. Note that we could delay the whole metrics reporting initialization to NotifyStartupCompleted, but this doesn't get called in all circumstances, which would mean metrics reporting is disabled in cases where we want it. This reverts commit 8b07c653a7e45886ee92d8a12aa439e98e84befa. Reason for revert: Fixing crash The bug was get GetPrimaryOatFile could return null in some cases, but we were not handling this correctly. Bug: 178239096 Test: manual Change-Id: I468837ee8f026edd82c47bd216ddb5b2d9c2ece3
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions