commit | 1e76d7a8d6b6fbb07d2beaabe4fc2ba62a696cd8 | [log] [tgz] |
---|---|---|
author | Nicolas Geoffray <ngeoffray@google.com> | Mon Sep 03 13:23:34 2018 +0100 |
committer | Nicolas Geoffray <ngeoffray@google.com> | Mon Sep 03 14:47:45 2018 +0100 |
tree | 064dfdda3f6c29cad4277a6d0a5ac1200435c969 | |
parent | ddfbb5f63c1ceb445bc62f48e9333706f9eebe2f [diff] |
Use a lock in RaceGenerateTask around dex2oat. To avoid parallel dex2oat invocations, mimic the code from before that used to lock in OatFileAssistant when invoking dex2oat. Test: oat_file_assistant_test Change-Id: I40988f8827539c9288090ebf1e4bc703aeae8e91