Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(399)

Issue 2742553002: Avoid a separate heap allocation for DOMWrapperMap. (Closed)

Created:
3 years, 9 months ago by jbroman
Modified:
3 years, 9 months ago
Reviewers:
haraken, Yuki
CC:
blink-reviews, blink-reviews-bindings_chromium.org, chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Avoid a separate heap allocation for DOMWrapperMap. DOMDataStore holds a pointer to a separately allocated DOMWrapperMap (which itself contains a HashMap with a reference to the actual hashtable). This reduces the number of heap allocations (and pointers to follow to manage non-main-world wrappers) by one. Review-Url: https://codereview.chromium.org/2742553002 Cr-Commit-Position: refs/heads/master@{#455742} Committed: https://chromium.googlesource.com/chromium/src/+/e42b6912ec7a355b4575435a21e618e7aa277e42

Patch Set 1 #

Patch Set 2 : Merge branch 'master' into dom-data-store-no-separate-alloc #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -7 lines) Patch
M third_party/WebKit/Source/bindings/core/v8/DOMDataStore.h View 1 3 chunks +7 lines, -7 lines 0 comments Download

Messages

Total messages: 18 (13 generated)
jbroman
I don't have evidence that our pointer chain is super expensive, but this particular one ...
3 years, 9 months ago (2017-03-08 23:20:58 UTC) #6
Yuki
LGTM.
3 years, 9 months ago (2017-03-09 07:38:34 UTC) #12
haraken
LGTM
3 years, 9 months ago (2017-03-09 08:10:27 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2742553002/20001
3 years, 9 months ago (2017-03-09 13:48:42 UTC) #15
commit-bot: I haz the power
3 years, 9 months ago (2017-03-09 14:20:35 UTC) #18
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/e42b6912ec7a355b4575435a21e6...

Powered by Google App Engine
This is Rietveld 408576698