RESOLVED FIXED 227782
Heap::waitForCollector() needs to set m_mutatorDidRun.
https://bugs.webkit.org/show_bug.cgi?id=227782
Summary Heap::waitForCollector() needs to set m_mutatorDidRun.
Mark Lam
Reported 2021-07-07 17:36:39 PDT
Heap::waitForCollector() is one of 2 clients of Heap::stopIfNecessarySlow(unsigned oldState). The other client, Heap::stopIfNecessarySlow() sets m_mutatorDidRun to true after calling Heap::stopIfNecessarySlow(unsigned oldState). Heap::waitForCollector() needs to do the same. Constraint solvers rely on this. rdar://78326474
Attachments
proposed patch. (1.85 KB, patch)
2021-07-07 17:41 PDT, Mark Lam
saam: review+
Mark Lam
Comment 1 2021-07-07 17:41:45 PDT
Created attachment 433099 [details] proposed patch.
Mark Lam
Comment 2 2021-07-07 17:55:16 PDT
Thanks for the review. Landed in r279689: <http://trac.webkit.org/r279689>.
Note You need to log in before you can comment on or make changes to this bug.