staticvoid m(int b) {
A a = new A(10); int c;
c = b + a.vl; //accessing volatile field of class not loaded at compile time forces a deopt if(c != 20) {
System.out.println("a (= " + a.vl + ") + b (= " + b + ") = c (= " + c + ") != 20"); thrownew InternalError();
}
}
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.