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

Issue 1099613003: Oilpan: have xml/ objects on the heap by default. (Closed)

Created:
5 years, 8 months ago by sof
Modified:
5 years, 8 months ago
CC:
blink-reviews, caseq+blink_chromium.org, arv+blink, blink-reviews-style_chromium.org, vivekg_samsung, vivekg, yurys+blink_chromium.org, lushnikov+blink_chromium.org, loislo+blink_chromium.org, pfeldman+blink_chromium.org, blink-reviews-bindings_chromium.org, Inactive, devtools-reviews_chromium.org, apavlov+blink_chromium.org, sergeyv+blink_chromium.org, aandrey+blink_chromium.org, kozyatinskiy+blink_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Oilpan: have xml/ objects on the heap by default. Along with moving the XPath objects (and other objects handling XML processing) to the heap, we're able to retire the XPath parser's manual tracking of currently constructed XPath sub-expressions; done so as to be able to destruct those in the face of parse errors. With Oilpan, such unreferenced sub-expressions will be unreferenced and swept out whenever the next GC runs. R=haraken,tkent BUG=479467 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=194504

Patch Set 1 #

Total comments: 6

Patch Set 2 : add XPathNSResolver binding test #

Total comments: 2

Patch Set 3 : simplify XPathResult dtor #

Unified diffs Side-by-side diffs Delta from patch set Stats (+229 lines, -499 lines) Patch
M Source/bindings/core/v8/V8Binding.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/core/v8/V8Binding.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/bindings/core/v8/custom/V8CustomXPathNSResolver.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/core/v8/custom/V8CustomXPathNSResolver.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/bindings/scripts/v8_types.py View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/idls/core/TestObject.idl View 1 1 chunk +1 line, -0 lines 0 comments Download
M Source/bindings/tests/results/core/V8TestObject.cpp View 1 3 chunks +21 lines, -1 line 0 comments Download
M Source/core/core.gypi View 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/inspector/InspectorDOMAgent.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/xml/DOMParser.h View 2 chunks +4 lines, -6 lines 0 comments Download
M Source/core/xml/DOMParser.idl View 1 chunk +1 line, -1 line 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 +4 lines, -5 lines 0 comments Download
M Source/core/xml/DocumentXSLT.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/xml/NativeXPathNSResolver.h View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/xml/XMLSerializer.h View 1 chunk +3 lines, -6 lines 0 comments Download
M Source/core/xml/XMLSerializer.idl View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/xml/XPathEvaluator.h View 2 chunks +7 lines, -10 lines 0 comments Download
M Source/core/xml/XPathEvaluator.cpp View 1 chunk +5 lines, -6 lines 0 comments Download
M Source/core/xml/XPathEvaluator.idl View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/xml/XPathExpression.h View 2 chunks +6 lines, -9 lines 0 comments Download
M Source/core/xml/XPathExpression.cpp View 4 chunks +6 lines, -8 lines 0 comments Download
M Source/core/xml/XPathExpression.idl View 1 chunk +1 line, -2 lines 0 comments Download
M Source/core/xml/XPathExpressionNode.h View 4 chunks +6 lines, -6 lines 0 comments Download
M Source/core/xml/XPathFunctions.h View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/xml/XPathFunctions.cpp View 5 chunks +7 lines, -8 lines 0 comments Download
M Source/core/xml/XPathGrammar.y View 28 chunks +31 lines, -102 lines 0 comments Download
M Source/core/xml/XPathNSResolver.h View 1 chunk +1 line, -3 lines 0 comments Download
D Source/core/xml/XPathNSResolver.cpp View 1 chunk +0 lines, -34 lines 0 comments Download
M Source/core/xml/XPathNSResolver.idl View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/xml/XPathNodeSet.h View 1 chunk +4 lines, -4 lines 0 comments Download
M Source/core/xml/XPathNodeSet.cpp View 1 chunk +3 lines, -3 lines 0 comments Download
M Source/core/xml/XPathParser.h View 2 chunks +3 lines, -21 lines 0 comments Download
M Source/core/xml/XPathParser.cpp View 4 chunks +2 lines, -126 lines 0 comments Download
M Source/core/xml/XPathPath.h View 4 chunks +6 lines, -6 lines 0 comments Download
M Source/core/xml/XPathPath.cpp View 8 chunks +16 lines, -35 lines 0 comments Download
M Source/core/xml/XPathPredicate.h View 5 chunks +10 lines, -10 lines 0 comments Download
M Source/core/xml/XPathPredicate.cpp View 5 chunks +8 lines, -9 lines 0 comments Download
M Source/core/xml/XPathResult.h View 1 2 4 chunks +5 lines, -5 lines 0 comments Download
M Source/core/xml/XPathResult.idl View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/xml/XPathStep.h View 6 chunks +9 lines, -11 lines 0 comments Download
M Source/core/xml/XPathStep.cpp View 5 chunks +12 lines, -13 lines 0 comments Download
M Source/core/xml/XPathValue.h View 5 chunks +12 lines, -11 lines 0 comments Download
M Source/core/xml/XPathValue.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/xml/XSLImportRule.h View 1 chunk +3 lines, -4 lines 0 comments Download
M Source/core/xml/XSLStyleSheet.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/xml/XSLStyleSheetLibxslt.cpp View 1 chunk +3 lines, -4 lines 0 comments Download
M Source/core/xml/XSLTProcessor.h View 1 chunk +3 lines, -3 lines 0 comments Download
M Source/core/xml/XSLTProcessor.idl View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 16 (4 generated)
sof
please take a look.
5 years, 8 months ago (2015-04-26 14:19:41 UTC) #2
haraken
LGTM - Let's cc relevant people when enabling oilpan for something. - Let's update the ...
5 years, 8 months ago (2015-04-26 15:36:23 UTC) #4
sof
https://codereview.chromium.org/1099613003/diff/1/Source/core/xml/XPathParser.h File Source/core/xml/XPathParser.h (left): https://codereview.chromium.org/1099613003/diff/1/Source/core/xml/XPathParser.h#oldcode92 Source/core/xml/XPathParser.h:92: void deleteNodeTest(Step::NodeTest*); On 2015/04/26 15:36:23, haraken wrote: > > ...
5 years, 8 months ago (2015-04-26 15:41:26 UTC) #5
peria
I'm happy that you ship Oilpan so quickly, but could you share where you're working ...
5 years, 8 months ago (2015-04-26 16:30:06 UTC) #6
sof
On 2015/04/26 16:30:06, peria wrote: > I'm happy that you ship Oilpan so quickly, but ...
5 years, 8 months ago (2015-04-26 16:34:36 UTC) #7
peria
On 2015/04/26 16:34:36, sof wrote: > On 2015/04/26 16:30:06, peria wrote: > > I'm happy ...
5 years, 8 months ago (2015-04-26 16:49:20 UTC) #8
sof
https://codereview.chromium.org/1099613003/diff/1/Source/bindings/scripts/v8_types.py File Source/bindings/scripts/v8_types.py (right): https://codereview.chromium.org/1099613003/diff/1/Source/bindings/scripts/v8_types.py#newcode115 Source/bindings/scripts/v8_types.py:115: 'XPathNSResolver': 'RawPtr<XPathNSResolver>', On 2015/04/26 15:36:23, haraken wrote: > > ...
5 years, 8 months ago (2015-04-26 21:23:40 UTC) #9
sof
tkent@: acceptable to flip the switch for xml/ ?
5 years, 8 months ago (2015-04-27 05:20:39 UTC) #10
tkent
lgtm. The parser simplification is cool :) https://codereview.chromium.org/1099613003/diff/20001/Source/core/xml/XPathResult.h File Source/core/xml/XPathResult.h (left): https://codereview.chromium.org/1099613003/diff/20001/Source/core/xml/XPathResult.h#oldcode47 Source/core/xml/XPathResult.h:47: DECLARE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(XPathResult); Should ...
5 years, 8 months ago (2015-04-27 08:08:35 UTC) #11
sof
https://codereview.chromium.org/1099613003/diff/20001/Source/core/xml/XPathResult.h File Source/core/xml/XPathResult.h (left): https://codereview.chromium.org/1099613003/diff/20001/Source/core/xml/XPathResult.h#oldcode47 Source/core/xml/XPathResult.h:47: DECLARE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(XPathResult); On 2015/04/27 08:08:35, tkent wrote: > Should we ...
5 years, 8 months ago (2015-04-27 09:13:04 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1099613003/40001
5 years, 8 months ago (2015-04-27 09:43:25 UTC) #15
commit-bot: I haz the power
5 years, 8 months ago (2015-04-27 10:20:38 UTC) #16
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=194504

Powered by Google App Engine
This is Rietveld 408576698