gecko-dev/js/public
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
..
experimental Bug 1426865 - Add default visibility to JSAPI symbols. r=sfink 2019-10-27 22:34:11 +00:00
AllocationRecording.h Bug 1559486 - Remove scriptFilename from RecordAllocationInfo; r=jimb 2019-07-04 05:19:58 +00:00
AllocPolicy.h No bug. Reformat js/** to fix accumulated divergences. 2019-05-24 11:57:18 -07:00
ArrayBuffer.h Bug 1426865 - Add default visibility to JSAPI symbols. r=sfink 2019-10-27 22:34:11 +00:00
BuildId.h
CallArgs.h
CallNonGenericMethod.h
CharacterEncoding.h Bug 1586683 - Remove flat strings from JSAPI. r=jwalden,bzbarsky 2019-10-14 09:32:07 +00:00
Class.h Bug 1531716 - Part 4: Replace jstypes macros with constexpr functions. r=jonco 2019-11-04 14:04:35 +00:00
CompilationAndEvaluation.h Bug 1426865 - Add default visibility to JSAPI symbols. r=sfink 2019-10-27 22:34:11 +00:00
CompileOptions.h Bug 1426865 - Add default visibility to JSAPI symbols. r=sfink 2019-10-27 22:34:11 +00:00
ContextOptions.h Bug 1426865 - Add default visibility to JSAPI symbols. r=sfink 2019-10-27 22:34:11 +00:00
Conversions.h Bug 1566784 - Increase the size of the buffer that JS::NumberToString fills with the result of ToString applied to the provided double to fix overflows. r=arai 2019-07-17 18:07:35 -07:00
Date.h Bug 1426865 - Add default visibility to JSAPI symbols. r=sfink 2019-10-27 22:34:11 +00:00
Debug.h
Equality.h Bug 1426865 - Add default visibility to JSAPI symbols. r=sfink 2019-10-27 22:34:11 +00:00
ErrorReport.h Bug 1426865 - Add default visibility to JSAPI symbols. r=sfink 2019-10-27 22:34:11 +00:00
ForOfIterator.h Bug 1426865 - Add default visibility to JSAPI symbols. r=sfink 2019-10-27 22:34:11 +00:00
GCAnnotations.h
GCAPI.h Bug 1587096 - Part 2: Add an API to set the HostCleanupFinalizationGroup callback r=sfink 2019-11-01 10:37:40 +00:00
GCHashTable.h Bug 1573809 - Part 6 : GCHashmap/GCHashTable traceWeak. r=jonco 2019-10-14 09:21:58 +00:00
GCPolicyAPI.h Bug 1573809 - Part 6 : GCHashmap/GCHashTable traceWeak. r=jonco 2019-10-14 09:21:58 +00:00
GCVariant.h
GCVector.h Bug 1593260 - Don't use remove_if for sweeping GCVector as the predicate can modify the elements r=anba 2019-11-05 15:42:19 +00:00
HashTable.h Bug 1426865 - Add default visibility to JSAPI symbols. r=sfink 2019-10-27 22:34:11 +00:00
HeapAPI.h Backed out changeset 8daa186bd18b (bug 1593399) for causing crashes @js::gcstats::Statistics. CLOSED TREE 2019-11-13 07:00:37 +02:00
Id.h Bug 1585921 - Use root marking functions to trace unbarriered pointers in GCPolicy traits since this is only safe when we're marking roots r=sfink 2019-10-09 10:30:02 +00:00
Initialization.h
JSON.h Bug 1426865 - Add default visibility to JSAPI symbols. r=sfink 2019-10-27 22:34:11 +00:00
LocaleSensitive.h Bug 1426865 - Add default visibility to JSAPI symbols. r=sfink 2019-10-27 22:34:11 +00:00
MemoryFunctions.h Bug 1426865 - Add default visibility to JSAPI symbols. r=sfink 2019-10-27 22:34:11 +00:00
MemoryMetrics.h Bug 1575350: Move JSScript side-tables from Realm to Zone. r=tcampbell,jonco 2019-08-29 22:28:20 +00:00
Modules.h Bug 1426865 - Add default visibility to JSAPI symbols. r=sfink 2019-10-27 22:34:11 +00:00
OffThreadScriptCompilation.h Bug 1426865 - Add default visibility to JSAPI symbols. r=sfink 2019-10-27 22:34:11 +00:00
Principals.h Bug 1576254 - Add isSystemOrAddonPrincipal to JSPrincipal and nsJSPrincipals r=luke 2019-10-04 17:37:36 +00:00
Printf.h
ProfilingCategory.h Bug 1557447 - Profiler support for IPC information; r=nika,smaug 2019-10-21 20:51:07 +00:00
ProfilingFrameIterator.h Bug 1551499 - Support Baseline Interpreter code in the profiler. r=djvj 2019-06-21 16:13:48 +00:00
ProfilingStack.h Bug 1586920 - Sometimes include dynamic string of label frames in BHR r=nika 2019-11-11 20:27:44 +00:00
Promise.h Bug 1591655 - Remove the unnecessary |proto| argument from |JS::NewPromiseObject| and its callers, seeing as all callers pass |nullptr| (and therefore uniformly request the default prototype). r=jandem,bzbarsky 2019-10-26 08:14:05 +00:00
PropertyDescriptor.h Bug 1426865 - Add default visibility to JSAPI symbols. r=sfink 2019-10-27 22:34:11 +00:00
PropertySpec.h Bug 1426865 - Add default visibility to JSAPI symbols. r=sfink 2019-10-27 22:34:11 +00:00
ProtoKey.h Bug 1590907 - Remove obsolete macro ENABLE_SHARED_ARRAY_BUFFER. r=sfink 2019-11-12 21:58:55 +00:00
Proxy.h Bug 1573844 - Remove references to js::Class and remove the alias r=tcampbell 2019-08-14 19:13:12 +00:00
Realm.h
RealmOptions.h Bug 1587098 - Add a shell option to enable support for weak references, off by default r=sfink 2019-11-01 10:37:09 +00:00
RefCounted.h
RegExp.h Bug 1426865 - Add default visibility to JSAPI symbols. r=sfink 2019-10-27 22:34:11 +00:00
RegExpFlags.h
RequiredDefines.h Bug 1562063 - Stop including Char16.h everywhere in js/. r=jwalden 2019-06-27 22:33:09 +00:00
Result.h
RootingAPI.h Bug 1589717 - Simplify GCVector::sweep and allow use with element types that don't have barriers r=sfink 2019-10-22 04:58:53 +00:00
SavedFrameAPI.h Bug 1426865 - Add default visibility to JSAPI symbols. r=sfink 2019-10-27 22:34:11 +00:00
SharedArrayBuffer.h Bug 1426865 - Add default visibility to JSAPI symbols. r=sfink 2019-10-27 22:34:11 +00:00
SliceBudget.h
SourceText.h Bug 1557193 - Move Unit-agnostic code out of the Evaluate helper function in testScriptSourceCompression.cpp. r=arai 2019-06-05 17:50:39 -07:00
StableStringChars.h Bug 1572207 - Update AutoStableStringChars comment, r=jonco 2019-08-09 20:41:12 +00:00
Stream.h Bug 1582348 - Fill out the body of |SetUpWritableStreamDefaultController|. r=arai 2019-09-28 03:16:16 +00:00
StructuredClone.h Bug 1583251 - P3 - Check if it is okay to allow shared memory while deserializing; r=nika,lth 2019-10-23 07:20:18 +00:00
SweepingAPI.h
Symbol.h Bug 1426865 - Add default visibility to JSAPI symbols. r=sfink 2019-10-27 22:34:11 +00:00
TraceKind.h
TraceLoggerAPI.h Bug 1553362 - Add empty spew inline functions for when tracelogger is disabled r=iain 2019-05-22 15:59:05 +00:00
TracingAPI.h Bug 1573809 - Part 6 : GCHashmap/GCHashTable traceWeak. r=jonco 2019-10-14 09:21:58 +00:00
TrackedOptimizationInfo.h Bug 1567388 part 3 - Stop Baseline-compiling scripts for the definite properties analysis. r=tcampbell 2019-07-26 10:11:27 +00:00
Transcoding.h Bug 1426865 - Add default visibility to JSAPI symbols. r=sfink 2019-10-27 22:34:11 +00:00
TypeDecls.h Bug 1426865 - Add default visibility to JSAPI symbols. r=sfink 2019-10-27 22:34:11 +00:00
UbiNode.h Bug 1545582 - Add a JS runtime level of allocation logging; r=jimb 2019-07-01 21:52:58 +00:00
UbiNodeBreadthFirst.h Bug 1565175 - Fix HeapSnapshotHandler to not add nodes to |visited| until they're written to the core dump. r=fitzgen 2019-07-11 18:41:43 +00:00
UbiNodeCensus.h
UbiNodeDominatorTree.h
UbiNodePostOrder.h
UbiNodeShortestPaths.h
UbiNodeUtils.h
UniquePtr.h
Utility.h Bug 1590907 - Remove obsolete macro JS_OOM_DO_BACKTRACES. r=sfink 2019-11-12 22:01:06 +00:00
Value.h Bug 1582348 - Implement |WritableStreamDefaultControllerClose|. r=arai 2019-10-30 22:35:28 +00:00
Vector.h Bug 1426865 - Add default visibility to JSAPI symbols. r=sfink 2019-10-27 22:34:11 +00:00
Warnings.h Bug 1426865 - Add default visibility to JSAPI symbols. r=sfink 2019-10-27 22:34:11 +00:00
WeakMapPtr.h
Wrapper.h Bug 1559489, part 2 - Split out the back half of RemapWrapper into a new method. r=tcampbell 2019-08-13 19:09:46 +00:00