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

Issue 166903010: Oilpan: Move core/xml/ to oilpan's heap (Closed)

Created:
6 years, 10 months ago by haraken
Modified:
6 years, 10 months ago
CC:
blink-reviews, eae+blinkwatch, apavlov+blink_chromium.org, adamk+blink_chromium.org, aandrey+blink_chromium.org, Nils Barth (inactive), caseq+blink_chromium.org, Nate Chapin, arv+blink, yurys+blink_chromium.org, abarth-chromium, marja+watch_chromium.org, dglazkov+blink, gavinp+loader_chromium.org, devtools-reviews_chromium.org, loislo+blink_chromium.org, lushnikov+blink_chromium.org, eustas+blink_chromium.org, paulirish+reviews_chromium.org, kojih, jsbell+bindings_chromium.org, alph+blink_chromium.org, vsevik+blink_chromium.org, pfeldman+blink_chromium.org, Inactive, watchdog-blink-watchlist_google.com
Visibility:
Public.

Description

Oilpan: Move core/xml/ to oilpan's heap This CL moves DOMParser, XMLHttpRequest, XMLSerializer, XPathEvaluator, XPathExpression, XPathNSResolver, XPathResult, XSLTProcessor to oilpan's heap. XMLHttpRequest can be used by workers, so I added XMLHttpRequest to USED_FROM_MULTIPLE_THREADS. I'm not sure if workers can touch XMLSerializer, XPathResult etc, but I added them to USED_FROM_MULTIPLE_THREADS just in case. (We'll remove USED_FROM_MULTIPLE_THREADS soon.) BUG=341032 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=167459

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 2

Patch Set 4 : #

Patch Set 5 : #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+174 lines, -72 lines) Patch
M Source/bindings/scripts/code_generator_v8.pm View 1 2 3 2 chunks +3 lines, -2 lines 0 comments Download
M Source/bindings/tests/results/V8TestObjectPython.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/v8/V8Binding.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/v8/V8Binding.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/bindings/v8/custom/V8CustomXPathNSResolver.h View 1 chunk +3 lines, -1 line 0 comments Download
M Source/bindings/v8/custom/V8CustomXPathNSResolver.cpp View 2 chunks +7 lines, -2 lines 0 comments Download
M Source/bindings/v8/custom/V8DocumentCustom.cpp View 2 chunks +3 lines, -3 lines 0 comments Download
M Source/bindings/v8/custom/V8XMLHttpRequestCustom.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/dom/Document.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/inspector/InspectorDOMAgent.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/inspector/InspectorResourceAgent.cpp View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M Source/core/loader/ThreadableLoaderClient.h View 2 chunks +3 lines, -1 line 0 comments Download
M Source/core/xml/DOMParser.h View 2 chunks +9 lines, -2 lines 0 comments Download
M Source/core/xml/DOMParser.cpp View 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/xml/DOMParser.idl View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/xml/DocumentXPathEvaluator.h View 2 chunks +6 lines, -6 lines 0 comments Download
M Source/core/xml/DocumentXPathEvaluator.cpp View 3 chunks +5 lines, -5 lines 0 comments Download
M Source/core/xml/NativeXPathNSResolver.h View 1 chunk +6 lines, -1 line 0 comments Download
M Source/core/xml/NativeXPathNSResolver.cpp View 1 chunk +5 lines, -0 lines 0 comments Download
M Source/core/xml/XMLHttpRequest.h View 3 chunks +8 lines, -4 lines 2 comments Download
M Source/core/xml/XMLHttpRequest.cpp View 1 2 3 5 chunks +7 lines, -5 lines 0 comments Download
M Source/core/xml/XMLHttpRequest.idl View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/xml/XMLSerializer.h View 2 chunks +9 lines, -2 lines 0 comments Download
M Source/core/xml/XMLSerializer.cpp View 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/xml/XMLSerializer.idl View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/xml/XPathEvaluator.h View 2 chunks +13 lines, -6 lines 0 comments Download
M Source/core/xml/XPathEvaluator.cpp View 2 chunks +7 lines, -5 lines 0 comments Download
M Source/core/xml/XPathEvaluator.idl View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/xml/XPathExpression.h View 2 chunks +11 lines, -4 lines 0 comments Download
M Source/core/xml/XPathExpression.cpp View 3 chunks +6 lines, -4 lines 0 comments Download
M Source/core/xml/XPathExpression.idl View 1 chunk +4 lines, -1 line 0 comments Download
M Source/core/xml/XPathNSResolver.h View 1 chunk +5 lines, -1 line 0 comments Download
M Source/core/xml/XPathNSResolver.cpp View 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/xml/XPathNSResolver.idl View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/xml/XPathParser.h View 1 2 3 3 chunks +4 lines, -2 lines 0 comments Download
M Source/core/xml/XPathParser.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/xml/XPathResult.h View 4 chunks +9 lines, -2 lines 0 comments Download
M Source/core/xml/XPathResult.cpp View 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/xml/XPathResult.idl View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/xml/XSLTProcessor.h View 2 chunks +6 lines, -3 lines 0 comments Download
M Source/core/xml/XSLTProcessor.cpp View 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/xml/XSLTProcessor.idl View 1 chunk +1 line, -0 lines 0 comments Download
M Source/heap/ThreadState.h View 1 2 2 chunks +8 lines, -0 lines 0 comments Download
M Source/web/WebFrameImpl.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 31 (0 generated)
haraken
PTAL
6 years, 10 months ago (2014-02-19 06:24:21 UTC) #1
Mads Ager (chromium)
LGTM https://codereview.chromium.org/166903010/diff/80001/Source/core/xml/XPathParser.h File Source/core/xml/XPathParser.h (right): https://codereview.chromium.org/166903010/diff/80001/Source/core/xml/XPathParser.h#newcode65 Source/core/xml/XPathParser.h:65: class Parser { I think parser is actually ...
6 years, 10 months ago (2014-02-19 10:24:29 UTC) #2
haraken
https://codereview.chromium.org/166903010/diff/80001/Source/core/xml/XPathParser.h File Source/core/xml/XPathParser.h (right): https://codereview.chromium.org/166903010/diff/80001/Source/core/xml/XPathParser.h#newcode65 Source/core/xml/XPathParser.h:65: class Parser { On 2014/02/19 10:24:30, Mads Ager (chromium) ...
6 years, 10 months ago (2014-02-19 10:40:51 UTC) #3
haraken
The CQ bit was checked by haraken@chromium.org
6 years, 10 months ago (2014-02-19 10:41:00 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/haraken@chromium.org/166903010/150001
6 years, 10 months ago (2014-02-19 10:41:09 UTC) #5
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-19 11:07:00 UTC) #6
commit-bot: I haz the power
Retried try job too often on blink_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=blink_presubmit&number=16284
6 years, 10 months ago (2014-02-19 11:07:00 UTC) #7
haraken
The CQ bit was checked by haraken@chromium.org
6 years, 10 months ago (2014-02-19 11:37:18 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/haraken@chromium.org/166903010/230001
6 years, 10 months ago (2014-02-19 11:37:26 UTC) #9
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-19 12:00:56 UTC) #10
commit-bot: I haz the power
Retried try job too often on blink_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=blink_presubmit&number=16290
6 years, 10 months ago (2014-02-19 12:00:57 UTC) #11
haraken
tkent@ or jochen@: Would you rubberstamp web/?
6 years, 10 months ago (2014-02-19 12:11:28 UTC) #12
pfeldman
web/ rslgtm
6 years, 10 months ago (2014-02-19 12:12:53 UTC) #13
haraken
On 2014/02/19 12:12:53, pfeldman wrote: > web/ rslgtm Thanks!
6 years, 10 months ago (2014-02-19 12:21:57 UTC) #14
haraken
The CQ bit was checked by haraken@chromium.org
6 years, 10 months ago (2014-02-19 12:22:03 UTC) #15
sof
https://codereview.chromium.org/166903010/diff/230001/Source/core/xml/XMLHttpRequest.h File Source/core/xml/XMLHttpRequest.h (right): https://codereview.chromium.org/166903010/diff/230001/Source/core/xml/XMLHttpRequest.h#newcode57 Source/core/xml/XMLHttpRequest.h:57: class XMLHttpRequest FINAL : public RefCountedWillBeRefCountedGarbageCollected<XMLHttpRequest>, public ScriptWrappable, public ...
6 years, 10 months ago (2014-02-19 12:22:10 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/haraken@chromium.org/166903010/230001
6 years, 10 months ago (2014-02-19 12:22:16 UTC) #17
haraken
https://codereview.chromium.org/166903010/diff/230001/Source/core/xml/XMLHttpRequest.h File Source/core/xml/XMLHttpRequest.h (right): https://codereview.chromium.org/166903010/diff/230001/Source/core/xml/XMLHttpRequest.h#newcode57 Source/core/xml/XMLHttpRequest.h:57: class XMLHttpRequest FINAL : public RefCountedWillBeRefCountedGarbageCollected<XMLHttpRequest>, public ScriptWrappable, public ...
6 years, 10 months ago (2014-02-19 12:26:50 UTC) #18
Paweł Hajdan Jr.
The CQ bit was unchecked by phajdan.jr@chromium.org
6 years, 10 months ago (2014-02-19 19:33:15 UTC) #19
Paweł Hajdan Jr.
The CQ bit was checked by phajdan.jr@chromium.org
6 years, 10 months ago (2014-02-19 19:35:53 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/haraken@chromium.org/166903010/230001
6 years, 10 months ago (2014-02-19 21:55:13 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/haraken@chromium.org/166903010/230001
6 years, 10 months ago (2014-02-19 23:01:30 UTC) #22
commit-bot: I haz the power
Change committed as 167459
6 years, 10 months ago (2014-02-20 07:04:03 UTC) #23
haraken
On 2014/02/19 12:22:10, sof wrote: > https://codereview.chromium.org/166903010/diff/230001/Source/core/xml/XMLHttpRequest.h > File Source/core/xml/XMLHttpRequest.h (right): > > https://codereview.chromium.org/166903010/diff/230001/Source/core/xml/XMLHttpRequest.h#newcode57 > ...
6 years, 10 months ago (2014-02-21 06:39:16 UTC) #24
Mads Ager (chromium)
On 2014/02/21 06:39:16, haraken wrote: > On 2014/02/19 12:22:10, sof wrote: > > > https://codereview.chromium.org/166903010/diff/230001/Source/core/xml/XMLHttpRequest.h ...
6 years, 10 months ago (2014-02-21 08:03:40 UTC) #25
haraken
On 2014/02/21 08:03:40, Mads Ager (chromium) wrote: > On 2014/02/21 06:39:16, haraken wrote: > > ...
6 years, 10 months ago (2014-02-21 09:03:03 UTC) #26
Mads Ager (chromium)
On 2014/02/21 09:03:03, haraken wrote: > On 2014/02/21 08:03:40, Mads Ager (chromium) wrote: > > ...
6 years, 10 months ago (2014-02-21 09:13:32 UTC) #27
haraken
> OK, yeah I didn't look at the actual class in question. XMLHttpRequestUpload is > ...
6 years, 10 months ago (2014-02-21 09:26:32 UTC) #28
haraken
sof: BTW, what's the benefit of moving XMLHttpRequestUpload to the heap at this point? AFAICT, ...
6 years, 10 months ago (2014-02-24 05:32:01 UTC) #29
sof
On 2014/02/24 05:32:01, haraken wrote: > sof: BTW, what's the benefit of moving XMLHttpRequestUpload to ...
6 years, 10 months ago (2014-02-24 06:28:58 UTC) #30
haraken
6 years, 10 months ago (2014-02-24 06:36:58 UTC) #31
Message was sent while issue was closed.
On 2014/02/24 06:28:58, sof wrote:
> On 2014/02/24 05:32:01, haraken wrote:
> > sof: BTW, what's the benefit of moving XMLHttpRequestUpload to the heap at
> this
> > point? AFAICT, it will just complicate the code base. Probably it would be
> > better to move XMLHttpRequestUpload after moving EventTarget to the heap,
> > wouldn't it?
> 
> That's a good plan, little point moving it if it ends up being essentially ref
> counted for now.
> 
> If not already, leave a FIXME next to XMLHttpRequestUpload (next to its class
> declaration or its use on XHR)?

Sure, will do in the next CL.

Powered by Google App Engine
This is Rietveld 408576698