summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/gc/bug1116306.js
blob: 5a9718f19c623fb38e623d9ee5f4c72ddc5a2239 (plain)
1
2
3
4
5
6
7
8
const dbg = new Debugger();
const g = newGlobal({newCompartment: true});
dbg.addDebuggee(g);
dbg.memory.trackingAllocationSites = true;
g.eval("this.alloc = {}");
verifyprebarriers();
schedulegc(3);
dbg.memory.drainAllocationsLog();