Backed out changeset 6922ef47c257 (bug 1593975) for sm bustages on bug-1593975.js. CLOSED TREE

This commit is contained in:
Brindusan Cristian 2019-11-05 23:04:18 +02:00
parent a9891da4c8
commit 116f82cab3
2 changed files with 1 additions and 21 deletions

View File

@ -455,7 +455,7 @@ class GCMarker : public JSTracer {
* If the weakKeys table OOMs, disable the linear algorithm and fall back
* to iterating until the next GC.
*/
MainThreadOrGCTaskData<bool> linearWeakMarkingDisabled_;
MainThreadData<bool> linearWeakMarkingDisabled_;
/* The count of marked objects during GC. */
size_t markCount;

View File

@ -1,20 +0,0 @@
function runtest(func) {
func();
}
const g1 = newGlobal({
newCompartment: true
});
enqueueMark("enter-weak-marking-mode");
function transplantMarking() {
const vals = {};
vals.map = new WeakMap();
enqueueMark(vals.map);
enqueueMark("yield");
enqueueMark("enter-weak-marking-mode");
}
runtest(transplantMarking);
egc = 60;
gcslice(egc * 100);
try {
x();
} catch(e) {}