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

Issue 556823003: Revert "Revert of [oilpan]: optimize the way we allocate persistent handles in wrappers. (patchset … (Closed)

Created:
6 years, 3 months ago by wibling-chromium
Modified:
6 years, 3 months ago
CC:
blink-reviews, vsevik+blink_chromium.org, caseq+blink_chromium.org, arv+blink, Mads Ager (chromium), eustas+blink_chromium.org, malch+blink_chromium.org, yurys+blink_chromium.org, lushnikov+blink_chromium.org, abarth-chromium, loislo+blink_chromium.org, pfeldman+blink_chromium.org, paulirish+reviews_chromium.org, blink-reviews-bindings_chromium.org, devtools-reviews_chromium.org, apavlov+blink_chromium.org, sergeyv+blink_chromium.org, aandrey+blink_chromium.org, kouhei+heap_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

Revert "Revert of [oilpan]: optimize the way we allocate persistent handles in wrappers. (patchset #6 id:100001 of https://codereview.chromium.org/52535 3002/)" Reland the wrapper persistent change using placement new for the constructor and no use of destructors. Also when constructing the object we make no assumption about the content of the slot. This reverts commit 1738b5c841f11dd45dadefcd7b3e8ab6bab4eccb. R=ager@chromium.org, fdegans@chromium.org, haraken@chromium.org, oilpan-reviews@chromium.org, zerny@chromium.org BUG=411240 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=181645

Patch Set 1 #

Total comments: 22

Patch Set 2 : review feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+428 lines, -82 lines) Patch
M Source/bindings/core/v8/NPV8Object.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/core/v8/V8DOMWrapper.h View 3 chunks +3 lines, -3 lines 0 comments Download
M Source/bindings/core/v8/WrapperTypeInfo.h View 3 chunks +8 lines, -8 lines 0 comments Download
M Source/bindings/core/v8/custom/V8ArrayBufferCustom.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/core/v8/custom/V8ArrayBufferCustom.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/core/v8/custom/V8InjectedScriptManager.cpp View 1 chunk +5 lines, -1 line 0 comments Download
M Source/bindings/core/v8/custom/V8TypedArrayCustom.h View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/bindings/templates/interface.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/templates/interface.cpp View 1 chunk +3 lines, -3 lines 0 comments Download
M Source/bindings/tests/results/V8SVGTestInterface.h View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/V8SVGTestInterface.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/V8TestException.h View 1 1 chunk +1 line, -1 line 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/V8TestInterface.h View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/V8TestInterface.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/V8TestInterface2.h View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/V8TestInterface2.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/V8TestInterface3.h View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/V8TestInterface3.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/V8TestInterfaceCheckSecurity.h View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/V8TestInterfaceCheckSecurity.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/V8TestInterfaceConstructor.h View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/V8TestInterfaceConstructor.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/V8TestInterfaceConstructor2.h View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/V8TestInterfaceConstructor2.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/V8TestInterfaceConstructor3.h View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/V8TestInterfaceConstructor3.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/V8TestInterfaceConstructor4.h View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/V8TestInterfaceConstructor4.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/V8TestInterfaceCustomConstructor.h View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/V8TestInterfaceCustomConstructor.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/V8TestInterfaceDocument.h View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/V8TestInterfaceDocument.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/bindings/tests/results/V8TestInterfaceEmpty.h View 1 1 chunk +1 line, -1 line 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/V8TestInterfaceEventConstructor.h View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/V8TestInterfaceEventConstructor.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/bindings/tests/results/V8TestInterfaceEventTarget.h View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/V8TestInterfaceEventTarget.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/bindings/tests/results/V8TestInterfaceGarbageCollected.h View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/V8TestInterfaceGarbageCollected.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/bindings/tests/results/V8TestInterfaceNamedConstructor.h View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/V8TestInterfaceNamedConstructor.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/V8TestInterfaceNamedConstructor2.h View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/V8TestInterfaceNamedConstructor2.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/V8TestInterfaceNode.h View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/V8TestInterfaceNode.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/bindings/tests/results/V8TestInterfaceNotScriptWrappable.h View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/V8TestInterfaceNotScriptWrappable.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/V8TestInterfaceWillBeGarbageCollected.h View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/V8TestInterfaceWillBeGarbageCollected.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/bindings/tests/results/V8TestNode.h View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/V8TestNode.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/bindings/tests/results/V8TestObject.h View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/V8TestObject.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/V8TestSpecialOperations.h View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/V8TestSpecialOperations.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/V8TestSpecialOperationsNotEnumerable.h View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/V8TestSpecialOperationsNotEnumerable.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/V8TestTypedefs.h View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/V8TestTypedefs.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/inspector/InjectedScriptManager.h View 1 chunk +10 lines, -1 line 0 comments Download
M Source/core/inspector/InjectedScriptManager.cpp View 1 chunk +7 lines, -0 lines 0 comments Download
M Source/platform/heap/BUILD.gn View 1 1 chunk +1 line, -0 lines 0 comments Download
M Source/platform/heap/Handle.h View 1 1 chunk +193 lines, -0 lines 0 comments Download
A Source/platform/heap/Handle.cpp View 1 chunk +77 lines, -0 lines 0 comments Download
M Source/platform/heap/ThreadState.h View 3 chunks +12 lines, -0 lines 0 comments Download
M Source/platform/heap/ThreadState.cpp View 6 chunks +43 lines, -1 line 0 comments Download
M Source/platform/heap/blink_heap.gypi View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 12 (1 generated)
wibling-chromium
6 years, 3 months ago (2014-09-09 11:10:34 UTC) #1
haraken
Would you just point out the diff from the previous CL?
6 years, 3 months ago (2014-09-09 11:22:12 UTC) #2
Mads Ager (chromium)
LGTM https://codereview.chromium.org/556823003/diff/1/Source/platform/heap/Handle.h File Source/platform/heap/Handle.h (right): https://codereview.chromium.org/556823003/diff/1/Source/platform/heap/Handle.h#newcode159 Source/platform/heap/Handle.h:159: ALLOW_ONLY_INLINE_ALLOCATION() Nit: Can we put a ';' at ...
6 years, 3 months ago (2014-09-09 11:29:23 UTC) #3
wibling-chromium
@haraken Please see comments below for the major changes. https://codereview.chromium.org/556823003/diff/1/Source/platform/heap/Handle.cpp File Source/platform/heap/Handle.cpp (right): https://codereview.chromium.org/556823003/diff/1/Source/platform/heap/Handle.cpp#newcode57 Source/platform/heap/Handle.cpp:57: ...
6 years, 3 months ago (2014-09-09 11:32:48 UTC) #4
zerny-chromium
lgtm with some optional nits https://codereview.chromium.org/556823003/diff/1/Source/platform/heap/Handle.h File Source/platform/heap/Handle.h (right): https://codereview.chromium.org/556823003/diff/1/Source/platform/heap/Handle.h#newcode162 Source/platform/heap/Handle.h:162: bool isAlive() { return ...
6 years, 3 months ago (2014-09-09 11:33:11 UTC) #5
haraken
LGTM, thanks!
6 years, 3 months ago (2014-09-09 11:42:48 UTC) #6
wibling-chromium
Thanks for the reviews! https://codereview.chromium.org/556823003/diff/1/Source/platform/heap/Handle.h File Source/platform/heap/Handle.h (right): https://codereview.chromium.org/556823003/diff/1/Source/platform/heap/Handle.h#newcode159 Source/platform/heap/Handle.h:159: ALLOW_ONLY_INLINE_ALLOCATION() On 2014/09/09 11:29:23, Mads ...
6 years, 3 months ago (2014-09-09 11:49:50 UTC) #7
Fabrice (no longer in Chrome)
LGTM, on the condition android_dbg_tests_recipe passes. I tested it locally and the tests previously failing ...
6 years, 3 months ago (2014-09-09 12:16:05 UTC) #8
wibling-chromium
On 2014/09/09 12:16:05, Fabrice de Gans wrote: > LGTM, on the condition android_dbg_tests_recipe passes. > ...
6 years, 3 months ago (2014-09-09 13:11:47 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wibling@chromium.org/556823003/20001
6 years, 3 months ago (2014-09-09 13:12:42 UTC) #11
commit-bot: I haz the power
6 years, 3 months ago (2014-09-09 14:03:52 UTC) #12
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as 181645

Powered by Google App Engine
This is Rietveld 408576698