RESOLVED FIXED 233019
Add VM::writeBarrier() and VM::mutatorFence().
https://bugs.webkit.org/show_bug.cgi?id=233019
Summary Add VM::writeBarrier() and VM::mutatorFence().
Mark Lam
Reported 2021-11-11 15:26:09 PST
These are ALWAYS_INLINE functions that will forward the call to the Heap versions. Adding these allows us to make all the client code more terse, and also makes it easier to redirect the underlying writeBarrier implementation later for global GC work. Additionally, this will help make the global GC patch less of a mega patch and easier to review later. Also remove unused Heap::writeBarrierWithoutFence().
Attachments
proposed patch. (53.53 KB, patch)
2021-11-11 15:33 PST, Mark Lam
saam: review+
Radar WebKit Bug Importer
Comment 1 2021-11-11 15:27:17 PST
Mark Lam
Comment 2 2021-11-11 15:33:32 PST
Created attachment 444011 [details] proposed patch.
Mark Lam
Comment 3 2021-11-11 15:59:14 PST
Thanks for the review. Landed in r285687: <http://trac.webkit.org/r285687>.
Note You need to log in before you can comment on or make changes to this bug.