privatevoid inlinedForNull(Iterable it) { if (it != null) { // We're not inlining throw at the moment. if (doThrow) { thrownew Error(""); }
}
}
privatevoid inlinedForFalse(boolean value, Iterable it) { if (value) { // We're not inlining throw at the moment. if (doThrow) { thrownew Error(""); }
}
}
publicstaticvoid main(String[] args) {
Main m = new Main();
Iterable it = new Iterable() { public java.util.Iterator iterator() { returnnull; }
};
m.testInlinedForFalseInlined(it);
m.testInlinedForFalseNotInlined(it);
m.testInlinedForNullInlined(it);
m.testInlinedForNullNotInlined(it);
}
}
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.11 Sekunden
(vorverarbeitet am 2026-06-29)
¤
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.