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

Issue 2683653004: Put the BackgroundHTMLParser on oilpan heap (Closed)

Created:
3 years, 10 months ago by Charlie Harrison
Modified:
3 years, 10 months ago
CC:
chromium-reviews, blink-reviews, dglazkov+blink, blink-reviews-html_chromium.org, kinuko+watch, loading-reviews+parser_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Put the BackgroundHTMLParser on oilpan heap This patch puts BackgroundHTMLParser on the oilpan heap, as well as moving asynchrony logic to the BackgroundHTMLParser. BUG=689702 Review-Url: https://codereview.chromium.org/2683653004 Cr-Commit-Position: refs/heads/master@{#450559} Committed: https://chromium.googlesource.com/chromium/src/+/7fe94f0a7f3809fd93916c526d067dcb7f2b4ce3

Patch Set 1 #

Patch Set 2 : fix #

Patch Set 3 : Make BackgroundHTMLParser on oilpan heap #

Total comments: 2

Patch Set 4 : Save ASSERT->DCHECK for another patch #

Total comments: 15

Patch Set 5 : kouhei #

Patch Set 6 : remove <memory> #

Unified diffs Side-by-side diffs Delta from patch set Stats (+109 lines, -179 lines) Patch
M third_party/WebKit/Source/core/html/parser/BackgroundHTMLParser.h View 1 2 3 4 8 chunks +18 lines, -24 lines 0 comments Download
M third_party/WebKit/Source/core/html/parser/BackgroundHTMLParser.cpp View 1 2 3 4 5 13 chunks +49 lines, -51 lines 0 comments Download
M third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.h View 1 2 3 4 5 9 chunks +6 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp View 1 2 3 4 5 29 chunks +36 lines, -94 lines 0 comments Download

Messages

Total messages: 36 (25 generated)
Charlie Harrison
Yoav, PTAL? There's a lot more to be done about oilpanning these things, but this ...
3 years, 10 months ago (2017-02-08 23:48:01 UTC) #15
Yoav Weiss
https://codereview.chromium.org/2683653004/diff/60001/third_party/WebKit/Source/core/html/parser/BackgroundHTMLParser.cpp File third_party/WebKit/Source/core/html/parser/BackgroundHTMLParser.cpp (right): https://codereview.chromium.org/2683653004/diff/60001/third_party/WebKit/Source/core/html/parser/BackgroundHTMLParser.cpp#newcode28 third_party/WebKit/Source/core/html/parser/BackgroundHTMLParser.cpp:28: #include <memory> Do you know why is <memory> included ...
3 years, 10 months ago (2017-02-09 10:39:00 UTC) #18
Yoav Weiss
On 2017/02/09 10:39:00, Yoav Weiss wrote: > https://codereview.chromium.org/2683653004/diff/60001/third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp#newcode392 > third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp:392: if > (!isParsing()) > Could ...
3 years, 10 months ago (2017-02-09 10:40:09 UTC) #19
Charlie Harrison
+kouhei FYI https://codereview.chromium.org/2683653004/diff/60001/third_party/WebKit/Source/core/html/parser/BackgroundHTMLParser.cpp File third_party/WebKit/Source/core/html/parser/BackgroundHTMLParser.cpp (right): https://codereview.chromium.org/2683653004/diff/60001/third_party/WebKit/Source/core/html/parser/BackgroundHTMLParser.cpp#newcode28 third_party/WebKit/Source/core/html/parser/BackgroundHTMLParser.cpp:28: #include <memory> On 2017/02/09 10:39:00, Yoav Weiss ...
3 years, 10 months ago (2017-02-13 22:55:32 UTC) #21
kouhei (in TOK)
lgtm myside https://codereview.chromium.org/2683653004/diff/60001/third_party/WebKit/Source/core/html/parser/BackgroundHTMLParser.h File third_party/WebKit/Source/core/html/parser/BackgroundHTMLParser.h (right): https://codereview.chromium.org/2683653004/diff/60001/third_party/WebKit/Source/core/html/parser/BackgroundHTMLParser.h#newcode140 third_party/WebKit/Source/core/html/parser/BackgroundHTMLParser.h:140: RefPtr<TokenizedChunkQueue> m_tokenizedChunkQueue; On 2017/02/13 22:55:32, Charlie Harrison ...
3 years, 10 months ago (2017-02-13 23:09:14 UTC) #22
Charlie Harrison
https://codereview.chromium.org/2683653004/diff/60001/third_party/WebKit/Source/core/html/parser/BackgroundHTMLParser.h File third_party/WebKit/Source/core/html/parser/BackgroundHTMLParser.h (right): https://codereview.chromium.org/2683653004/diff/60001/third_party/WebKit/Source/core/html/parser/BackgroundHTMLParser.h#newcode140 third_party/WebKit/Source/core/html/parser/BackgroundHTMLParser.h:140: RefPtr<TokenizedChunkQueue> m_tokenizedChunkQueue; On 2017/02/13 23:09:14, kouhei-atCAM wrote: > On ...
3 years, 10 months ago (2017-02-13 23:19:31 UTC) #24
Yoav Weiss
LGTM https://codereview.chromium.org/2683653004/diff/40001/third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp File third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp (right): https://codereview.chromium.org/2683653004/diff/40001/third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp#newcode392 third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp:392: if (!isParsing()) On 2017/02/08 23:48:01, Charlie Harrison wrote: ...
3 years, 10 months ago (2017-02-14 06:45:47 UTC) #28
Charlie Harrison
Thanks, I will do a followup removing the ASSERTS (had to bypass that for this ...
3 years, 10 months ago (2017-02-15 03:00:07 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2683653004/100001
3 years, 10 months ago (2017-02-15 03:00:59 UTC) #32
commit-bot: I haz the power
Committed patchset #6 (id:100001) as https://chromium.googlesource.com/chromium/src/+/7fe94f0a7f3809fd93916c526d067dcb7f2b4ce3
3 years, 10 months ago (2017-02-15 05:30:36 UTC) #35
Charlie Harrison
3 years, 10 months ago (2017-02-16 15:15:41 UTC) #36
Message was sent while issue was closed.
A revert of this CL (patchset #6 id:100001) has been created in
https://codereview.chromium.org/2695633007/ by csharrison@chromium.org.

The reason for reverting is: Causing frequent crashes: crbug.com/692999
.

Powered by Google App Engine
This is Rietveld 408576698