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

Issue 314603003: Don't add extra 8 byte to DOM wrappers in non-oilpan builds (Closed)

Created:
6 years, 6 months ago by haraken
Modified:
6 years, 6 months ago
CC:
blink-reviews, blink-reviews-bindings_chromium.org, arv+blink, abarth-chromium
Visibility:
Public.

Description

Don't add extra 8 byte to DOM wrappers in non-oilpan builds Imagine a DOM object that is RefCountedWillBeGarbageCollected. In oilpan builds, we need extra 8 byte on its DOM wrapper to store a persistent handle to the DOM object. On the other hand, in non-oilpan builds, we don't need the 8 byte. This CL removes the 8 byte from the DOM wrapper. Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=175361

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Total comments: 1

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -11 lines) Patch
M Source/bindings/templates/interface.h View 1 3 1 chunk +11 lines, -3 lines 0 comments Download
M Source/bindings/tests/results/V8TestInterfaceDocument.h View 3 1 chunk +5 lines, -1 line 0 comments Download
M Source/bindings/tests/results/V8TestInterfaceEventConstructor.h View 3 1 chunk +5 lines, -1 line 0 comments Download
M Source/bindings/tests/results/V8TestInterfaceGarbageCollected.h View 1 3 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/V8TestInterfaceNode.h View 3 1 chunk +5 lines, -1 line 0 comments Download
M Source/bindings/tests/results/V8TestInterfaceWillBeGarbageCollected.h View 3 1 chunk +5 lines, -1 line 0 comments Download
M Source/bindings/tests/results/V8TestNode.h View 3 1 chunk +5 lines, -1 line 0 comments Download
M Source/bindings/v8/V8DOMWrapper.h View 1 chunk +9 lines, -2 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
haraken
PTAL
6 years, 6 months ago (2014-06-03 08:42:58 UTC) #1
zerny-chromium
https://codereview.chromium.org/314603003/diff/1/Source/bindings/templates/interface.h File Source/bindings/templates/interface.h (right): https://codereview.chromium.org/314603003/diff/1/Source/bindings/templates/interface.h#newcode121 Source/bindings/templates/interface.h:121: static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + {{custom_internal_field_counter}}; I ...
6 years, 6 months ago (2014-06-03 08:49:03 UTC) #2
haraken
https://codereview.chromium.org/314603003/diff/1/Source/bindings/templates/interface.h File Source/bindings/templates/interface.h (right): https://codereview.chromium.org/314603003/diff/1/Source/bindings/templates/interface.h#newcode121 Source/bindings/templates/interface.h:121: static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + {{custom_internal_field_counter}}; On ...
6 years, 6 months ago (2014-06-03 08:55:40 UTC) #3
zerny-chromium
On 2014/06/03 08:55:40, haraken wrote: > https://codereview.chromium.org/314603003/diff/1/Source/bindings/templates/interface.h > File Source/bindings/templates/interface.h (right): > > https://codereview.chromium.org/314603003/diff/1/Source/bindings/templates/interface.h#newcode121 > ...
6 years, 6 months ago (2014-06-03 08:59:42 UTC) #4
Mads Ager (chromium)
DBC: This removes the overhead for non-oilpan builds. Do we have a tracking bug for ...
6 years, 6 months ago (2014-06-03 09:10:48 UTC) #5
Mads Ager (chromium)
LGTM The generated code now has lines with "+ 1 + 1" instead of "+ ...
6 years, 6 months ago (2014-06-03 09:16:27 UTC) #6
zerny-chromium
https://codereview.chromium.org/314603003/diff/20001/Source/bindings/templates/interface.h File Source/bindings/templates/interface.h (right): https://codereview.chromium.org/314603003/diff/20001/Source/bindings/templates/interface.h#newcode107 Source/bindings/templates/interface.h:107: {% set custom_internal_field_counter = 0 %} This looks like ...
6 years, 6 months ago (2014-06-03 09:20:19 UTC) #7
haraken
> DBC: This removes the overhead for non-oilpan builds. Do we have a tracking bug ...
6 years, 6 months ago (2014-06-03 09:29:55 UTC) #8
haraken
The CQ bit was checked by haraken@chromium.org
6 years, 6 months ago (2014-06-03 09:29:59 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/haraken@chromium.org/314603003/10008
6 years, 6 months ago (2014-06-03 09:31:02 UTC) #10
zerny-chromium
https://codereview.chromium.org/314603003/diff/10008/Source/bindings/templates/interface.h File Source/bindings/templates/interface.h (right): https://codereview.chromium.org/314603003/diff/10008/Source/bindings/templates/interface.h#newcode125 Source/bindings/templates/interface.h:125: {% set custom_internal_field_counter = custom_internal_field_counter + 1 %} It ...
6 years, 6 months ago (2014-06-03 09:35:23 UTC) #11
haraken
The CQ bit was unchecked by haraken@chromium.org
6 years, 6 months ago (2014-06-03 09:47:50 UTC) #12
haraken
On 2014/06/03 09:35:23, zerny-chromium wrote: > https://codereview.chromium.org/314603003/diff/10008/Source/bindings/templates/interface.h > File Source/bindings/templates/interface.h (right): > > https://codereview.chromium.org/314603003/diff/10008/Source/bindings/templates/interface.h#newcode125 > ...
6 years, 6 months ago (2014-06-03 10:41:14 UTC) #13
haraken
The CQ bit was checked by haraken@chromium.org
6 years, 6 months ago (2014-06-03 10:41:18 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/haraken@chromium.org/314603003/40001
6 years, 6 months ago (2014-06-03 10:42:15 UTC) #15
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: blink_presubmit on tryserver.blink ...
6 years, 6 months ago (2014-06-03 11:55:18 UTC) #16
commit-bot: I haz the power
6 years, 6 months ago (2014-06-03 12:50:51 UTC) #17
Message was sent while issue was closed.
Change committed as 175361

Powered by Google App Engine
This is Rietveld 408576698