privatestaticvoid testClassEvents() throws Exception { // Note: the JIT part of this test is about the JIT pulling in a class not yet touched by // anything else in the system. This could be the verifier or the interpreter. We // block the interpreter by calling ensureJitCompiled. The verifier, however, must // run in configurations where dex2oat didn't verify the class itself. So explicitly // check whether the class has been already loaded, and skip then. // TODO: Add multiple configurations to the run script once that becomes easier to do. if (hasJit() && !isLoadedClass("Lart/Test912Art$ClassD;")) {
testClassEventsJit();
}
}
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.