Bug 241559

Summary: The extraMemorySize() get wrong when transferring ArrayBuffer from Worker VM
Product: WebKit Reporter: Basuke Suzuki <Basuke.Suzuki>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: REOPENED ---    
Severity: Normal CC: saam, webkit-bug-importer, youennf, ysuzuki
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=241826

Description Basuke Suzuki 2022-06-13 11:19:35 PDT
When ArrayBuffer is passed in the transfer option of postMessage(), the size cached in heap.m_arrayBuffers get incorrect and that makes extraMemorySize() bigger than actual managed size.
Comment 1 EWS 2022-06-16 19:21:14 PDT
Committed r295624 (251629@main): <https://commits.webkit.org/251629@main>

Reviewed commits have been landed. Closing PR #1453 and removing active labels.
Comment 2 Radar WebKit Bug Importer 2022-06-16 19:22:14 PDT
<rdar://problem/95350212>
Comment 3 Alexey Proskuryakov 2022-06-21 19:01:26 PDT
This was reverted in bug 241826.