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

Issue 258143002: Oilpan: move DOM string collection objects to the Oilpan heap. (Closed)

Created:
6 years, 7 months ago by sof
Modified:
6 years, 7 months ago
CC:
blink-reviews, eae+blinkwatch, ericu+idb_chromium.org, dgrogan, adamk+blink_chromium.org, rwlbuis, Nils Barth (inactive), chrishtr, Nate Chapin, arv+blink, alecflett, abarth-chromium, marja+watch_chromium.org, dglazkov+blink, ojan, haraken, jsbell+idb_chromium.org, gavinp+prerender_chromium.org, jsbell+bindings_chromium.org, kouhei+bindings_chromium.org, Inactive, cmumford, watchdog-blink-watchlist_google.com
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Oilpan: move DOM string collection objects to the Oilpan heap. Turn DOMTokenList, DOMStringList, DOMStringMap and their derived objects into garbage collected objects. R=haraken@chromium.org,ager@chromium.org,erik.corry@gmail.com BUG=340522 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=173652

Patch Set 1 #

Total comments: 15

Patch Set 2 : Rebased to meet NodeRareData CL #

Total comments: 11

Patch Set 3 : Rebase + final adjustments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+136 lines, -54 lines) Patch
M Source/bindings/v8/IDBBindingUtilities.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/dom/DOMSettableTokenList.h View 2 chunks +12 lines, -4 lines 0 comments Download
M Source/core/dom/DOMStringList.h View 3 chunks +6 lines, -3 lines 0 comments Download
M Source/core/dom/DOMStringList.idl View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/dom/DOMStringMap.h View 3 chunks +8 lines, -2 lines 0 comments Download
M Source/core/dom/DOMStringMap.idl View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/dom/DOMTokenList.h View 1 2 3 chunks +9 lines, -3 lines 0 comments Download
M Source/core/dom/DOMTokenList.idl View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/dom/DatasetDOMStringMap.h View 1 2 chunks +7 lines, -3 lines 0 comments Download
M Source/core/dom/DatasetDOMStringMap.cpp View 3 chunks +8 lines, -0 lines 0 comments Download
M Source/core/dom/Element.cpp View 1 1 chunk +2 lines, -3 lines 0 comments Download
M Source/core/dom/ElementRareData.h View 1 3 chunks +6 lines, -6 lines 0 comments Download
M Source/core/dom/ElementRareData.cpp View 1 1 chunk +4 lines, -1 line 0 comments Download
M Source/core/dom/NamedNodeMap.h View 1 4 chunks +10 lines, -6 lines 0 comments Download
M Source/core/dom/NamedNodeMap.cpp View 1 3 chunks +7 lines, -0 lines 0 comments Download
M Source/core/dom/NamedNodeMap.idl View 1 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/frame/Location.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/frame/Location.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/html/ClassList.h View 1 2 3 chunks +8 lines, -4 lines 0 comments Download
M Source/core/html/ClassList.cpp View 3 chunks +8 lines, -0 lines 0 comments Download
M Source/core/html/HTMLLinkElement.h View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/HTMLLinkElement.cpp View 1 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/html/HTMLOutputElement.h View 1 2 chunks +3 lines, -1 line 0 comments Download
M Source/core/html/HTMLOutputElement.cpp View 1 1 chunk +7 lines, -0 lines 0 comments Download
M Source/core/html/LabelableElement.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/html/LabelableElement.cpp View 1 1 chunk +5 lines, -0 lines 0 comments Download
M Source/modules/indexeddb/IDBAny.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M Source/modules/indexeddb/IDBAny.cpp View 1 2 chunks +2 lines, -1 line 0 comments Download
M Source/modules/indexeddb/IDBDatabase.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M Source/modules/indexeddb/IDBDatabase.cpp View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M Source/modules/indexeddb/IDBObjectStore.h View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/indexeddb/IDBObjectStore.cpp View 1 1 chunk +2 lines, -2 lines 0 comments Download
M Source/modules/indexeddb/IDBRequest.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/indexeddb/InspectorIndexedDBAgent.cpp View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 23 (0 generated)
sof
When there's some time, please take a look. Open issues / rough edges: - ElementRareData ...
6 years, 7 months ago (2014-04-29 07:23:38 UTC) #1
Erik Corry
I wonder if it would not be easier to move the raredatas first, but one ...
6 years, 7 months ago (2014-04-29 07:55:48 UTC) #2
haraken
Just DBC: https://codereview.chromium.org/258143002/diff/1/Source/core/dom/DatasetDOMStringMap.h File Source/core/dom/DatasetDOMStringMap.h (right): https://codereview.chromium.org/258143002/diff/1/Source/core/dom/DatasetDOMStringMap.h#newcode65 Source/core/dom/DatasetDOMStringMap.h:65: Element* m_element; On 2014/04/29 07:55:49, Erik Corry ...
6 years, 7 months ago (2014-04-29 08:00:01 UTC) #3
sof
https://codereview.chromium.org/258143002/diff/1/Source/core/dom/DatasetDOMStringMap.h File Source/core/dom/DatasetDOMStringMap.h (right): https://codereview.chromium.org/258143002/diff/1/Source/core/dom/DatasetDOMStringMap.h#newcode65 Source/core/dom/DatasetDOMStringMap.h:65: Element* m_element; On 2014/04/29 08:00:02, haraken wrote: > On ...
6 years, 7 months ago (2014-04-29 08:06:38 UTC) #4
Mads Ager (chromium)
https://codereview.chromium.org/258143002/diff/1/Source/core/dom/DatasetDOMStringMap.h File Source/core/dom/DatasetDOMStringMap.h (right): https://codereview.chromium.org/258143002/diff/1/Source/core/dom/DatasetDOMStringMap.h#newcode65 Source/core/dom/DatasetDOMStringMap.h:65: Element* m_element; On 2014/04/29 08:06:38, sof wrote: > On ...
6 years, 7 months ago (2014-04-29 08:52:08 UTC) #5
Mads Ager (chromium)
LGTM with comments. If you land this before moving ElementRareData, could you work on moving ...
6 years, 7 months ago (2014-04-29 09:05:13 UTC) #6
haraken
https://codereview.chromium.org/258143002/diff/1/Source/core/html/LabelableElement.h File Source/core/html/LabelableElement.h (right): https://codereview.chromium.org/258143002/diff/1/Source/core/html/LabelableElement.h#newcode46 Source/core/html/LabelableElement.h:46: virtual void trace(Visitor* visitor) OVERRIDE { HTMLElement::trace(visitor); } On ...
6 years, 7 months ago (2014-04-29 09:22:55 UTC) #7
sof
https://codereview.chromium.org/258143002/diff/1/Source/core/html/LabelableElement.h File Source/core/html/LabelableElement.h (right): https://codereview.chromium.org/258143002/diff/1/Source/core/html/LabelableElement.h#newcode46 Source/core/html/LabelableElement.h:46: virtual void trace(Visitor* visitor) OVERRIDE { HTMLElement::trace(visitor); } On ...
6 years, 7 months ago (2014-04-29 09:29:33 UTC) #8
Mads Ager (chromium)
On 2014/04/29 09:22:55, haraken wrote: > https://codereview.chromium.org/258143002/diff/1/Source/core/html/LabelableElement.h > File Source/core/html/LabelableElement.h (right): > > https://codereview.chromium.org/258143002/diff/1/Source/core/html/LabelableElement.h#newcode46 > ...
6 years, 7 months ago (2014-04-29 09:30:52 UTC) #9
sof
On 2014/04/29 09:05:13, Mads Ager (chromium) wrote: > LGTM with comments. > > If you ...
6 years, 7 months ago (2014-04-29 14:07:20 UTC) #10
Mads Ager (chromium)
On 2014/04/29 14:07:20, sof wrote: > On 2014/04/29 09:05:13, Mads Ager (chromium) wrote: > > ...
6 years, 7 months ago (2014-04-29 14:47:45 UTC) #11
sof
On 2014/04/29 14:47:45, Mads Ager (chromium) wrote: > On 2014/04/29 14:07:20, sof wrote: > > ...
6 years, 7 months ago (2014-04-30 10:16:37 UTC) #12
Mads Ager (chromium)
Have you seen the GC tracing code that Kouhei put in? It might be helpful ...
6 years, 7 months ago (2014-04-30 10:22:33 UTC) #13
sof
On 2014/04/30 10:22:33, Mads Ager (chromium) wrote: > Have you seen the GC tracing code ...
6 years, 7 months ago (2014-04-30 14:38:55 UTC) #14
sof
With {Node,Element}RareData changes in place, rebased. PTAL?
6 years, 7 months ago (2014-05-08 09:15:17 UTC) #15
Mads Ager (chromium)
LGTM https://codereview.chromium.org/258143002/diff/20001/Source/core/html/HTMLElement.h File Source/core/html/HTMLElement.h (right): https://codereview.chromium.org/258143002/diff/20001/Source/core/html/HTMLElement.h#newcode94 Source/core/html/HTMLElement.h:94: virtual void trace(Visitor*) OVERRIDE; It looks like this ...
6 years, 7 months ago (2014-05-08 11:52:42 UTC) #16
haraken
LGTM. https://codereview.chromium.org/258143002/diff/1/Source/core/dom/DOMTokenList.h File Source/core/dom/DOMTokenList.h (right): https://codereview.chromium.org/258143002/diff/1/Source/core/dom/DOMTokenList.h#newcode46 Source/core/dom/DOMTokenList.h:46: virtual ~DOMTokenList() { }; Nit: ';' is not ...
6 years, 7 months ago (2014-05-08 11:59:58 UTC) #17
sof
Thanks for the reviews https://codereview.chromium.org/258143002/diff/1/Source/core/dom/DOMTokenList.h File Source/core/dom/DOMTokenList.h (right): https://codereview.chromium.org/258143002/diff/1/Source/core/dom/DOMTokenList.h#newcode46 Source/core/dom/DOMTokenList.h:46: virtual ~DOMTokenList() { }; On ...
6 years, 7 months ago (2014-05-08 14:05:21 UTC) #18
sof
The CQ bit was checked by sigbjornf@opera.com
6 years, 7 months ago (2014-05-08 14:05:58 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sigbjornf@opera.com/258143002/40001
6 years, 7 months ago (2014-05-08 14:06:38 UTC) #20
Mads Ager (chromium)
https://codereview.chromium.org/258143002/diff/20001/Source/modules/indexeddb/IDBDatabase.cpp File Source/modules/indexeddb/IDBDatabase.cpp (right): https://codereview.chromium.org/258143002/diff/20001/Source/modules/indexeddb/IDBDatabase.cpp#newcode349 Source/modules/indexeddb/IDBDatabase.cpp:349: RefPtrWillBeMember<DOMStringList> storeNames = DOMStringList::create(); On 2014/05/08 14:05:22, sof wrote: ...
6 years, 7 months ago (2014-05-08 14:22:06 UTC) #21
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-08 14:50:47 UTC) #22
commit-bot: I haz the power
6 years, 7 months ago (2014-05-08 15:59:13 UTC) #23
Message was sent while issue was closed.
Change committed as 173652

Powered by Google App Engine
This is Rietveld 408576698