gecko-dev/js/public
Nick Fitzgerald 42225056cf Bug 1211723 and 1260570 - Share JS source text between JSRuntimes; r=jimb
This commit adds `SharedImmutableStringsCache` which allows for de-duplication
and sharing of immutable strings between threads and JSRuntimes.

Each JSRuntime gets a SharedImmutableStringsCache member, but the accessor
always returns the parent runtime's cache. The caches in child JSRuntime's are
not wasting space, however, as initialization and allocation of the table
happens lazily within SharedImmutableStringsCache.

Furthermore, this commit removes `js::ScriptSource::Parent` and the
`CompressedSourceSet`. They are unnecessary because source text is always shared
via the parent runtime's `SharedImmutableStringsCache` now.
2016-05-06 16:53:45 -07:00
..
CallArgs.h
CallNonGenericMethod.h
CharacterEncoding.h Bug 1243252 - Remove const restriction on CharsToNewUTF8CharsZ (r=jandem) 2016-01-28 09:20:19 -06:00
Class.h Bug 1270370 - Part 2: Expose MapIterator and SetIterator through ESClassValues; r=jorendorff 2016-05-05 19:26:29 -04:00
Conversions.h Bug 1248153 - Do not convert fp to int by cast. r=waldo 2016-03-04 14:18:06 +01:00
Date.h
Debug.h Bug 1267699 - Move some public types to the right namespace; r=sfink 2016-04-26 09:18:48 -07:00
GCAnnotations.h Backed out changeset 901b1c651c98 (bug 1246804) 2016-03-14 21:58:31 -07:00
GCAPI.h Backed out changeset 901b1c651c98 (bug 1246804) 2016-03-14 21:58:31 -07:00
GCHashTable.h Bug 1267699 - Move some public types to the right namespace; r=sfink 2016-04-26 09:18:48 -07:00
GCPolicyAPI.h Bug 1267699 - Move some public types to the right namespace; r=sfink 2016-04-26 09:18:48 -07:00
GCVariant.h Bug 1267699 - Move some public types to the right namespace; r=sfink 2016-04-26 09:18:48 -07:00
GCVector.h Bug 1267699 - Move some public types to the right namespace; r=sfink 2016-04-26 09:18:48 -07:00
HashTable.h Bug 1267550 (part 2) - Rename MOZ_WARN_UNUSED_RESULT as MOZ_MUST_USE. r=froydnj. 2016-04-27 14:16:50 +10:00
HeapAPI.h Backout edb632ad80c4 (Bug 1266887) for regressing performance on windows. 2016-05-03 13:59:50 -07:00
Id.h Bug 1267699 - Move some public types to the right namespace; r=sfink 2016-04-26 09:18:48 -07:00
Initialization.h Bug 1262731 - Add JS_InitWithFailureDiagnostic(). r=sfink. 2016-04-08 09:08:49 +10:00
LegacyIntTypes.h
MemoryMetrics.h Bug 1211723 and 1260570 - Share JS source text between JSRuntimes; r=jimb 2016-05-06 16:53:45 -07:00
Principals.h
ProfilingFrameIterator.h Bug 1229642 - Split wasm::Module out of AsmJSModule (r=bbouvier) 2015-12-28 17:39:21 -06:00
ProfilingStack.h Bug 1259180 - Compact arenas containing scripts r=terrence 2016-04-13 10:03:44 +01:00
Proxy.h Bug 1269928 - Fold DirectProxyHandler into Wrapper, which is now its only (non-test) consumer. r=efaust 2016-05-03 17:29:10 -07:00
RequiredDefines.h
RootingAPI.h Backout edb632ad80c4 (Bug 1266887) for regressing performance on windows. 2016-05-03 13:59:50 -07:00
SliceBudget.h
StructuredClone.h
SweepingAPI.h Bug 1267699 - Move some public types to the right namespace; r=sfink 2016-04-26 09:18:48 -07:00
TraceKind.h Bug 1251480 - Use Rooted<UniquePtr<StateData>> in place of StateData::CustomAutoRooter, r=bz 2016-02-26 18:16:17 -08:00
TracingAPI.h Bug 1254092 - TraceIncomingCCWs should work at the JSCompartment level of granularity. r=jimb 2016-03-14 16:11:00 +01:00
TrackedOptimizationInfo.h Bug 1041586 - Fold away property accesses to not-defined properties. r=jandem 2016-04-14 18:09:56 +02:00
TypeDecls.h
UbiNode.h Bug 1254092 - TraceIncomingCCWs should work at the JSCompartment level of granularity. r=jimb 2016-03-14 16:11:00 +01:00
UbiNodeBreadthFirst.h Bug 1247413 - Give JS::ubi::BreadthFirst handlers a non-const reference; r=jimb 2016-02-11 07:59:00 +01:00
UbiNodeCensus.h Bug 1263270 - Sort census reports by smallest node ID counted, rather than number of nodes counted. r=jimb 2016-04-08 16:21:00 -04:00
UbiNodeDominatorTree.h Bug 961323 - Add a method for finding shortest retaining paths of JS::ubi::Node heap graphs; r=jimb 2016-02-11 10:38:00 +01:00
UbiNodePostOrder.h Bug 1253094, part 4 - Stop using DebugOnly for class/struct members in js/. r=billm 2016-02-26 15:52:07 +00:00
UbiNodeShortestPaths.h Bug 1266573 - Add the JS::ubi::dumpPaths debug utility; r=jimb 2016-04-21 19:23:22 -07:00
UniquePtr.h Bug 1239601 - improve the UniquePtr situation (r=jorendorff) 2016-01-15 18:26:06 -06:00
Utility.h Bug 1267550 (part 2) - Rename MOZ_WARN_UNUSED_RESULT as MOZ_MUST_USE. r=froydnj. 2016-04-27 14:16:50 +10:00
Value.h Bug 1268805 - Implement PrivateGCThingValue. (r=terrence) 2016-04-29 18:10:07 -07:00
Vector.h
WeakMapPtr.h Bug 1224404 - Use stable hashing for WeakMapPtr; r=jonco 2015-11-13 08:41:39 -08:00