publicclass Main { publicstaticvoid main(String[] args) {
$opt$TestSlowPath();
}
publicstaticvoid $opt$TestSlowPath() {
Object[] o = bar();
assertEquals(0, o.length); // The slowpath of the instanceof requires the live register // holding `o` to be saved before going into runtime. The linear // scan register allocator used to miscompute the number of // live registers at a safepoint, so the place at which the register // was saved was wrong.
doCall(o instanceofInterface[], o);
}
publicstaticvoid assertEquals(int a, int b) {} publicstaticboolean doCall(boolean val, Object o) { return val; }
static Object[] bar() { returnnew Object[0]; }
staticinterfaceInterface {}
}
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.1 Sekunden
(vorverarbeitet am 2026-07-11)
¤
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.