Quellcodebibliothek Statistik Leitseite products/sources/formale Sprachen/C/Firefox/js/src/jit-test/tests/debug/   (Browser von der Mozilla Stiftung Version 136.0.1©)  Datei vom 10.2.2025 mit Größe 650 B image not shown  

Quelle  bug1891662.js   Sprache: JAVA

 
// |jit-test| --baseline-eager

var src = "";
for (var i = 0; i < 100; i++) {
  src += "function foo" + i + "() { foo" + (i+1) + "(); }"
}
eval(src);

function foo100() {
  let g = newGlobal({newCompartment: true});
  let d = new g.Debugger(this);

  // When we set this debugger hook, we will trigger 100
  // baseline recompilations. We want an OOM to occur
  // during one of those recompilations. We allocate
  // about 400 times before starting recompilation, and
  // about 30000 times total. This number is picked to
  // leave a healthy margin on either side.
  oomAtAllocation(5000);
  d.onEnterFrame = () => {}
}
try {
  foo0();
catch {}

Messung V0.5
C=85 H=90 G=87

¤ Dauer der Verarbeitung: 0.22 Sekunden  (vorverarbeitet)  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

Beweissystem der NASA

Beweissystem Isabelle

NIST Cobol Testsuite

Cephes Mathematical Library

Wiener Entwicklungsmethode

Haftungshinweis

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.