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

Issue 553483004: Revert of [oilpan]: optimize the way we allocate persistent handles in wrappers. (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, pasko
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

Revert of [oilpan]: optimize the way we allocate persistent handles in wrappers. (patchset #6 id:100001 of https://codereview.chromium.org/525353002/) Reason for revert: Reverting due to browser test failures. Original issue's description: > [oilpan]: optimize the way we allocate persistent handles in wrappers. > > The oilpan JS wrappers all have a persistent which is used to keep the wrapped object around while there is a javascript reference to it. Allocation of these wrapper persistents showed up in some of benchmarks. This change creates a new optimized WrapperPersistent which is allocated in blocks. This gives a speedup ranging between a few percent to 20% in some of the more wrapper intensive tests. > > R=ager@chromium.org, haraken@chromium.org, oilpan-reviews@chromium.org, zerny@chromium.org > BUG= > > Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=181298 TBR=ager@chromium.org,haraken@chromium.org,oilpan-reviews@chromium.org,zerny@chromium.org,erik.corry@gmail.com,fdegans@chromium.org NOTREECHECKS=true NOTRY=true BUG=411240 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=181553

Patch Set 1 #

Patch Set 2 : merge conflicts #

Unified diffs Side-by-side diffs Delta from patch set Stats (+80 lines, -431 lines) Patch
M Source/bindings/core/v8/NPV8Object.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/core/v8/V8DOMWrapper.h View 1 3 chunks +3 lines, -3 lines 0 comments Download
M Source/bindings/core/v8/WrapperTypeInfo.h View 1 3 chunks +6 lines, -6 lines 0 comments Download
M Source/bindings/core/v8/custom/V8ArrayBufferCustom.h View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/core/v8/custom/V8ArrayBufferCustom.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/core/v8/custom/V8InjectedScriptManager.cpp View 1 1 chunk +1 line, -5 lines 0 comments Download
M Source/bindings/core/v8/custom/V8TypedArrayCustom.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M Source/bindings/templates/interface.h View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/templates/interface.cpp View 1 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 1 chunk +1 line, -1 line 0 comments Download
M Source/core/inspector/InjectedScriptManager.h View 1 1 chunk +1 line, -10 lines 0 comments Download
M Source/core/inspector/InjectedScriptManager.cpp View 1 1 chunk +0 lines, -7 lines 0 comments Download
M Source/platform/heap/BUILD.gn View 1 1 chunk +0 lines, -1 line 0 comments Download
M Source/platform/heap/Handle.h View 1 1 chunk +0 lines, -201 lines 0 comments Download
D Source/platform/heap/Handle.cpp View 1 1 chunk +0 lines, -74 lines 0 comments Download
M Source/platform/heap/ThreadState.h View 1 3 chunks +0 lines, -12 lines 0 comments Download
M Source/platform/heap/ThreadState.cpp View 1 6 chunks +1 line, -43 lines 0 comments Download
M Source/platform/heap/blink_heap.gypi View 1 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 11 (2 generated)
wibling-chromium
Created Revert of [oilpan]: optimize the way we allocate persistent handles in wrappers.
6 years, 3 months ago (2014-09-08 09:38:23 UTC) #1
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wibling@chromium.org/553483004/1
6 years, 3 months ago (2014-09-08 09:38:43 UTC) #2
commit-bot: I haz the power
Failed to apply patch for Source/bindings/core/v8/V8DOMWrapper.h: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 3 months ago (2014-09-08 09:39:06 UTC) #4
Mads Ager (chromium)
LGTM
6 years, 3 months ago (2014-09-08 09:39:07 UTC) #5
haraken
LGTM
6 years, 3 months ago (2014-09-08 09:39:08 UTC) #6
Fabrice (no longer in Chrome)
LGTM Looks like it doesn't revert cleanly but it shouldn't be too hard to fix. ...
6 years, 3 months ago (2014-09-08 09:40:25 UTC) #7
wibling-chromium
On 2014/09/08 09:40:25, Fabrice de Gans wrote: > LGTM > Looks like it doesn't revert ...
6 years, 3 months ago (2014-09-08 10:34:07 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wibling@chromium.org/553483004/300001
6 years, 3 months ago (2014-09-08 11:15:14 UTC) #10
commit-bot: I haz the power
6 years, 3 months ago (2014-09-08 11:16:38 UTC) #11
Message was sent while issue was closed.
Committed patchset #2 (id:300001) as 181553

Powered by Google App Engine
This is Rietveld 408576698