summaryrefslogtreecommitdiff
path: root/runtime/oat_file_manager.cc
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/oat_file_manager.cc')
-rw-r--r--runtime/oat_file_manager.cc9
1 files changed, 0 insertions, 9 deletions
diff --git a/runtime/oat_file_manager.cc b/runtime/oat_file_manager.cc
index dfb9eafdba..6f1e95ab22 100644
--- a/runtime/oat_file_manager.cc
+++ b/runtime/oat_file_manager.cc
@@ -836,15 +836,6 @@ void OatFileManager::DeleteThreadPool() {
verification_thread_pool_.reset(nullptr);
}
-void OatFileManager::WaitForBackgroundVerificationTasksToFinish() {
- if (verification_thread_pool_ == nullptr) {
- return;
- }
-
- Thread* const self = Thread::Current();
- verification_thread_pool_->Wait(self, /* do_work= */ true, /* may_hold_locks= */ false);
-}
-
void OatFileManager::WaitForBackgroundVerificationTasks() {
if (verification_thread_pool_ != nullptr) {
Thread* const self = Thread::Current();