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

Issue 127723002: Add use counters for using Attrs as Nodes. (Closed)

Created:
6 years, 11 months ago by dominicc (has gone to gerrit)
Modified:
6 years, 11 months ago
CC:
blink-reviews, Nils Barth (inactive), kojih, arv+blink, jsbell+bindings_chromium.org, sof, abarth-chromium, marja+watch_chromium.org, adamk+blink_chromium.org, haraken, Nate Chapin, watchdog-blink-watchlist_google.com, Inactive
Visibility:
Public.

Description

Add use counters for using Attrs as Nodes. DOM4 makes Attr no longer be a subtype of Node. This adds a use counter for passing Attr where Node is expected, or calling a method declared on Node with an Attr. BUG=305105 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=165262

Patch Set 1 #

Patch Set 2 : Do not hook replaceable setter stuff. #

Patch Set 3 : Do not hook named function accessors either. #

Patch Set 4 : Bring patch to head. #

Patch Set 5 : Bring patch to head. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+104 lines, -0 lines) Patch
M Source/bindings/scripts/code_generator_v8.pm View 1 2 3 4 7 chunks +65 lines, -0 lines 0 comments Download
M Source/bindings/tests/results/V8SupportTestInterface.cpp View 1 2 3 4 5 chunks +8 lines, -0 lines 0 comments Download
M Source/bindings/tests/results/V8TestEventTarget.cpp View 1 2 3 4 2 chunks +4 lines, -0 lines 0 comments Download
M Source/bindings/tests/results/V8TestInterface.cpp View 1 2 3 4 9 chunks +16 lines, -0 lines 0 comments Download
M Source/bindings/tests/results/V8TestObject.cpp View 1 2 3 4 2 chunks +5 lines, -0 lines 0 comments Download
M Source/bindings/tests/results/V8TestObjectPython.cpp View 1 2 3 4 2 chunks +4 lines, -0 lines 0 comments Download
M Source/core/frame/UseCounter.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
dominicc (has gone to gerrit)
PTAL This doesn't count everything it possibly could: Node doesn't have named or indexed properties, ...
6 years, 11 months ago (2014-01-08 08:19:25 UTC) #1
esprehn
What does adding the extra typeinfo checks to all these methods do to performance?
6 years, 11 months ago (2014-01-08 08:31:00 UTC) #2
eseidel
There are a whole bunch of DOM xml tests. I'm not surprised they trigger a ...
6 years, 11 months ago (2014-01-08 08:55:04 UTC) #3
dominicc (has gone to gerrit)
On 2014/01/08 08:31:00, esprehn wrote: > What does adding the extra typeinfo checks to all ...
6 years, 11 months ago (2014-01-14 03:16:49 UTC) #4
abarth-chromium
LGTM assuming we're not regressing benchmarks.
6 years, 11 months ago (2014-01-16 05:14:40 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dominicc@chromium.org/127723002/150001
6 years, 11 months ago (2014-01-16 05:48:09 UTC) #6
commit-bot: I haz the power
Retried try job too often on linux_blink for step(s) wtf_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_blink&number=7673
6 years, 11 months ago (2014-01-16 06:35:30 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dominicc@chromium.org/127723002/150001
6 years, 11 months ago (2014-01-16 08:59:26 UTC) #8
commit-bot: I haz the power
Retried try job too often on linux_blink for step(s) wtf_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_blink&number=7726
6 years, 11 months ago (2014-01-16 09:39:40 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dominicc@chromium.org/127723002/150001
6 years, 11 months ago (2014-01-17 00:21:00 UTC) #10
commit-bot: I haz the power
Change committed as 165262
6 years, 11 months ago (2014-01-17 00:36:53 UTC) #11
dominicc (has gone to gerrit)
6 years, 11 months ago (2014-01-19 23:17:30 UTC) #12
Message was sent while issue was closed.
A revert of this CL has been created in
https://codereview.chromium.org/130703003/ by dominicc@chromium.org.

The reason for reverting is: Adding use counters for using Attrs as Nodes
regressed dom perf and others.

BUG=335750.

Powered by Google App Engine
This is Rietveld 408576698