gecko-dev/js/public
Yoshi Cheng-Hao Huang a29edd5706 Bug 1570590 : trace weak references in tracing. r=jonco
Introduces SweepingTracer and TraceWeakEdge to trace weak references in
AtomsTable::sweep and AtomsTable::sweepIncrementally while sweeping.
Also rename those two functions to traceWeak and traceWeakIncrementally.

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

--HG--
extra : moz-landing-system : lando
2019-08-08 12:27:50 +00:00
..
experimental 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
AllocPolicy.h No bug. Reformat js/** to fix accumulated divergences. 2019-05-24 11:57:18 -07:00
ArrayBuffer.h Bug 1532005 - Implement a new js/public/ArrayBuffer.h header to centralize functionality for creating and interacting with ArrayBuffers. r=sfink 2019-03-04 15:19:16 -08:00
BuildId.h
CallArgs.h
CallNonGenericMethod.h
CharacterEncoding.h Bug 1052579 - Add explicit arena to several char-copying JS functions r=sfink 2019-04-11 17:53:07 +00:00
Class.h Bug 1433303 - Part 1: Implement Intl.Locale proposal. r=jwalden 2019-07-29 09:35:53 +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 Bug 1521732 - Part 5: RootedObjectVector. r=sfink,jonco 2019-03-26 14:00:51 +00:00
Equality.h Bug 1560658: Add SameValueZero to mfbt/FloatingPoint.h r=jwalden 2019-06-28 23:57:13 +00:00
ErrorReport.h Bug 1542120 - Add js/public/Warnings.h for warning-related JSAPI. r=arai 2019-04-05 22:52:04 +00:00
ForOfIterator.h Bug 1537536 - Move JS::ForOfIterator to its own header. r=arai,bzbarsky 2019-03-26 17:10:44 +00:00
GCAnnotations.h
GCAPI.h Bug 1388701 - Remove the special nursery size of 0 r=jonco 2019-08-05 06:37:55 +00:00
GCHashTable.h Bug 1561866 - Move alloc policies where possible r=jwalden 2019-06-27 11:56:26 +01:00
GCPolicyAPI.h Bug 1547782 - Implement GCPolicy<T>::isValid for Gecko specializations r=jonco 2019-04-30 21:48:32 +00:00
GCVariant.h Bug 1429613 - Using upgraded Variant::match where appropriate - r=froydnj 2019-04-02 11:53:55 +00:00
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 Bug 1306008 - Give JS::Heap<T> pointer wrappers a pre-barrier r=sfink 2019-03-27 16:26:09 +00:00
Initialization.h
JSON.h
LocaleSensitive.h
MemoryFunctions.h Bug 1395509 - Track malloc memory used by PerfMesaurement objects r=sfink 2019-06-12 16:22:13 +01: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 Bug 1547104 - Add initial JS profiler subcategories r=mstange 2019-04-26 13:47:40 +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 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 1456569 - Implement BigInt64 and BigUint64Array. r=wingo,jwalden,sfink 2019-04-02 17:11:13 +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 Bug 1529757 - Add JS::GetFunctionRealm and use it in GetPrototypeFromConstructor. r=jorendorff,bzbarsky 2019-04-26 07:46:04 +00:00
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 Bug 1539690 - Make a JS::RegExpFlag public API for flag bits, and make a JS::RegExpFlags flag-set abstraction. r=sfink 2019-04-02 03:16:43 +00:00
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 Bug 1532005 - Implement a new js/public/ArrayBuffer.h header to centralize functionality for creating and interacting with ArrayBuffers. r=sfink 2019-03-04 15:19:16 -08: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
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 Bug 1539261, part 2 - Mark various JSStructuredCloneData methods MOZ_MUST_USE. r=sfink 2019-03-27 20:41:17 +00:00
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 Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan 2019-04-22 16:35:03 +00:00
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 1570590 : trace weak references in tracing. r=jonco 2019-08-08 12:27:50 +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 1542184 - Use PersistentRooted for rooting vectors of GC things from rust code r=fitzgen? 2019-05-10 17:36:34 +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 Bug 1319468 - P3: Use Rooted for RootedCount. r=jonco 2019-02-28 10:26:55 +01:00
UbiNodeDominatorTree.h
UbiNodePostOrder.h
UbiNodeShortestPaths.h
UbiNodeUtils.h
UniquePtr.h
Utility.h Bug 1557112 - Remove THREAD_TYPE_GCHELPER from the js::ThreadType enum. r=KrisWright 2019-06-14 20:42:12 +00:00
Value.h Bug 1568564: Nightly: Strengthen assertion in set/toPrivate r=luke 2019-07-24 23:19:57 +00:00
Vector.h Bug 1521732 - Part 3: Use RootedValueVector instead. r=sfink,jonco 2019-03-26 13:58:20 +00:00
Warnings.h Bug 1542120 - Add js/public/Warnings.h for warning-related JSAPI. r=arai 2019-04-05 22:52:04 +00:00
WeakMapPtr.h
Wrapper.h Bug 1552597, part 2 - Handlify RemapAllWrappersForObject. r=jonco 2019-05-20 08:40:01 +00:00