diff options
author | 2024-07-01 14:38:46 +0000 | |
---|---|---|
committer | 2024-07-02 10:51:08 +0000 | |
commit | 6a44606e6b27eb04e911cab0adec627014e678ff (patch) | |
tree | e59c6dfe75e944d31105e8c9b2c79c316f5a1812 /compiler/optimizing/code_generation_data.h | |
parent | 0933278fc41c81f6768b806360422ce95c8f7b10 (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/code_generation_data.h')
0 files changed, 0 insertions, 0 deletions