// schedule the safepoint operation for installing the object sampler
StartOperation op(sample_count);
VMThread::execute(&op);
if (!is_running()) {
log_trace(jfr, system)("Object sampling could not be started because the sampler could not be allocated"); returnfalse;
}
assert(is_running(), "invariant");
log_trace(jfr, system)("Object sampling started"); returntrue;
}
bool LeakProfiler::stop() { if (!is_running()) { returnfalse;
}
// schedule the safepoint operation for uninstalling and destroying the object sampler
StopOperation op;
VMThread::execute(&op);
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.