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

Issue 40433002: Make wrapperTypeInfo static member const in bindings classes (Closed)

Created:
7 years, 2 months ago by Inactive
Modified:
7 years, 1 month ago
CC:
blink-reviews, kojih, jsbell+bindings_chromium.org, abarth-chromium, marja+watch_chromium.org, dglazkov+blink, dominicc+watchlist_chromium.org, adamk+blink_chromium.org, Nate Chapin
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Make wrapperTypeInfo static member const in bindings classes Make wrapperTypeInfo static member const in bindings classes as it can never be altered. This allows this member to be moved from the .data section to .data.rel.ro, which may be shared among different library instances on Android. objdump reports that ~600 wrapperTypeInfo members are moved by this CL. BUG=249746 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=160488

Patch Set 1 #

Patch Set 2 : I missed a couple of them #

Patch Set 3 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+159 lines, -159 lines) Patch
M Source/bindings/scripts/code_generator_v8.pm View 9 chunks +9 lines, -9 lines 0 comments Download
M Source/bindings/templates/interface.h View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/bindings/templates/interface_base.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/V8Float64Array.h View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/bindings/tests/results/V8Float64Array.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/V8SupportTestInterface.h View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/bindings/tests/results/V8SupportTestInterface.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/V8TestActiveDOMObject.h View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/bindings/tests/results/V8TestActiveDOMObject.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/bindings/tests/results/V8TestConstants.h View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/bindings/tests/results/V8TestConstants.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/V8TestCustomAccessors.h View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/bindings/tests/results/V8TestCustomAccessors.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/V8TestEvent.h View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/bindings/tests/results/V8TestEvent.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/V8TestEventConstructor.h View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/bindings/tests/results/V8TestEventConstructor.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/V8TestEventTarget.h View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/bindings/tests/results/V8TestEventTarget.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/V8TestException.h View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/bindings/tests/results/V8TestException.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/V8TestExtendedEvent.h View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/bindings/tests/results/V8TestExtendedEvent.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/V8TestInterface.h View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/bindings/tests/results/V8TestInterface.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/V8TestInterfaceEmpty.h View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/bindings/tests/results/V8TestInterfaceEmpty.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/V8TestInterfaceImplementedAs.h View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/bindings/tests/results/V8TestInterfaceImplementedAs.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/V8TestMediaQueryListListener.h View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/bindings/tests/results/V8TestMediaQueryListListener.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/V8TestNamedConstructor.h View 3 chunks +3 lines, -3 lines 0 comments Download
M Source/bindings/tests/results/V8TestNamedConstructor.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/bindings/tests/results/V8TestNode.h View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/bindings/tests/results/V8TestNode.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/V8TestObject.h View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/bindings/tests/results/V8TestObject.cpp View 3 chunks +5 lines, -5 lines 0 comments Download
M Source/bindings/tests/results/V8TestObjectPython.h View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/bindings/tests/results/V8TestObjectPython.cpp View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M Source/bindings/tests/results/V8TestOverloadedConstructors.h View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/bindings/tests/results/V8TestOverloadedConstructors.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/V8TestSerializedScriptValueInterface.h View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/bindings/tests/results/V8TestSerializedScriptValueInterface.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/V8TestTypedefs.h View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/bindings/tests/results/V8TestTypedefs.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/bindings/v8/CustomElementBinding.h View 1 chunk +4 lines, -4 lines 0 comments Download
M Source/bindings/v8/CustomElementBinding.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/bindings/v8/CustomElementConstructorBuilder.h View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/bindings/v8/CustomElementConstructorBuilder.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/v8/DOMWrapperMap.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/v8/NPV8Object.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/v8/NPV8Object.cpp View 2 chunks +3 lines, -3 lines 0 comments Download
M Source/bindings/v8/ScriptWrappable.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/v8/V8DOMConfiguration.h View 3 chunks +3 lines, -3 lines 0 comments Download
M Source/bindings/v8/V8DOMWrapper.h View 1 chunk +10 lines, -10 lines 0 comments Download
M Source/bindings/v8/V8DOMWrapper.cpp View 3 chunks +3 lines, -3 lines 0 comments Download
M Source/bindings/v8/V8GCController.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/bindings/v8/V8Initializer.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/bindings/v8/V8PerContextData.h View 3 chunks +7 lines, -7 lines 0 comments Download
M Source/bindings/v8/V8PerContextData.cpp View 5 chunks +5 lines, -5 lines 0 comments Download
M Source/bindings/v8/V8PerIsolateData.h View 2 chunks +3 lines, -3 lines 0 comments Download
M Source/bindings/v8/V8PerIsolateData.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/bindings/v8/WorkerScriptController.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/v8/WrapperTypeInfo.h View 3 chunks +10 lines, -10 lines 0 comments Download
M Source/bindings/v8/custom/V8ArrayBufferCustom.h View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/bindings/v8/custom/V8ArrayBufferCustom.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/v8/custom/V8HTMLImageElementConstructor.h View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/v8/custom/V8HTMLImageElementConstructor.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/v8/custom/V8TypedArrayCustom.h View 3 chunks +3 lines, -3 lines 0 comments Download
M Source/build/scripts/templates/ElementWrapperFactory.cpp.tmpl View 2 chunks +3 lines, -3 lines 0 comments Download
M Source/build/scripts/templates/ElementWrapperFactory.h.tmpl View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 14 (0 generated)
Inactive
7 years, 2 months ago (2013-10-24 15:34:26 UTC) #1
eseidel
lgtm Wow.
7 years, 2 months ago (2013-10-24 15:36:19 UTC) #2
Inactive
digit@, see, this is an example of case where I was hoping gcc would move ...
7 years, 2 months ago (2013-10-24 15:39:49 UTC) #3
haraken
Looks great. LGTM.
7 years, 2 months ago (2013-10-24 15:40:02 UTC) #4
haraken
Did you grep all |wrapperTypeInfo|s in the code base? For example, you're missing changing |wrapperTypeInfo| ...
7 years, 2 months ago (2013-10-24 15:42:59 UTC) #5
Inactive
On 2013/10/24 15:42:59, haraken wrote: > Did you grep all |wrapperTypeInfo|s in the code base? ...
7 years, 2 months ago (2013-10-24 15:45:25 UTC) #6
digit1
lgtm - thanks. Chris, .rodata is for non-relocatable constant data, and this section is placed ...
7 years, 2 months ago (2013-10-24 15:52:06 UTC) #7
Inactive
On 2013/10/24 15:42:59, haraken wrote: > Did you grep all |wrapperTypeInfo|s in the code base? ...
7 years, 2 months ago (2013-10-24 15:55:49 UTC) #8
haraken
Still LGTM of course.
7 years, 2 months ago (2013-10-24 16:00:48 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ch.dumez@samsung.com/40433002/100001
7 years, 2 months ago (2013-10-24 16:38:20 UTC) #10
commit-bot: I haz the power
Failed to apply patch for Source/bindings/tests/results/V8TestObjectPython.cpp: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 2 months ago (2013-10-24 18:03:34 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ch.dumez@samsung.com/40433002/220001
7 years, 2 months ago (2013-10-24 18:13:02 UTC) #12
commit-bot: I haz the power
Change committed as 160488
7 years, 2 months ago (2013-10-24 19:46:57 UTC) #13
Nils Barth (inactive)
7 years, 1 month ago (2013-10-25 02:14:10 UTC) #14
Message was sent while issue was closed.
On 2013/10/24 15:42:59, haraken wrote:
> Did you grep all |wrapperTypeInfo|s in the code base?

Conveniently, this is easier after the recent CL:
IDL compiler: rename WrapperTypeInfo info => wrapperTypeInfo
https://codereview.chromium.org/39393004/
(^.-)b

Powered by Google App Engine
This is Rietveld 408576698