Bug 1341889 - Part 2: Add a hazard suppression for malloc_usable_size. r=sfink
authorEmanuel Hoogeveen <emanuel.hoogeveen@gmail.com>
Thu, 23 Feb 2017 14:27:00 -0500
changeset 373687 7b7dddb3428ea51a413acc095eb6459345a752fc
parent 373686 b836770e5cb1bb61fa85a2d18744f3201adc3413
child 373688 856b3b317f5560d539107b426fbd5b7ef622eb34
push id10863
push userjlorenzo@mozilla.com
push dateMon, 06 Mar 2017 23:02:23 +0000
treeherdermozilla-aurora@0931190cd725 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssfink
bugs1341889
milestone54.0a1
Bug 1341889 - Part 2: Add a hazard suppression for malloc_usable_size. r=sfink
js/src/devtools/rootAnalysis/annotations.js
--- a/js/src/devtools/rootAnalysis/annotations.js
+++ b/js/src/devtools/rootAnalysis/annotations.js
@@ -155,16 +155,17 @@ function isSuppressedVirtualMethod(csu, 
 {
     return csu == "nsISupports" && (method == "AddRef" || method == "Release");
 }
 
 // Ignore calls of these functions (so ignore any stack containing these)
 var ignoreFunctions = {
     "ptio.c:pt_MapError" : true,
     "je_malloc_printf" : true,
+    "malloc_usable_size" : true,
     "vprintf_stderr" : true,
     "PR_ExplodeTime" : true,
     "PR_ErrorInstallTable" : true,
     "PR_SetThreadPrivate" : true,
     "JSObject* js::GetWeakmapKeyDelegate(JSObject*)" : true, // FIXME: mark with AutoSuppressGCAnalysis instead
     "uint8 NS_IsMainThread()" : true,
 
     // Has an indirect call under it by the name "__f", which seemed too