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

Issue 1763623002: Fix and adjust PageNavigationGC threshold (Closed)

Created:
4 years, 9 months ago by keishi
Modified:
4 years, 9 months ago
Reviewers:
oilpan-reviews, haraken
CC:
chromium-reviews, tyoshino+watch_chromium.org, oilpan-reviews, Mads Ager (chromium), loading-reviews_chromium.org, gavinp+loader_chromium.org, blink-reviews, kinuko+watch, Nate Chapin, kouhei+heap_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix and adjust PageNavigationGC threshold We originally tried to estimate removal rate by counting the (nodes of the detaching document) + (already deatached nodes). Page navigation threshold was scheduled even when we were navigating from about:blank because (already deatached nodes) count was inflated. Nodes detached from JS is already accounted for in estimatedLiveSize through collectedWrapperCount so we didn't need this. Add estimatedRemovateRatio threshold of 1% because PageNavigationGC is for emergencies and normal situations should be handled by idle GC. BUG=588029 Committed: https://crrev.com/f5ff205e2de07090a8dd52397b2573368fdc3229 Cr-Commit-Position: refs/heads/master@{#378973}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -8 lines) Patch
M third_party/WebKit/Source/core/loader/FrameLoader.cpp View 1 chunk +7 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/platform/heap/ThreadState.cpp View 2 chunks +4 lines, -2 lines 0 comments Download

Messages

Total messages: 11 (3 generated)
keishi
Fixing the estimatedRemovalRatio calculation reduces PageNavGC from around 10 to 5. (from about:blank to sfgate.com) ...
4 years, 9 months ago (2016-03-03 02:52:04 UTC) #2
haraken
LGTM to try. > Fixing the estimatedRemovalRatio calculation reduces PageNavGC from around 10 to 5. ...
4 years, 9 months ago (2016-03-03 02:57:31 UTC) #3
keishi
On 2016/03/03 02:57:31, haraken wrote: > LGTM to try. > > > Fixing the estimatedRemovalRatio ...
4 years, 9 months ago (2016-03-03 03:44:46 UTC) #4
haraken
On 2016/03/03 03:44:46, keishi wrote: > On 2016/03/03 02:57:31, haraken wrote: > > LGTM to ...
4 years, 9 months ago (2016-03-03 04:40:46 UTC) #5
keishi
On 2016/03/03 04:40:46, haraken wrote: > On 2016/03/03 03:44:46, keishi wrote: > > On 2016/03/03 ...
4 years, 9 months ago (2016-03-03 05:26:22 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1763623002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1763623002/1
4 years, 9 months ago (2016-03-03 05:26:48 UTC) #8
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 9 months ago (2016-03-03 06:44:41 UTC) #9
commit-bot: I haz the power
4 years, 9 months ago (2016-03-03 06:45:54 UTC) #11
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/f5ff205e2de07090a8dd52397b2573368fdc3229
Cr-Commit-Position: refs/heads/master@{#378973}

Powered by Google App Engine
This is Rietveld 408576698