Bug 258912 - CustomElementQueue and CustomElementReactionQueue should have an inline capacity
Summary: CustomElementQueue and CustomElementReactionQueue should have an inline capacity
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Ryosuke Niwa
URL:
Keywords: InRadar
Depends on:
Blocks: 154907
  Show dependency treegraph
 
Reported: 2023-07-05 23:20 PDT by Ryosuke Niwa
Modified: 2023-07-06 16:48 PDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ryosuke Niwa 2023-07-05 23:20:16 PDT
Both CustomElementQueue and CustomElementReactionQueue always contain at least one item whenever they're created.
Give them inline capacity to avoid malloc.
Comment 1 Ryosuke Niwa 2023-07-06 00:44:51 PDT
https://github.com/WebKit/WebKit/pull/15588
Comment 2 EWS 2023-07-06 16:47:40 PDT
Committed 265829@main (9b42484b8e81): <https://commits.webkit.org/265829@main>

Reviewed commits have been landed. Closing PR #15588 and removing active labels.
Comment 3 Radar WebKit Bug Importer 2023-07-06 16:48:15 PDT
<rdar://problem/111877419>