heap: Clear TracedGlobal references in dead objects on stand-alone GCs
TracedGlobal references (without callback) are eagerly cleared during unified heap garbage collections before sweeping is started. This change performs similar eager clearing for Blink stand-alone garbage collections. This allows for removing the destructor of v8::TraceGlobal and its wrapping type TraceWrapperV8Reference. Bug: 995684 Change-Id: Ie0394bb23ee4c5e1ecf4d1ad2a591aa77787ab00 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1760922 Commit-Queue: Michael Lippautz <mlippautz@chromium.org> Reviewed-by:Kentaro Hara <haraken@chromium.org> Cr-Commit-Position: refs/heads/master@{#688484}
Showing
Please register or sign in to comment