WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
310706
Reserve HashSet / HashMap capacity in their respective IPC decoders
https://bugs.webkit.org/show_bug.cgi?id=310706
Summary
Reserve HashSet / HashMap capacity in their respective IPC decoders
Chris Dumez
Reported
2026-03-25 05:21:39 PDT
Reverse HashSet / HashMap capacity in their respective IPC decoders, for better efficiency. It avoids rehashing every time we keep growing their buffer. As is done for Vector, we have a size limit to avoid huge memory allocations, given that we don't necessarily trust the sender of the IPC.
Attachments
Add attachment
proposed patch, testcase, etc.
Chris Dumez
Comment 1
2026-03-25 05:23:08 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/61324
EWS
Comment 2
2026-03-25 21:12:19 PDT
Committed
309961@main
(e31f4b9eeb27): <
https://commits.webkit.org/309961@main
> Reviewed commits have been landed. Closing PR #61324 and removing active labels.
Radar WebKit Bug Importer
Comment 3
2026-03-25 21:13:13 PDT
<
rdar://problem/173378179
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug