OSDN Git Service

Be less aggressive when inlining.
authorNicolas Geoffray <ngeoffray@google.com>
Wed, 7 Jun 2017 12:18:03 +0000 (13:18 +0100)
committerNicolas Geoffray <ngeoffray@google.com>
Wed, 7 Jun 2017 15:57:19 +0000 (16:57 +0100)
commit8f51b903117e42bf5c274990ec7c74b8281582c0
tree1d32bda095adecf317936b9dd28a94338a13bc68
parentcdbd252ab528ac29f45403bf099c79ae2c3bde00
Be less aggressive when inlining.

Reduce the threshold for cumulated dex registers, to prevent
long and memory expensive compiles.

bug: 62243120 (3d party app startup)
bug: 36727951 (Camera startup)
bug: 62271612 (compiler allocations)
Test: test.py

(cherry picked from commit f81621ea5a67474e6f2cb0516b606822d5843612)

Change-Id: I25b37e1226af1659934adceb9e3c9e3f12ebd4bd
compiler/optimizing/inliner.cc