Quelle test_onGarbageCollection-02.js
Sprache: JAVA
// Test multiple debuggers, GCs, and zones interacting with each other. // // Note: when observing both globals, but GC'ing in only one, we don't test that // we *didn't* GC in the other zone because GCs are finicky and unreliable. That // used to work when this was a jit-test, but in the process of migrating to // xpcshell, we lost some amount of reliability and determinism.
const root1 = newGlobal(); const dbg1 = new Debugger();
dbg1.addDebuggee(root1)
const root2 = newGlobal(); const dbg2 = new Debugger();
dbg2.addDebuggee(root2)
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.