Bug 1865597 - Add error checking when initializing parallel marking and disable on...
commit3063b0f66fe1bf2be42c68296e322768f14b15d5
authorJon Coppeard <jcoppeard@mozilla.com>
Tue, 21 Nov 2023 08:39:18 +0000 (21 08:39 +0000)
committerJon Coppeard <jcoppeard@mozilla.com>
Tue, 21 Nov 2023 08:39:18 +0000 (21 08:39 +0000)
tree70f0726529070eb9c22dea73035d13d0bf6c22b8
parent497899ec5de2045cc1249b9b52539812e07c2ddf
Bug 1865597 - Add error checking when initializing parallel marking and disable on error r=sfink

In practice this is never going to fail because we will always have enough
helper threads. It may be important later if other parallel marking
initialization is added.

Differential Revision: https://phabricator.services.mozilla.com/D194095
js/src/gc/GC.cpp
js/src/gc/GCRuntime.h
js/src/jit-test/tests/gc/bug-1865597.js [new file with mode: 0644]