// Metadata for a DexFile to help decide whether to madvise it. struct DexFileMadviseMetadata {
size_t index;
size_t num_startup_classes;
size_t num_classes;
size_t num_startup_methods;
size_t num_methods;
};
// Selects which dex files to madvise based on a list of per-dex profile metadata. // Returns a vector of (unique) dex indices corresponding to the selected dex files. // // Note: The current logic returns indices in ascending order, but this is not a strict guarantee, // and should not be assumed.
std::vector<size_t> SelectDexFilesToMadvise(std::vector<DexFileMadviseMetadata> dex_files);
} // namespace art
#endif// ART_RUNTIME_OAT_MADVISE_UTILS_H_
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.0 Sekunden
(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.