void G1CLDScanClosure::do_cld(ClassLoaderData* cld) { // If the class loader data has not been dirtied we know that there's // no references into the young gen and we can skip it. if (!_process_only_dirty || cld->has_modified_oops()) {
// Tell the closure that this class loader data is the CLD to scavenge // and is the one to dirty if oops are left pointing into the young gen.
_closure->set_scanned_cld(cld); // Clean modified oops since we're going to scavenge all the metadata.
cld->oops_do(_closure, ClassLoaderData::_claim_none, true/*clear_modified_oops*/);
_closure->set_scanned_cld(NULL);
_closure->trim_queue_partially();
}
_count++;
}
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.10 Sekunden
(vorverarbeitet am 2026-06-10)
¤
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.