gecko-dev/js/xpconnect/loader
Doug Thayer 97c5d40384 Bug 1586920 - Sometimes include dynamic string of label frames in BHR r=nika
This adds two AUTO_PROFILER_LABEL_DYNAMIC_... macros and updates select
usages of the old macros to use the new ones. These new macros cause
the dynamic string of the label to be included in BHR stacks.

We don't want to do this all of the time, as in many cases we may not
be interested enough in the dynamic string or it may be sensitive
information, but it is rather important information for certain cases.

This uses the same buffer that we use for the strings for JS frames,
and if we fail to fit into that buffer we just append the raw label.

If the string is too long for our static buffer (128 bytes), we just
leave it truncated, as it should be stable and we may be able to infer
from the truncated form what the full form would be.

Differential Revision: https://phabricator.services.mozilla.com/D51665

--HG--
extra : moz-landing-system : lando
2019-11-11 20:27:44 +00:00
..
AutoMemMap.cpp Bug 1479960 - Make AutoMemMap not fstat() the mapped object if it doesn't need to. r=kmag 2019-08-14 22:48:36 +00:00
AutoMemMap.h Bug 1479960 - Make AutoMemMap not fstat() the mapped object if it doesn't need to. r=kmag 2019-08-14 22:48:36 +00:00
ChromeScriptLoader.cpp Bug 1575055 - Unify JS::CompileOptions::canLazilyParse and forceFullParse_. r=jandem 2019-09-18 15:05:42 +00:00
IOBuffers.h Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan 2019-10-21 14:13:44 +00:00
moz.build Bug 1550108 - Split out Input/OutputBuffer into their own file r=froydnj 2019-10-04 20:44:41 +00:00
mozJSComponentLoader.cpp Bug 1560667 - Collection of fixes for things uncovered by improvements to the hazard analysis. r=bzbarsky 2019-10-02 03:20:33 +00:00
mozJSComponentLoader.h
mozJSLoaderUtils.cpp Bug 1594051 - Perform fallible alloc when copying buffer from StartupCache r=froydnj 2019-11-07 20:00:48 +00:00
mozJSLoaderUtils.h
mozJSSubScriptLoader.cpp Bug 1586920 - Sometimes include dynamic string of label frames in BHR r=nika 2019-11-11 20:27:44 +00:00
mozJSSubScriptLoader.h Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan 2019-10-21 14:13:44 +00:00
nsImportModule.cpp
nsImportModule.h
PrecompiledScript.h
PScriptCache.ipdl
script_cache.py Bug 1562642 - Part 4 - Add missing MPL2 headers in js/ r=jorendorff 2019-07-26 21:17:29 +00:00
ScriptCacheActors.cpp
ScriptCacheActors.h
ScriptPreloader-inl.h Bug 1550108 - Split out Input/OutputBuffer into their own file r=froydnj 2019-10-04 20:44:41 +00:00
ScriptPreloader.cpp Bug 1550108 - Split out Input/OutputBuffer into their own file r=froydnj 2019-10-04 20:44:41 +00:00
ScriptPreloader.h Bug 1579222: Don't discard scripts before they've been encoded for the cache write. r=tcampbell 2019-09-19 20:44:22 +00:00
URLPreloader.cpp
URLPreloader.h
XPCOMUtils.jsm