/art/dex2oat/dex/ |
D | quick_compiler_callbacks.cc | 37 ClassStatus QuickCompilerCallbacks::GetPreviousClassState(ClassReference ref) { in GetPreviousClassState() 41 return ClassStatus::kNotReady; in GetPreviousClassState() 50 void QuickCompilerCallbacks::UpdateClassState(ClassReference ref, ClassStatus status) { in UpdateClassState()
|
D | quick_compiler_callbacks.h | 53 ClassStatus GetPreviousClassState(ClassReference ref) override; 62 void UpdateClassState(ClassReference ref, ClassStatus state) override;
|
/art/runtime/ |
D | aot_class_linker.cc | 50 if (klass->GetSuperClass()->GetStatus() == ClassStatus::kInitializing) { in InitializeClass() 82 ClassStatus old_status = callbacks->GetPreviousClassState( in PerformClassVerification() 85 if (old_status >= ClassStatus::kVerified) { in PerformClassVerification() 89 if (old_status >= ClassStatus::kRetryVerificationAtRuntime) { in PerformClassVerification()
|
D | compiler_callbacks.h | 59 virtual ClassStatus GetPreviousClassState(ClassReference ref ATTRIBUTE_UNUSED) { in GetPreviousClassState() 60 return ClassStatus::kNotReady; in GetPreviousClassState() 71 ClassStatus state ATTRIBUTE_UNUSED) {} in UpdateClassState()
|
D | class_status.h | 74 enum class ClassStatus : uint8_t { enum 93 std::ostream& operator<<(std::ostream& os, const ClassStatus& rhs);
|
D | subtype_check_bits_and_status.h | 68 static constexpr size_t kClassStatusBitSize = MinimumBitsToStore(enum_cast<>(ClassStatus::kLast)); 72 BitStructField<ClassStatus,
|
D | subtype_check.h | 367 static void WriteStatus(ClassPtr klass, ClassStatus status) in WriteStatus() 470 ClassStatus old_status; in WriteSubtypeCheckBits() 510 static void WriteStatusImpl(ClassPtr klass, ClassStatus status) in WriteStatusImpl() 515 ClassStatus old_status; in WriteStatusImpl()
|
D | oat_file.h | 212 ClassStatus GetStatus() const { in GetStatus() 240 ClassStatus::kErrorUnresolved, in Invalid() 249 ClassStatus status, 257 const ClassStatus status_;
|
D | class_linker.cc | 227 mirror::Class::SetStatus(klass, ClassStatus::kVerified, Thread::Current()); in EnsureSkipAccessChecksMethods() 493 mirror::Class::SetStatus(java_lang_Object, ClassStatus::kLoaded, self); in InitWithoutImage() 532 mirror::Class::SetStatus(java_lang_String, ClassStatus::kResolved, self); in InitWithoutImage() 538 mirror::Class::SetStatus(java_lang_ref_Reference, ClassStatus::kResolved, self); in InitWithoutImage() 591 mirror::Class::SetStatus(java_lang_DexCache, ClassStatus::kResolved, self); in InitWithoutImage() 598 mirror::Class::SetStatus(dalvik_system_ClassExt, ClassStatus::kResolved, self); in InitWithoutImage() 642 mirror::Class::SetStatus(java_lang_Object, ClassStatus::kNotReady, self); in InitWithoutImage() 645 mirror::Class::SetStatus(java_lang_String, ClassStatus::kNotReady, self); in InitWithoutImage() 647 mirror::Class::SetStatus(java_lang_DexCache, ClassStatus::kNotReady, self); in InitWithoutImage() 650 mirror::Class::SetStatus(dalvik_system_ClassExt, ClassStatus::kNotReady, self); in InitWithoutImage() [all …]
|
D | oat_file.cc | 1962 is_vdex_verified ? ClassStatus::kVerified : ClassStatus::kNotReady, in GetOatClass() 1976 ClassStatus status = enum_cast<ClassStatus>(*reinterpret_cast<const int16_t*>(status_pointer)); in GetOatClass() 1977 CHECK_LE(status, ClassStatus::kLast); in GetOatClass() 2081 ClassStatus status, in OatClass()
|
D | class_table.cc | 76 CHECK_EQ(klass->GetStatus(), ClassStatus::kResolving) << descriptor; in UpdateClass()
|
D | class_linker_test.cc | 95 EXPECT_EQ(ClassStatus::kInitialized, primitive->GetStatus()); in AssertPrimitiveClass() 134 EXPECT_EQ(ClassStatus::kInitialized, JavaLangObject->GetStatus()); in AssertObjectClass() 210 EXPECT_EQ(ClassStatus::kInitialized, array->GetStatus()); in AssertArrayClass() 936 EXPECT_EQ(ClassStatus::kResolved, MyClass->GetStatus()); in TEST_F()
|
D | transaction_test.cc | 70 ClassStatus old_status = h_klass->GetStatus(); in testTransactionAbort()
|
D | class_linker.h | 501 ClassStatus& oat_file_class_status)
|
/art/test/800-smali/ |
D | jni.cc | 35 ClassStatus oat_file_class_status(ClassStatus::kNotReady); in Java_Main_isAotVerified()
|
/art/dex2oat/driver/ |
D | compiler_driver_test.cc | 307 ClassStatus status; in CheckVerifiedClass() 311 EXPECT_EQ(status, ClassStatus::kVerified); in CheckVerifiedClass() 349 static_assert(enum_cast<size_t>(ClassStatus::kLast) < std::numeric_limits<size_t>::max(), in TEST_F() 351 for (size_t i = enum_cast<size_t>(ClassStatus::kRetryVerificationAtRuntime); in TEST_F() 352 i <= enum_cast<size_t>(ClassStatus::kLast); in TEST_F() 354 const ClassStatus expected_status = enum_cast<ClassStatus>(i); in TEST_F() 356 if (expected_status == ClassStatus::kVerifyingAtRuntime || in TEST_F() 357 expected_status == ClassStatus::kInitializing) { in TEST_F() 361 ClassStatus status = {}; in TEST_F()
|
D | compiler_driver.cc | 136 class_status_count_ + static_cast<size_t>(ClassStatus::kLast) + 1, in Dump() 138 for (size_t i = 0; i <= static_cast<size_t>(ClassStatus::kLast); ++i) { in Dump() 140 oss << "classes with status " << static_cast<ClassStatus>(i); in Dump() 223 void AddClassStatus(ClassStatus status) REQUIRES(!stats_lock_) { in AddClassStatus() 249 size_t class_status_count_[static_cast<size_t>(ClassStatus::kLast) + 1] = {}; 701 ClassStatus::kRetryVerificationAtRuntime) { in ResolveConstStrings() 1718 ClassStatus status, in LoadAndUpdateStatus() 1734 if (status >= ClassStatus::kVerified) { in LoadAndUpdateStatus() 1790 const ClassStatus existing = ClassStatus::kNotReady; in FastVerify() 1792 compiled_classes_.Insert(ref, existing, ClassStatus::kVerified); in FastVerify() [all …]
|
D | compiler_driver.h | 130 ClassStatus GetClassStatus(const ClassReference& ref) const; 131 bool GetCompiledClass(const ClassReference& ref, ClassStatus* status) const; 205 void RecordClassStatus(const ClassReference& ref, ClassStatus status); 310 using ClassStateTable = AtomicDexRefMap<ClassReference, ClassStatus>;
|
/art/test/626-const-class-linking/ |
D | clear_dex_cache_types.cc | 40 ClassStatus status = klass->GetStatus(); in Java_Main_nativeSkipVerification() 41 if (status == ClassStatus::kResolved) { in Java_Main_nativeSkipVerification() 43 klass->SetStatus(klass, ClassStatus::kVerified, soa.Self()); in Java_Main_nativeSkipVerification()
|
/art/runtime/mirror/ |
D | class.h | 90 ClassStatus GetStatus() REQUIRES_SHARED(Locks::mutator_lock_) { in GetStatus() 93 return enum_cast<ClassStatus>( in GetStatus() 98 static void SetStatus(Handle<Class> h_this, ClassStatus new_status, Thread* self) 108 return GetStatus<kVerifyFlags>() == ClassStatus::kRetired; in IsRetired() 114 return GetStatus<kVerifyFlags>() == ClassStatus::kErrorUnresolved; in IsErroneousUnresolved() 120 return GetStatus<kVerifyFlags>() == ClassStatus::kErrorResolved; in IsErroneousResolved() 124 static bool IsErroneous(ClassStatus status) { in IsErroneous() 125 return status == ClassStatus::kErrorUnresolved || status == ClassStatus::kErrorResolved; in IsErroneous() 137 return GetStatus<kVerifyFlags>() >= ClassStatus::kIdx; in IsIdxLoaded() 143 return GetStatus<kVerifyFlags>() >= ClassStatus::kLoaded; in IsLoaded() [all …]
|
D | class.cc | 143 void Class::SetStatus(Handle<Class> h_this, ClassStatus new_status, Thread* self) { in SetStatus() 144 ClassStatus old_status = h_this->GetStatus(); in SetStatus() 149 new_status != ClassStatus::kErrorUnresolved && in SetStatus() 150 new_status != ClassStatus::kErrorResolved && in SetStatus() 151 new_status != ClassStatus::kRetired)) { in SetStatus() 155 if (new_status >= ClassStatus::kResolved || old_status >= ClassStatus::kResolved) { in SetStatus() 167 CHECK_EQ(new_status == ClassStatus::kErrorResolved, old_status >= ClassStatus::kResolved); in SetStatus() 203 if (new_status == ClassStatus::kInitialized && !h_this->IsVariableSize()) { in SetStatus() 211 if (kIsDebugBuild && new_status >= ClassStatus::kInitialized) { in SetStatus() 225 CHECK_LT(new_status, ClassStatus::kResolved) << h_this->PrettyDescriptor(); in SetStatus() [all …]
|
/art/test/692-vdex-inmem-loader/ |
D | vdex_inmem_loader.cc | 159 ClassStatus oat_file_class_status(ClassStatus::kNotReady); in Java_Main_areClassesPreverified()
|
/art/dex2oat/ |
D | verifier_deps_test.cc | 242 ASSERT_EQ(cls->GetStatus(), ClassStatus::kVerified); in VerifyClassStatus() 244 ASSERT_LT(cls->GetStatus(), ClassStatus::kVerified); in VerifyClassStatus()
|
/art/dex2oat/linker/ |
D | oat_writer.cc | 205 ClassStatus status) in OatClassHeader() 227 static_assert(enum_cast<>(ClassStatus::kLast) < (1 << 16), "class status won't fit in 16bits"); 971 ClassStatus status; in EndClass() 979 status = ClassStatus::kErrorResolved; in EndClass() 981 status = ClassStatus::kNotReady; in EndClass()
|
D | oat_writer_test.cc | 443 CHECK_EQ(ClassStatus::kNotReady, oat_class.GetStatus()) << descriptor; in TEST_F()
|