Debian Codegraph @

js/src/jit-test/tests/gc/bug-1911288.js

raw
1 Object.defineProperty(this, "x", {});
2 try {
3 oomTest(function() {
4 let m = parseModule(``);
5 });
6 var dbg = new Debugger;
7 dbg.onNewGlobalObject = function (global) {}
8 let t39 = {};
9 addMarkObservers([t39]);
10 let g33 = newGlobal({newCompartment: true});
11 g33.t39 = t39;
12 g33.eval("grayRoot().push(t);");
13 } catch (exc) {}
14 gcparam("allocationThreshold", 1 /* MB */);
15 gcparam("incrementalGCEnabled", false);
16 oomTest(function() {
17 var lfGlobal = newGlobal({sameZoneAs: this});
18 });