bool IsUnloadingBehaviour::is_unloading(CompiledMethod* cm) { if (cm->method()->can_be_allocated_in_NonNMethod_space()) { // When the nmethod is in NonNMethod space, we may reach here without IsUnloadingBehaviour. // However, we only allow this for special methods which never get unloaded. returnfalse;
} return _current->has_dead_oop(cm) || cm->as_nmethod()->is_cold();
}
class IsCompiledMethodUnloadingOopClosure: public OopClosure {
BoolObjectClosure *_cl; bool _is_unloading;
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.