diff options
| author | 2017-12-09 03:28:01 +0000 | |
|---|---|---|
| committer | 2017-12-09 03:28:01 +0000 | |
| commit | 368a828491a02047d4f8ab11d5f0b1ded1be67f0 (patch) | |
| tree | 281bd456b2f8d863c039591b8fe5d419c0d73897 /compiler/driver/compiler_driver.cc | |
| parent | db97032b3849762db5fecf191c1f3b9fc1386483 (diff) | |
| parent | 9b827ab7e63cf8b24987e75186434348d0dbf4e8 (diff) | |
Merge "ART: Clean up ATRACE use"
Diffstat (limited to 'compiler/driver/compiler_driver.cc')
| -rw-r--r-- | compiler/driver/compiler_driver.cc | 10 | 
1 files changed, 5 insertions, 5 deletions
diff --git a/compiler/driver/compiler_driver.cc b/compiler/driver/compiler_driver.cc index 3bba9ef4ae..129c5d8e23 100644 --- a/compiler/driver/compiler_driver.cc +++ b/compiler/driver/compiler_driver.cc @@ -1612,7 +1612,7 @@ class ResolveClassFieldsAndMethodsVisitor : public CompilationVisitor {        : manager_(manager) {}    void Visit(size_t class_def_index) OVERRIDE REQUIRES(!Locks::mutator_lock_) { -    ATRACE_CALL(); +    ScopedTrace trace(__FUNCTION__);      Thread* const self = Thread::Current();      jobject jclass_loader = manager_->GetClassLoader();      const DexFile& dex_file = *manager_->GetDexFile(); @@ -1957,7 +1957,7 @@ class VerifyClassVisitor : public CompilationVisitor {       : manager_(manager), log_level_(log_level) {}    virtual void Visit(size_t class_def_index) REQUIRES(!Locks::mutator_lock_) OVERRIDE { -    ATRACE_CALL(); +    ScopedTrace trace(__FUNCTION__);      ScopedObjectAccess soa(Thread::Current());      const DexFile& dex_file = *manager_->GetDexFile();      const DexFile::ClassDef& class_def = dex_file.GetClassDef(class_def_index); @@ -2086,7 +2086,7 @@ class SetVerifiedClassVisitor : public CompilationVisitor {    explicit SetVerifiedClassVisitor(const ParallelCompilationManager* manager) : manager_(manager) {}    virtual void Visit(size_t class_def_index) REQUIRES(!Locks::mutator_lock_) OVERRIDE { -    ATRACE_CALL(); +    ScopedTrace trace(__FUNCTION__);      ScopedObjectAccess soa(Thread::Current());      const DexFile& dex_file = *manager_->GetDexFile();      const DexFile::ClassDef& class_def = dex_file.GetClassDef(class_def_index); @@ -2150,7 +2150,7 @@ class InitializeClassVisitor : public CompilationVisitor {    explicit InitializeClassVisitor(const ParallelCompilationManager* manager) : manager_(manager) {}    void Visit(size_t class_def_index) OVERRIDE { -    ATRACE_CALL(); +    ScopedTrace trace(__FUNCTION__);      jobject jclass_loader = manager_->GetClassLoader();      const DexFile& dex_file = *manager_->GetDexFile();      const DexFile::ClassDef& class_def = dex_file.GetClassDef(class_def_index); @@ -2666,7 +2666,7 @@ class CompileClassVisitor : public CompilationVisitor {    explicit CompileClassVisitor(const ParallelCompilationManager* manager) : manager_(manager) {}    virtual void Visit(size_t class_def_index) REQUIRES(!Locks::mutator_lock_) OVERRIDE { -    ATRACE_CALL(); +    ScopedTrace trace(__FUNCTION__);      const DexFile& dex_file = *manager_->GetDexFile();      const DexFile::ClassDef& class_def = dex_file.GetClassDef(class_def_index);      ClassLinker* class_linker = manager_->GetClassLinker();  |