gecko-dev/js/public
Jon Coppeard 8b73371be0 Bug 1407593 - Report embedding leaks of JS GC things r=sfink,sfink?
Patch to report JS GC things that are live at shutdown as leaks by calling MOZ_LOG_CTOR for them. The JS engine now clears any remaining roots to prevent dangling pointers to freed memory after shutdown. I made XPCJSRuntime::Shutdown keep the weak pointer update callbacks as sometimes these tables have entries remaining at shutdown (if there are leaks) and we need the callbacks to update them.

This is looking more green on try now.

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

--HG--
extra : moz-landing-system : lando
2019-08-13 08:31:49 +00:00
..
experimental No bug. Reformat js/** to fix accumulated divergences. 2019-05-24 11:57:18 -07:00
AllocPolicy.h No bug. Reformat js/** to fix accumulated divergences. 2019-05-24 11:57:18 -07:00
AllocationRecording.h Bug 1559486 - Remove scriptFilename from RecordAllocationInfo; r=jimb 2019-07-04 05:19:58 +00:00
ArrayBuffer.h
BuildId.h
CallArgs.h
CallNonGenericMethod.h
CharacterEncoding.h
Class.h Bug 1572782 - Replace internal use of js::FreeOp with JSFreeOp r=tcampbell? 2019-08-12 10:43:51 +00:00
CompilationAndEvaluation.h Bug 1552977 - Add JS::EvaluateUtf8PathDontInflate that doesn't inflate UTF-8 file contents to UTF-16 before evaluating them. r=arai 2019-05-21 01:31:53 +00:00
CompileOptions.h Bug 1570886 - Remove enableBigInt run-time flag r=jandem 2019-08-07 14:41:36 +00:00
ContextOptions.h Bug 1564349 part 1 - Convert Baseline/Ion/NativeRegExp prefs from ContextOptions to JitOptions. r=nbp,smaug 2019-07-10 09:43:39 +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 1548908: Clean up JS::CanonicalizedDoubleValue r=tcampbell 2019-06-03 15:59:17 +00:00
Debug.h
Equality.h Bug 1560658: Add SameValueZero to mfbt/FloatingPoint.h r=jwalden 2019-06-28 23:57:13 +00:00
ErrorReport.h
ForOfIterator.h
GCAPI.h Bug 1572782 - Remove js::FreeOp and make JSFreeOp opaque in public API r=tcampbell? 2019-08-12 10:43:32 +00:00
GCAnnotations.h
GCHashTable.h Bug 1561866 - Move alloc policies where possible r=jwalden 2019-06-27 11:56:26 +01:00
GCPolicyAPI.h Bug 1571021 - Key wrapper maps by wrapped type directly and remove CrossCompartmentKey class r=jandem? 2019-08-09 10:05:45 +00:00
GCVariant.h
GCVector.h Bug 1561866 - Move alloc policies where possible r=jwalden 2019-06-27 11:56:26 +01:00
HashTable.h
HeapAPI.h Bug 1568539 - Remove unnecessary single use of ExposeScriptToActiveJS r=sfink 2019-07-24 15:54:32 +01:00
Id.h
Initialization.h
JSON.h
LocaleSensitive.h Bug 1539780: Remove "--with-intl-api=build" build config option. r=jwalden 2019-08-09 19:43:19 +00:00
MemoryFunctions.h Bug 1572782 - Remove js::FreeOp and make JSFreeOp opaque in public API r=tcampbell? 2019-08-12 10:43:32 +00:00
MemoryMetrics.h Bug 1565720 - Use UniqueChars in MemoryMetrics.{cpp,h}. r=jwalden,froydnj 2019-07-22 14:15:58 +00:00
Modules.h Bug 1554362 - Implement nsJSUtils::CompileModule for UTF-8 as well as UTF-16. r=bzbarsky 2019-06-15 20:47:51 +00:00
OffThreadScriptCompilation.h Bug 1564927 - Move off-thread API for BinAST to the right header. r=jwalden 2019-07-15 22:43:28 +00:00
Principals.h Bug 1557664 - Add AutoHoldPrincipals RAII class and use it to fix a leak in the JS shell. r=jwalden 2019-06-11 10:11:21 +00:00
Printf.h
ProfilingCategory.h
ProfilingFrameIterator.h Bug 1551499 - Support Baseline Interpreter code in the profiler. r=djvj 2019-06-21 16:13:48 +00:00
ProfilingStack.h Bug 1548510 part 2 - Deduplicate GeckoProfilerRuntime::allocProfileString and JitcodeGlobalEntry::createScriptString. r=jonco 2019-05-03 10:15:51 +00:00
Promise.h Bug 1549351 - Promise rejection event should not be sent for cross-origin scripts; r=smaug,till 2019-05-19 01:18:04 +00:00
PropertyDescriptor.h
PropertySpec.h Bug 1549340 - Part 2: Use union instead of reinterpret_cast to initialize const char* with symbol for JSPropertySpec.name. r=jandem 2019-05-13 10:26:48 +00:00
ProtoKey.h Bug 1539780: Remove "--with-intl-api=build" build config option. r=jwalden 2019-08-09 19:43:19 +00:00
Proxy.h Bug 1570484 - Nuke Xray waivers for remote outer window proxies. r=bzbarsky,tcampbell,jonco 2019-08-05 16:32:31 +00:00
Realm.h
RealmOptions.h Bug 1570886 - Remove enableBigInt run-time flag r=jandem 2019-08-07 14:41:36 +00:00
RefCounted.h
RegExp.h Bug 1567623 - Add Event Telemetry for cases where eval is triggered as System Principal r=chutten,bzbarsky,tcampbell 2019-08-01 20:45:31 +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 1561887 part 1. Add an overload of JS::ObjectIsMarkedGray that works on TenuredHeap. r=sfink 2019-07-08 22:52:51 +00:00
SavedFrameAPI.h Bug 1392408 Part 1 - Add interface to help convert SavedFrames to JSON, r=jimb. 2019-05-02 08:25:26 -10:00
SharedArrayBuffer.h
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 1557781 - Better life-time management for BodyStream/FetchStream - part 3 - JS::ReadableStreamReleaseCCObject, r=jorendorff 2019-07-01 20:01:17 +00:00
StructuredClone.h
SweepingAPI.h
Symbol.h Bug 1549340 - Part 2: Use union instead of reinterpret_cast to initialize const char* with symbol for JSPropertySpec.name. r=jandem 2019-05-13 10:26:48 +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 1407593 - Report embedding leaks of JS GC things r=sfink,sfink? 2019-08-13 08:31:49 +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
TypeDecls.h Bug 1572782 - Remove unused js::FreeOp alias and remaining references r=tcampbell? 2019-08-12 12:35: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 1572782 - Remove unused js::FreeOp alias and remaining references r=tcampbell? 2019-08-12 12:35:11 +00:00
Value.h Bug 1568564: Nightly: Strengthen assertion in set/toPrivate r=luke 2019-07-24 23:19:57 +00:00
Vector.h
Warnings.h
WeakMapPtr.h
Wrapper.h Bug 1552597, part 2 - Handlify RemapAllWrappersForObject. r=jonco 2019-05-20 08:40:01 +00:00