gecko-dev/js/public
Nicolas B. Pierron 7d50cd5850 Bug 1774796 - Add largest-first delazification strategy. r=arai
This patch adds a new off-thread delazification strategy, which adds a bit of
overhead to queue function with a priority order, which put the largest function
as the first functions to be delazified.

The intent of this new strategy is to limit the usage of main-thread
delazification to the smallest function, in case where the main-thread would win
the delazification race.

Differential Revision: https://phabricator.services.mozilla.com/D149651
2022-06-20 13:33:49 +00:00
..
experimental Bug 1745351 - Remove JS::StencilCanLazilyParse. r=nbp 2021-12-10 11:27:23 +00:00
friend Bug 1774691 - Remove unused JSMSGs. r=mgaudet 2022-06-17 20:03:07 +00:00
shadow Bug 1740745 - Part 1: Make needs barrier state atomic r=sfink 2021-11-19 15:42:02 +00:00
AllocationLogging.h
AllocationRecording.h Bug 1716250 - Remove JS_FRIEND_API. r=jandem,sfink 2021-06-16 19:38:10 +00:00
AllocPolicy.h Bug 1716147 - Mark TempAllocPolicy as JS_PUBLIC_API. r=sfink 2021-07-08 23:48:21 +00:00
Array.h
ArrayBuffer.h Bug 1741941 - Add JSAPI helper to verify transfer safety r=sfink 2022-01-04 22:33:20 +00:00
ArrayBufferMaybeShared.h Bug 1716250 - Remove JS_FRIEND_API. r=jandem,sfink 2021-06-16 19:38:10 +00:00
BigInt.h Bug 1706866 - Fix up various details of existing BigInt public API. r=jandem 2021-06-15 08:16:17 +00:00
BuildId.h
CallAndConstruct.h Bug 1708450 - Move call and construct functions into js/public/CallAndConstruct.h. r=nbp 2021-07-13 11:52:43 +00:00
CallArgs.h
CallNonGenericMethod.h
CharacterEncoding.h
Class.h Bug 1270746 part 5 - Remove hasInstance class hook. r=iain 2022-03-20 11:28:04 +00:00
ComparisonOperators.h
CompilationAndEvaluation.h Bug 1763586 - Remove Element from LoadScript and child classes; r=jonco 2022-04-21 09:53:34 +00:00
CompileOptions.h Bug 1774796 - Add largest-first delazification strategy. r=arai 2022-06-20 13:33:49 +00:00
Context.h Bug 1746231: Convert the script callback to take a JSContext instead of a system bool r=freddyb,iain 2021-12-21 20:40:33 +00:00
ContextOptions.h Bug 1757035 - Remove Class static block preference code r=arai 2022-02-25 02:29:12 +00:00
Conversions.h Bug 1730843 - Part 8 - Add support for spread in records r=jandem 2021-12-20 15:17:20 +00:00
Date.h
Debug.h Bug 1736737 - Move SafelyInitialized into a struct to allow partial specialization. r=jonco 2021-10-25 21:18:56 +00:00
Equality.h
ErrorInterceptor.h Bug 1726737 - Part 4: Add public header for JSErrorInterceptor. r=arai 2021-08-20 18:10:34 +00:00
ErrorReport.h Bug 1735200 - Add cause argument to JS::CreateError(). r=jandem 2022-01-17 15:23:40 +00:00
Exception.h Bug 1735200 - Add JSAPI for getting Error.cause. r=jandem 2022-01-17 15:23:40 +00:00
ForOfIterator.h
GCAnnotations.h Bug 1727374 - Implement a JS_HAZ_VALUE_IS_GC_SAFE annotation, saying that *at the time of the annotation*, the given variable does not contain any GC-invalidatable pointers r=jonco 2021-09-01 17:19:08 +00:00
GCAPI.h Bug 1519636 - Reformat recent changes to the Google coding style r=andi,media-playback-reviewers,necko-reviewers,padenot,dragana 2022-06-07 12:32:55 +00:00
GCHashTable.h Bug 1736604 - Part 3: Rename MapSweepPolicy to MapEntryGCPolicy r=sfink 2021-11-09 09:17:35 +00:00
GCPolicyAPI.h Bug 1556604 - [Structured Clone] Replace ChildCounter mechanism with a conditionally-pushed state stack. r=evilpie 2022-06-16 22:01:13 +00:00
GCTypeMacros.h Bug 1754405 part 11 - Make PropertyKey bits field private. r=evilpie 2022-02-13 12:01:48 +00:00
GCVariant.h
GCVector.h Bug 1749298 - Part 3: Only trace finalization records if the registry's global is alive r=sfink 2022-02-11 11:28:29 +00:00
GlobalObject.h Bug 1726737 - Part 14: Add public header for global object functions. r=arai 2021-08-20 18:10:37 +00:00
HashTable.h
HeapAPI.h Bug 1759174 - Part 3: Optimise expose and read barrier APIs by removing check for shared GC things r=sfink 2022-03-14 11:13:52 +00:00
HelperThreadAPI.h Bug 1769451 - Part 1: Fix missing include in js/public. r=sfink 2022-06-10 19:19:51 +00:00
Id.h Bug 1754405 part 14 - Rename PropertyKey::fromNonIntAtom to PropertyKey::NonIntAtom. r=evilpie 2022-02-13 12:01:49 +00:00
Initialization.h Bug 1759909 - Enable AVX support for Wasm SIMD by default in Nightly. r=lth 2022-03-18 15:07:31 +00:00
Interrupt.h Bug 1726737 - Part 10: Add public header for interrupt functions. r=arai 2021-08-20 18:10:36 +00:00
JSON.h
LocaleSensitive.h
MapAndSet.h
MemoryCallbacks.h Bug 1726737 - Part 6: Add public header for out-of-memory callbacks. r=arai 2021-08-20 18:10:34 +00:00
MemoryFunctions.h Bug 1757956 - Part 1: Removed unused JS_freeop API r=jandem 2022-03-10 08:40:03 +00:00
MemoryMetrics.h Bug 1615988 - Fix memory reporting of wasm memory. r=sfink 2021-09-07 21:03:48 +00:00
Modules.h Bug 1766761 - Part 3: Add public API for getting module from namespace, and getting module environment. r=jonco 2022-05-13 22:02:39 +00:00
Object.h Bug 1719457 - Remove support for JSObject private slots. r=jonco 2021-07-30 12:43:17 +00:00
OffThreadScriptCompilation.h Bug 1734098 - Part 15: Use consistent name for decode multi stencils API. r=tcampbell 2021-12-10 04:28:31 +00:00
Principals.h Bug 1740263 - Block WASM code generation by CSP. r=lth,jandem 2022-05-19 14:13:49 +00:00
Printf.h
ProfilingCategory.h Bug 1716250 - Remove JS_FRIEND_API. r=jandem,sfink 2021-06-16 19:38:10 +00:00
ProfilingFrameIterator.h Bug 1716250 - Remove JS_FRIEND_API. r=jandem,sfink 2021-06-16 19:38:10 +00:00
ProfilingStack.h Bug 1724187 - Change the category of the ChromeUtils.addProfilerMarker label frame to PROFILER so that this code is ignored in stacks captured for profiler markers, r=gerald. 2021-08-06 20:24:42 +00:00
Promise.h Bug 1734243 - Part 1: Add JS::SetAnyPromiseIsHandled r=arai 2022-02-25 02:32:04 +00:00
PropertyAndElement.h Bug 1708448 - Move property and element functions into js/public/PropertyAndElement.h. r=nbp 2021-07-13 11:52:42 +00:00
PropertyDescriptor.h Bug 1708432 - Move JS_Get*PropertyDescriptor* to js/public/PropertyDescriptor.h. r=nbp 2021-07-13 11:52:41 +00:00
PropertySpec.h
ProtoKey.h Bug 1755391 - Remove JS Streams implementation of Writable Stream and PipeTo r=jandem 2022-03-01 14:17:07 +00:00
Proxy.h Bug 1765338 - Allow transplanting of nursery objects r=jandem 2022-04-22 09:09:25 +00:00
Realm.h Bug 1771084 part 2 - Add Realm option to freeze builtins. r=tcampbell,nika 2022-06-07 15:40:44 +00:00
RealmIterators.h
RealmOptions.h Bug 1704385: Add pref for Array.findLast r=mgaudet 2022-06-16 22:01:06 +00:00
RefCounted.h
RegExp.h Bug 1730992: Add comment to ExecuteRegExp and ExecuteRegExpNoStatics r=sfink DONTBUILD 2021-09-17 19:05:31 +00:00
RegExpFlags.h
Result.h
RootingAPI.h Bug 1556604 - [Structured Clone] Replace ChildCounter mechanism with a conditionally-pushed state stack. r=evilpie 2022-06-16 22:01:13 +00:00
SavedFrameAPI.h Bug 1716250 - Remove JS_FRIEND_API. r=jandem,sfink 2021-06-16 19:38:10 +00:00
ScalarType.h Bug 1763606 - Part 1: Replace TypedArray QuickSort JS-function with C++. r=tcampbell 2022-06-08 14:40:52 +00:00
ScriptPrivate.h Bug 1726737 - Part 3: Add public header for ScriptPrivate functions. r=arai 2021-08-20 18:10:33 +00:00
SharedArrayBuffer.h
SliceBudget.h Bug 1752646 - Record whether a GC slice was triggered and budgeted for idle time r=jonco 2022-02-08 23:22:29 +00:00
SourceText.h
StableStringChars.h Bug 1716250 - Remove JS_FRIEND_API. r=jandem,sfink 2021-06-16 19:38:10 +00:00
Stack.h Bug 1726737 - Part 1: Add public header for stack operations. r=arai 2021-08-20 18:10:32 +00:00
Stream.h Bug 1769649 - Remove duplicated definition of ReadableStreamReaderMode in JS Streams implementation r=bthrall 2022-05-17 21:38:03 +00:00
StreamConsumer.h Bug 1545131 - compress wasm alt data entries (r=jandem) 2021-10-21 22:08:14 +00:00
String.h Bug 1758088 part 3 - Add and use js::AtomizeWithoutActiveZone. r=arai 2022-03-04 13:19:32 +00:00
StructuredClone.h Bug 1556604 - [Structured Clone] Implement clone of Error objects r=evilpie 2022-06-16 22:01:14 +00:00
SweepingAPI.h Bug 1736397 - Part 6: Use tracing for the incremental read barrier on WeakCached maps and sets r=sfink 2021-10-19 14:43:32 +00:00
Symbol.h
TelemetryTimers.h Bug 1726737 - Part 12: Add public header for telemetry timers. r=arai 2021-08-20 18:10:37 +00:00
TraceKind.h Bug 1715512 part 2 - Add PropMap GC thing. r=jonco 2021-06-17 16:51:40 +00:00
TraceLoggerAPI.h Bug 1769451 - Part 1: Fix missing include in js/public. r=sfink 2022-06-10 19:19:51 +00:00
TracingAPI.h Bug 1763658 - Part 5: Remove unused tracing option r=jandem 2022-04-11 11:48:14 +00:00
Transcoding.h Bug 1759206 - Part 1: Add module variant of JS::FinishIncrementalEncoding. r=nbp 2022-03-23 12:51:38 +00:00
TypeDecls.h Bug 1769451 - Part 1: Fix missing include in js/public. r=sfink 2022-06-10 19:19:51 +00:00
UbiNode.h Bug 1746090 - Switch RootList::init from taking an AutoCheckCannotGC token to returning one r=jonco 2022-01-22 01:34:45 +00:00
UbiNodeBreadthFirst.h
UbiNodeCensus.h Bug 1726123 - Part 1: Remove unnecessary includes to jsapi.h and jsfriendapi.h. r=arai 2021-08-17 15:45:37 +00:00
UbiNodeDominatorTree.h
UbiNodePostOrder.h
UbiNodeShortestPaths.h
UbiNodeUtils.h
UniquePtr.h
Utility.h Bug 1757956 - Part 3: Rename JSFreeOp to JS::GCContext in the JS engine r=jandem 2022-03-10 08:40:03 +00:00
Value.h Bug 1774672 - Remove no longer neaded JS Streams Magic Values r=iain 2022-06-17 16:07:09 +00:00
ValueArray.h
Vector.h
WaitCallbacks.h Bug 1726737 - Part 8: Add public header for wait callbacks. r=arai 2021-08-20 18:10:35 +00:00
Warnings.h
WasmFeatures.h Bug 1766986 - wasm: Remove last ENABLE_WASM_EXCEPTIONS ifdefs. r=yury 2022-06-17 15:33:10 +00:00
WasmModule.h
WeakMap.h
WeakMapPtr.h
Wrapper.h Bug 1760844 part 1 - Remove hasInstance proxy trap. r=iain,peterv,robwu 2022-04-04 15:09:29 +00:00
WrapperCallbacks.h Bug 1726737 - Part 7: Add public header for wrapper callbacks. r=arai 2021-08-20 18:10:35 +00:00
Zone.h Bug 1769451 - Part 1: Fix missing include in js/public. r=sfink 2022-06-10 19:19:51 +00:00