Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/js/src/jit-test/tests/gc/   (Firefox Browser Version 136.0.1©)  Datei vom 10.2.2025 mit Größe 890 B image not shown  

Quelle  nondedup-erasure.js

  Sprache: JAVA
 

gczeal(0);

function address(s) {
  return JSON.parse(stringRepresentation(s)).address;
}

// Create a nursery string to deduplicate the test string to.
var dedup_to = newString("abcdefghijklmnopqrstuvwxyz01", {
  tenured: false,
  capacity: 28,
});

// ...and make it be processed first during a minorgc by putting something in the store buffer that points to it.
var look_at_me_first = newDependentString(dedup_to, 3, { tenured: true });

var orig_owner = newString("abcdefghijklmnopqrstuvwxyz", {
  capacity: 4000,
  tenured: true,
});
var trouble_dep = newDependentString(orig_owner, 1, { tenured: true });
var inner_rope = newRope(orig_owner, "0");
var flattened_inner_rope = ensureLinearString(inner_rope);

var outer_rope = newRope(flattened_inner_rope, "1");
var flattened_outer_rope = ensureLinearString(outer_rope);

minorgc();
assertEq(trouble_dep, "bcdefghijklmnopqrstuvwxyz");

Messung V0.5 in Prozent
C=92 H=93 G=92

¤ Dauer der Verarbeitung: 0.10 Sekunden  (vorverarbeitet am  2026-06-10) ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

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.