Bug 241559 - The extraMemorySize() get wrong when transferring ArrayBuffer from Worker VM
Summary: The extraMemorySize() get wrong when transferring ArrayBuffer from Worker VM
Status: REOPENED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-06-13 11:19 PDT by Basuke Suzuki
Modified: 2022-06-21 19:01 PDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.