Bug 104938 - Event dispatch: Avoid heap allocations in ensureEventAncestors() typical case.
Summary: Event dispatch: Avoid heap allocations in ensureEventAncestors() typical case.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: UI Events (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Andreas Kling
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-13 12:22 PST by Andreas Kling
Modified: 2012-12-13 16:21 PST (History)
2 users (show)

See Also:


Attachments
Cowboy patch (5.20 KB, patch)
2012-12-13 15:49 PST, Andreas Kling
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Kling 2012-12-13 12:22:22 PST
There's a lot of heap thrashing below ensureEventAncestors() during event dispatch due to Vectors with zero inline capacity.
Comment 1 Andreas Kling 2012-12-13 15:49:34 PST
Created attachment 179359 [details]
Cowboy patch
Comment 2 WebKit Review Bot 2012-12-13 16:21:26 PST
Comment on attachment 179359 [details]
Cowboy patch

Clearing flags on attachment: 179359

Committed r137680: <http://trac.webkit.org/changeset/137680>
Comment 3 WebKit Review Bot 2012-12-13 16:21:29 PST
All reviewed patches have been landed.  Closing bug.