mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-20 08:45:46 +00:00
Backed out changeset 6922ef47c257 (bug 1593975) for sm bustages on bug-1593975.js. CLOSED TREE
This commit is contained in:
parent
a9891da4c8
commit
116f82cab3
@ -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;
|
||||
|
@ -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) {}
|
Loading…
Reference in New Issue
Block a user