Lines Matching refs:ClassStatus
192 static void CheckSetStatus(Thread* self, T thiz, ClassStatus new_status, ClassStatus old_status) in CheckSetStatus()
194 if (UNLIKELY(new_status <= old_status && new_status != ClassStatus::kErrorUnresolved && in CheckSetStatus()
195 new_status != ClassStatus::kErrorResolved && new_status != ClassStatus::kRetired)) { in CheckSetStatus()
199 if (old_status == ClassStatus::kInitialized) { in CheckSetStatus()
202 CHECK_EQ(new_status, ClassStatus::kVisiblyInitialized); in CheckSetStatus()
203 } else if ((new_status >= ClassStatus::kResolved || old_status >= ClassStatus::kResolved) && in CheckSetStatus()
221 void Class::SetStatusInternal(ClassStatus new_status) { in SetStatusInternal()
237 void Class::SetStatusLocked(ClassStatus new_status) { in SetStatusLocked()
238 ClassStatus old_status = GetStatus(); in SetStatusLocked()
243 void Class::SetStatus(Handle<Class> h_this, ClassStatus new_status, Thread* self) { in SetStatus()
244 ClassStatus old_status = h_this->GetStatus(); in SetStatus()
255 CHECK_EQ(new_status == ClassStatus::kErrorResolved, old_status >= ClassStatus::kResolved); in SetStatus()
278 if (new_status == ClassStatus::kVisiblyInitialized && !h_this->IsVariableSize()) { in SetStatus()
286 if (kIsDebugBuild && new_status >= ClassStatus::kInitialized) { in SetStatus()
300 CHECK_LT(new_status, ClassStatus::kResolved) << h_this->PrettyDescriptor(); in SetStatus()
301 if (new_status == ClassStatus::kRetired || new_status == ClassStatus::kErrorUnresolved) { in SetStatus()
304 } else if (old_status == ClassStatus::kInitialized) { in SetStatus()
307 DCHECK_EQ(new_status, ClassStatus::kVisiblyInitialized); // Already CHECK()ed above. in SetStatus()
309 CHECK_NE(new_status, ClassStatus::kRetired); in SetStatus()
310 if (old_status >= ClassStatus::kResolved || new_status >= ClassStatus::kResolved) { in SetStatus()
317 void Class::SetStatusForPrimitiveOrArray(ClassStatus new_status) { in SetStatusForPrimitiveOrArray()
341 if (kIsDebugBuild && new_status >= ClassStatus::kInitialized) { in SetStatusForPrimitiveOrArray()
1337 Class::SetStatus(h_new_class_obj, ClassStatus::kResolving, self_); in operator ()()