mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 934568 - Don't make ScanRoots CC OOM assertion fatal due to Win7 debug M2 failures. s=smaug
This commit is contained in:
parent
7dd28ca155
commit
f2b04a12d6
@ -2132,8 +2132,7 @@ nsCycleCollector::MarkRoots(GCGraphBuilder &aBuilder)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (aBuilder.RanOutOfMemory()) {
|
if (aBuilder.RanOutOfMemory()) {
|
||||||
MOZ_ASSERT(false,
|
MOZ_ASSERT(false, "Ran out of memory while building cycle collector graph");
|
||||||
"Ran out of memory while building cycle collector graph");
|
|
||||||
CC_TELEMETRY(_OOM, true);
|
CC_TELEMETRY(_OOM, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -2267,7 +2266,7 @@ nsCycleCollector::ScanRoots(nsICycleCollectorListener *aListener)
|
|||||||
GraphWalker<scanVisitor>(scanVisitor(mWhiteNodeCount, failed)).WalkFromRoots(mGraph);
|
GraphWalker<scanVisitor>(scanVisitor(mWhiteNodeCount, failed)).WalkFromRoots(mGraph);
|
||||||
|
|
||||||
if (failed) {
|
if (failed) {
|
||||||
MOZ_ASSERT(false, "Ran out of memory in ScanRoots");
|
NS_ASSERTION(false, "Ran out of memory in ScanRoots");
|
||||||
CC_TELEMETRY(_OOM, true);
|
CC_TELEMETRY(_OOM, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user