ClassStatus QuickCompilerCallbacks::GetPreviousClassState(ClassReference ref) { // If we don't have class unloading enabled in the compiler, we will never see class that were // previously verified. Return false to avoid overhead from the lookup in the compiler driver. if (!does_class_unloading_) { return ClassStatus::kNotReady;
}
DCHECK(compiler_driver_ != nullptr); // In the case of the verify filter, avoiding verifiying twice. return compiler_driver_->GetClassStatus(ref);
}
void QuickCompilerCallbacks::UpdateClassState(ClassReference ref, ClassStatus status) { // Driver is null when bootstrapping the runtime. if (compiler_driver_ != nullptr) {
compiler_driver_->RecordClassStatus(ref, status);
}
}
bool QuickCompilerCallbacks::CanUseOatStatusForVerification(mirror::Class* klass) { // No dex files: conservatively false. if (dex_files_ == nullptr) { returnfalse;
}
// If the class isn't from one of the dex files, accept oat file data. const DexFile* dex_file = &klass->GetDexFile(); return std::find(dex_files_->begin(), dex_files_->end(), dex_file) == dex_files_->end();
}
} // namespace art
Messung V0.5 in Prozent
¤ Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.0.12Bemerkung:
(vorverarbeitet am 2026-06-29)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.