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

Issue 1862593005: Prerender need to be on the Oilpan heap. (Closed)

Created:
4 years, 8 months ago by sof
Modified:
4 years, 8 months ago
CC:
blink-reviews, blink-reviews-api_chromium.org, chromium-reviews, dglazkov+blink, gavinp+loader_chromium.org, gavinp+prerender_chromium.org, Nate Chapin, kinuko+watch, loading-reviews_chromium.org, tyoshino+watch_chromium.org, Yoav Weiss
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Prerender need to be on the Oilpan heap. The object implementing the PrerenderClient is LinkLoader, which is an object that's Oilpan heap allocated. Consequently, it cannot be kept Prerender as a bare pointer, but needs to be traced and accounted for during garbage collections. The simplest way to handle that is to move Prerender to the Oilpan heap. R=haraken,jochen BUG= Committed: https://crrev.com/31f5a364105b491bcded86af3e40b3552534335b Cr-Commit-Position: refs/heads/master@{#386007}

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -27 lines) Patch
M third_party/WebKit/Source/core/loader/LinkLoader.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/loader/PrerenderHandle.h View 1 chunk +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/loader/PrerenderHandle.cpp View 2 chunks +6 lines, -5 lines 2 comments Download
M third_party/WebKit/Source/platform/Prerender.h View 4 chunks +10 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/platform/Prerender.cpp View 2 chunks +8 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/platform/PrerenderClient.h View 2 chunks +4 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/exported/WebPrerender.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/public/platform/WebPrerender.h View 2 chunks +1 line, -5 lines 0 comments Download

Messages

Total messages: 20 (9 generated)
sof
please take a look.
4 years, 8 months ago (2016-04-06 21:22:38 UTC) #2
haraken
https://codereview.chromium.org/1862593005/diff/1/third_party/WebKit/Source/core/loader/PrerenderHandle.cpp File third_party/WebKit/Source/core/loader/PrerenderHandle.cpp (right): https://codereview.chromium.org/1862593005/diff/1/third_party/WebKit/Source/core/loader/PrerenderHandle.cpp#newcode70 third_party/WebKit/Source/core/loader/PrerenderHandle.cpp:70: detach(); Now you cannot touch m_prerender in the destructor?
4 years, 8 months ago (2016-04-07 00:08:12 UTC) #4
sof
https://codereview.chromium.org/1862593005/diff/1/third_party/WebKit/Source/core/loader/PrerenderHandle.cpp File third_party/WebKit/Source/core/loader/PrerenderHandle.cpp (right): https://codereview.chromium.org/1862593005/diff/1/third_party/WebKit/Source/core/loader/PrerenderHandle.cpp#newcode70 third_party/WebKit/Source/core/loader/PrerenderHandle.cpp:70: detach(); On 2016/04/07 00:08:12, haraken wrote: > > Now ...
4 years, 8 months ago (2016-04-07 05:12:13 UTC) #5
haraken
On 2016/04/07 05:12:13, sof wrote: > https://codereview.chromium.org/1862593005/diff/1/third_party/WebKit/Source/core/loader/PrerenderHandle.cpp > File third_party/WebKit/Source/core/loader/PrerenderHandle.cpp (right): > > https://codereview.chromium.org/1862593005/diff/1/third_party/WebKit/Source/core/loader/PrerenderHandle.cpp#newcode70 > ...
4 years, 8 months ago (2016-04-07 05:20:43 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1862593005/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1862593005/1
4 years, 8 months ago (2016-04-07 05:44:47 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/165642)
4 years, 8 months ago (2016-04-07 05:54:13 UTC) #10
sof
jochen@: could you take a look at the tweak to WebPrerender in public/ ? thanks
4 years, 8 months ago (2016-04-07 06:22:41 UTC) #12
jochen (gone - plz use gerrit)
lgtm
4 years, 8 months ago (2016-04-08 02:47:11 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1862593005/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1862593005/1
4 years, 8 months ago (2016-04-08 05:45:19 UTC) #16
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 8 months ago (2016-04-08 06:30:26 UTC) #18
commit-bot: I haz the power
4 years, 8 months ago (2016-04-08 06:31:33 UTC) #20
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/31f5a364105b491bcded86af3e40b3552534335b
Cr-Commit-Position: refs/heads/master@{#386007}

Powered by Google App Engine
This is Rietveld 408576698