gecko-dev/js/public
Jon Coppeard 2359bca10c Bug 1865383 - Check slice budget when we start marking or sweeping r=sfink
The patch forces a budget check when we start marking or sweeping unless we
have just started a GC slice in the current state.

This turned out more complicated than expected because the change caused a test
that called gcslice(1) in a loop to not make any progress. This was because the
original stepAndForceCheck() method ate the single unit of work budget. The fix
was to remove the step part of this method. I don't think any of the callers
need it to step the budget as well.

Differential Revision: https://phabricator.services.mozilla.com/D193925
2023-11-20 16:28:11 +00:00
..
experimental Bug 1862530 - Switch to using mozilla::Span in typed array getLengthAndData functions and merge getLengthAndData,getData -> getData. r=spidermonkey-reviewers,jandem 2023-11-09 23:02:16 +00:00
friend Bug 1862922 - Run telemetry on day of week support r=arai 2023-11-15 10:26:23 +00:00
shadow Bug 1804253 part 4 - Optimize checks for native objects and proxies. r=jonco 2022-12-13 10:58:30 +00:00
AllocPolicy.h Bug 1847831 - Add ReportLargeOutOfMemory r=jandem 2023-08-09 15:30:13 +00:00
AllocationLogging.h
AllocationRecording.h
Array.h
ArrayBuffer.h Bug 1841314 - Part 7: Add char and uint8_t overloads for NewArrayBufferWithContents. r=sfink 2023-07-06 20:51:00 +00:00
ArrayBufferMaybeShared.h Bug 1703508 part 1 - Remove pref for large ArrayBuffers. r=rhunt 2022-12-21 09:25:23 +00:00
BigInt.h Bug 1839564 - Part 2: Use const pointers in public JS-API BigInt functions. r=spidermonkey-reviewers,jandem 2023-06-22 13:57:33 +00:00
BuildId.h
CallAndConstruct.h
CallArgs.h Bug 1859832 - Avoid isMagic release assertion in CallArgsFromVp. r=iain 2023-10-19 05:52:51 +00:00
CallNonGenericMethod.h
CharacterEncoding.h Bug 1831845 - Part 1: Use JS::ConstUTF8CharsZ in JS::TransitiveCompileOptions::{filename_,introducerFilename_}. r=nbp 2023-06-06 07:16:08 +00:00
Class.h Bug 1834537 - Part 2: Replace nursery allocation methods with use ofuse allocateCell r=sfink 2023-05-26 09:28:19 +00:00
ColumnNumber.h Bug 1862692 - Part 21: Remove 0-origin column number types. r=iain 2023-11-09 11:41:12 +00:00
ComparisonOperators.h
CompilationAndEvaluation.h Bug 1492090 - Part 5: Use UTF-8 for script file names. r=nbp 2023-05-23 12:11:39 +00:00
CompileOptions.h Bug 1862692 - Part 17: Use 1-origin column number type in JS::ReadOnlyCompileOptions. r=iain 2023-11-09 11:41:11 +00:00
Context.h Bug 1759123 - Part 5: Remove JSContext::kind_. r=nbp 2023-07-19 00:09:05 +00:00
ContextOptions.h Bug 1840996 - Add PrefableCompileOptions and use it in ContextOptions and CompileOptions. r=bthrall 2023-07-12 21:12:37 +00:00
Conversions.h Bug 1660405 - Move away from mozilla::IsFinite in favor of std::isfinite. r=sergesanspaille 2023-03-22 11:35:33 +00:00
Date.h Bug 1857488: apply code formatting via Lando 2023-10-26 17:51:53 +00:00
Debug.h Bug 1780857 - Change if to ifdef for DEBUG. (r=jimb) DONTBUILD 2022-07-25 09:35:43 +00:00
Equality.h
ErrorInterceptor.h
ErrorReport.h Bug 1847469 - Part 20: Use column number types in JSErrorBase. r=iain 2023-08-16 17:31: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
GCAPI.h Bug 1856577 - Consider to trigger minor GC before a page load, r=jonco 2023-10-05 18:11:36 +00:00
GCAnnotations.h Bug 1814295 - Handle references in the analysis, in particular AutoCheckCannotGC&&. r=jonco 2023-03-15 17:43:35 +00:00
GCHashTable.h Bug 1832044 - Part 1: Rename MovableCellHasher to StableCellHasher r=sfink 2023-05-10 08:27:01 +00:00
GCPolicyAPI.h Bug 1785287 - Stop IsInsideNursery from accepting null argument r=sfink 2022-08-18 20:14:55 +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 1828784 - Work around VS 2019+ SDK issue. r=glandium 2023-04-19 22:51:46 +00:00
GlobalObject.h
HashTable.h
HeapAPI.h Bug 1863920 - Align mark bits to cache line size r=sfink 2023-11-10 10:14:01 +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 1812540 - Part 1: Add JS::ToGetterId and JS::ToSetterId. r=sfink 2023-02-07 07:36:17 +00:00
Initialization.h Bug 1828584 - Add JS_FrontendOnlyInit and JS_FrontendOnlyShutDown. r=bthrall 2023-05-11 10:18:37 +00:00
Interrupt.h
Iterator.h Bug 1772772 - Implement ReadableStream.from. r=saschanaz,spidermonkey-reviewers,webidl,mgaudet 2023-07-04 16:48:23 +00:00
JSON.h Bug 1804073 - Part 3: Add JS::IsValidJSON. r=bthrall 2023-04-20 01:04:49 +00:00
JitCodeAPI.h Bug 1862692 - Part 4: Use 1-origin column number types in JitCodeAPI. r=iain 2023-11-09 11:41:05 +00:00
LocaleSensitive.h
MapAndSet.h
MemoryCallbacks.h
MemoryFunctions.h Bug 1757956 - Part 1: Removed unused JS_freeop API r=jandem 2022-03-10 08:40:03 +00:00
MemoryMetrics.h Bug 1863939 part 6 - Tidy up IC stub code. r=iain 2023-11-14 11:47:52 +00:00
Modules.h Bug 1861309 - Part 1: Use 1-origin column number in JS::GetRequestedModuleSourcePos and ModuleLoaderBase::HandleResolveFailure. r=jonco 2023-11-08 02:01:37 +00:00
Object.h Bug 1834225 - Fix embedder usage of JS::Result<T*>. r=nbp 2023-06-13 12:53:09 +00:00
Principals.h Bug 1740263 - Block WASM code generation by CSP. r=lth,jandem 2022-05-19 14:13:49 +00:00
Printer.h Bug 1839396: apply code formatting via Lando 2023-10-04 15:22:47 +00:00
Printf.h
ProfilingCategory.h
ProfilingFrameIterator.h Bug 1846534 - Track unwind info for tail calls. r=jseward,mstange,profiler-reviewers 2023-09-26 21:08:00 +00:00
ProfilingStack.h
Promise.h Bug 1734243 - Part 1: Add JS::SetAnyPromiseIsHandled r=arai 2022-02-25 02:32:04 +00:00
PropertyAndElement.h Bug 1854643 - Fix JS_DeletePropertyById argument type in header file. r=sfink 2023-09-25 12:12:52 +00:00
PropertyDescriptor.h Bug 1849238 - Improve and rename JS::ObjectToCompletePropertyDescriptor. r=jandem 2023-08-29 13:26:01 +00:00
PropertySpec.h
ProtoKey.h Bug 1519167 - Part 2: Add source files for Temporal types. r=spidermonkey-reviewers,dminor 2023-06-21 20:27:38 +00:00
Proxy.h Bug 1849678 - Part 7: Rewrite old JSID comment. r=bthrall 2023-09-29 07:45:06 +00:00
Realm.h Bug 1577383 - Implement async iterable declaration in WebIDL. r=peterv 2022-07-29 14:06:31 +00:00
RealmIterators.h
RealmOptions.h Bug 1828144 - Part 1: add pref symbols-as-weakmap-keys. r=jonco,sfink 2023-11-02 12:32:15 +00:00
RefCounted.h Bug 1774827 - wasm: Add RecGroup and implement canonicalization of all types. r=yury 2022-11-04 13:26:40 +00:00
RegExp.h
RegExpFlags.h Bug 1838863 - Fix deprecated-copy warnings in js/public. r=iain 2023-10-04 05:52:24 +00:00
Result.h Bug 1834224 - Move JS_TRY macros to internal header. r=jandem 2023-06-13 07:05:56 +00:00
RootingAPI.h Bug 1858921 - Part 5: Remove use of JS::RootingContext in the allocator r=sfink 2023-10-23 15:10:25 +00:00
SavedFrameAPI.h Bug 1847469 - Part 9: Use column number types in SavedFrame API. r=iain 2023-08-16 17:31:38 +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
ShadowRealmCallbacks.h Bug 1767525 - Implement (under a flag) ShadowRealm constructor and evaluate function. r=jandem 2022-06-28 22:04:16 +00:00
SharedArrayBuffer.h
SliceBudget.h Bug 1865383 - Check slice budget when we start marking or sweeping r=sfink 2023-11-20 16:28:11 +00:00
SourceText.h Bug 1816776 - Support initializing SourceText with FrontendContext. r=bthrall 2023-05-11 10:18:37 +00:00
StableStringChars.h Backed out 6 changesets (bug 1853907) for causing spider-monkey failures 2023-11-02 23:45:48 +02:00
Stack.h Bug 1834483 - Part 1: Add NativeStackLimit field to FrontendContext. r=bthrall 2023-05-31 01:26:44 +00:00
StreamConsumer.h Bug 1545131 - compress wasm alt data entries (r=jandem) 2021-10-21 22:08:14 +00:00
String.h Bug 1633829 - Remove last reference to JSID_IS_STRING. r=evilpie 2023-07-24 10:53:21 +00:00
StructuredClone.h Bug 1842713 - Pass CloneDataPolicy to readTransfer r=smaug,sfink 2023-07-17 23:25:15 +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
TraceKind.h Bug 1830298 - Refactor nursery allocation counts to remove separate counters r=jandem 2023-05-02 08:00:10 +00:00
TracingAPI.h Bug 1692065 - wasm: Create a unique wasm::AnyRef type. r=yury,jonco 2023-08-04 14:06:49 +00:00
Transcoding.h Bug 1837574 - Remove JS::DecodeMultiStencilsOffThread and JS::FinishDecodeMultiStencilsOffThread. r=bthrall 2023-07-04 13:47:30 +00:00
TypeDecls.h Bug 1795914 - Remove JS Streams implementation r=jandem 2022-10-24 16:05:58 +00:00
UbiNode.h Bug 1847469 - Part 8: Use column number types in ubi. r=iain 2023-08-16 17:31:37 +00:00
UbiNodeBreadthFirst.h
UbiNodeCensus.h Bug 1786471 - Part 1: Remove unnecessary includes in js/src/vm. r=jonco 2022-08-23 13:48:30 +00:00
UbiNodeDominatorTree.h
UbiNodePostOrder.h
UbiNodeShortestPaths.h Bug 1822710 - Check shortestPaths max paths value r=spidermonkey-reviewers,iain 2023-06-08 22:24:41 +00:00
UbiNodeUtils.h
UniquePtr.h
Utility.h Bug 1846194 - Remove off-thread compilation and decode API. r=nbp 2023-09-01 03:43:21 +00:00
Value.h Bug 1859832 - Avoid isMagic release assertion in CallArgsFromVp. r=iain 2023-10-19 05:52:51 +00:00
ValueArray.h
Vector.h
WaitCallbacks.h
Warnings.h
WasmFeatures.h Bug 1846789 - Enable Wasm tail calls by default in release. r=rhunt 2023-11-14 21:05:11 +00:00
WasmModule.h
WeakMap.h Bug 1860655 - Use Value in Get|SetWeakMapEntry. r=jonco 2023-11-14 11:57:54 +00:00
WeakMapPtr.h Bug 1835241 - Part 6: Use the same parameter names at definition and declaration site in the GC r=spidermonkey-reviewers,iain 2023-06-26 11:02:41 +00:00
Wrapper.h Bug 1760844 part 1 - Remove hasInstance proxy trap. r=iain,peterv,robwu 2022-04-04 15:09:29 +00:00
WrapperCallbacks.h
Zone.h Bug 1769451 - Part 1: Fix missing include in js/public. r=sfink 2022-06-10 19:19:51 +00:00