summaryrefslogtreecommitdiff
path: root/compiler/optimizing/optimizing_compiler.cc
diff options
context:
space:
mode:
author Alex Light <allight@google.com> 2017-02-02 15:09:54 -0800
committer Alex Light <allight@google.com> 2017-02-02 15:32:25 -0800
commitfcbafb36eff1facdd4c2b60e5f56dd986c558901 (patch)
tree443a55d0ac3698e7eaf82395d6f3567b35d8474d /compiler/optimizing/optimizing_compiler.cc
parent406402baa4900c36b3fe27b03bf9e04e978e50be (diff)
Ensure we don't attempt to compile obsolete methods.
We would run into issues if we tried to compile an obsolete method since some of the information needed to do so is lost as we redefine the declaring class. Since compiling these methods is unlikely to have a major effect on the performance of the program we simply tell the JIT not to bother with them. Also update all places to use the new SetDontCompile helper. Test: mma -j40 test-art-host Test: stress --cpu 60 &; \ while ./test/run-test --host --jit --gcstress --64 942; do ; done Change-Id: Ie70fee6f503818e7589571facf28ccc5e7ca79f8
Diffstat (limited to 'compiler/optimizing/optimizing_compiler.cc')
0 files changed, 0 insertions, 0 deletions