// Iff the class loader (or mirror for non-strong hidden classes) is alive the // Klass is considered alive. This is safe to call before the CLD is marked as // unloading, and hence during concurrent class unloading. // This returns false if the Klass is unloaded, or about to be unloaded because the holder of // the CLD is no longer strongly reachable. // The return value of this function may change from true to false after a safepoint. So the caller // of this function must ensure that a safepoint doesn't happen while interpreting the return value. inlinebool Klass::is_loader_alive() const { return class_loader_data()->is_alive();
}
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.