summaryrefslogtreecommitdiff
path: root/compiler/driver/compiler_driver.h
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2016-12-15 13:20:02 +0000
committer Nicolas Geoffray <ngeoffray@google.com> 2016-12-16 13:35:51 +0000
commitade72d6e03e2ca49a8d2691f35fe6e37d88a196d (patch)
tree8f36d796776c4d18a17215de02d5fdd347d34ae6 /compiler/driver/compiler_driver.h
parent7a8e16c827efc866d01b5cbca835b18fe29a83ab (diff)
Do not resolve types with vdex.
We don't need to, and it's time expensive. test: test-art-host, 2x faster vdex compilation time. bug: 30937355 Change-Id: Ic04ebfee9172ed676fbb38e6901615ed3473352a
Diffstat (limited to 'compiler/driver/compiler_driver.h')
-rw-r--r--compiler/driver/compiler_driver.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/compiler/driver/compiler_driver.h b/compiler/driver/compiler_driver.h
index cc50197140..eb69931f6d 100644
--- a/compiler/driver/compiler_driver.h
+++ b/compiler/driver/compiler_driver.h
@@ -440,9 +440,12 @@ class CompilerDriver {
TimingLogger* timings)
REQUIRES(!Locks::mutator_lock_);
+ // NO_THREAD_SAFETY_ANALYSIS as the method accesses a guarded value in a
+ // single-threaded way.
void Verify(jobject class_loader,
const std::vector<const DexFile*>& dex_files,
- TimingLogger* timings);
+ TimingLogger* timings)
+ NO_THREAD_SAFETY_ANALYSIS;
void VerifyDexFile(jobject class_loader,
const DexFile& dex_file,