mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-30 19:28:40 +09:00
Make inaccurate GC stats reporting non-fatal in debug builds.
Not sure why this was fatal as it only hinders being able to report memory issues to a debugging dev :P
This commit is contained in:
parent
814a769541
commit
efad094b02
1 changed files with 2 additions and 2 deletions
|
|
@ -2489,7 +2489,7 @@ ReportJSRuntimeExplicitTreeStats(const JS::RuntimeStats& rtStats,
|
|||
|
||||
// gcTotal is the sum of everything we've reported for the GC heap. It
|
||||
// should equal rtStats.gcHeapChunkTotal.
|
||||
MOZ_ASSERT(gcTotal == rtStats.gcHeapChunkTotal);
|
||||
NS_WARN_IF(gcTotal != rtStats.gcHeapChunkTotal);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
@ -2929,7 +2929,7 @@ JSReporter::CollectReports(WindowPaths* windowPaths,
|
|||
KIND_OTHER, rtStats.zTotals.regExpSharedsGCHeap,
|
||||
"Used regexpshared cells.");
|
||||
|
||||
MOZ_ASSERT(gcThingTotal == rtStats.gcHeapGCThings);
|
||||
NS_WARN_IF(gcThingTotal == rtStats.gcHeapGCThings);
|
||||
|
||||
// Report xpconnect.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue