// This method being synchronized means the SIGQUIT code in ART will call // FindLocksAtDexPc (we check for the presence of try blocks and monitor-enter), // which triggered a DCHECK of an invariant. publicstaticsynchronizedvoid runTest(Object m) throws Exception { if (m != null) { // We used to crash while trying to resolve NotLoaded and beint interrupted // by the SIGQUIT. if (m instanceof NotLoaded) {
((NotLoaded)m).foo();
}
}
SigQuit.doKill(); // Sleep some time to get the kill while executing this method. Thread.sleep(2);
System.out.println("Done");
}
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.