summaryrefslogtreecommitdiff
path: root/compiler/optimizing/sharpening.cc
diff options
context:
space:
mode:
author Mythri Alle <mythria@google.com> 2024-07-01 14:38:46 +0000
committer Mythri Alle <mythria@google.com> 2024-07-02 10:51:08 +0000
commit6a44606e6b27eb04e911cab0adec627014e678ff (patch)
treee59c6dfe75e944d31105e8c9b2c79c316f5a1812 /compiler/optimizing/sharpening.cc
parent0933278fc41c81f6768b806360422ce95c8f7b10 (diff)
Don't add compile task if we already have optimized code
When tiering up from baseline to optimized code, we didn't check if we already have optimized code. If baseline code is stuck in a long running loop this might cause us to enqueue the compilation multiple times. So check if we have optimized code before adding a task. Bug: 350094426 Test: art/test.py Change-Id: I5f87a4b7b75731c2ddc5e1ea487d032b074d866b
Diffstat (limited to 'compiler/optimizing/sharpening.cc')
0 files changed, 0 insertions, 0 deletions