diff options
author | Mingyao Yang <mingyao@google.com> | 2017-09-13 12:10:40 -0700 |
---|---|---|
committer | Mingyao Yang <mingyao@google.com> | 2017-09-15 11:04:06 -0700 |
commit | 417528d9635500dc20921219a8adac6238a94074 (patch) | |
tree | 8431ea7565243b565d7f8cd829999547e1a6db73 /compiler/optimizing/graph_visualizer.cc | |
parent | 49a6f39a8d861a5e887a3611031a23e2efd2d991 (diff) |
Refactor artQuickToInterpreterBridge to fix a perf regression
CL 472840 adds a parameter to PopDeoptimizationContext() which for some
unknown reason makes its caller artQuickToInterpreterBridge() unhappy
in performance. To workaround the issue, this change refactors
artQuickToInterpreterBridge() and puts deoptimization handling in its
own method. This reduces the size of artQuickToInterpreterBridge() and
makes the performance regression disappear.
Test: run-test on host. android.graphics.perftests.PaintMeasureTextTest.
Bug: 65159206
Change-Id: I386ff7814fee963097bbc2418c9654f4fca9751d
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions