Commit 417528d9 authored by Mingyao Yang's avatar Mingyao Yang
Browse files

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
parent 49a6f39a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment