Chromium Code Reviews
DescriptionFix 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 #
Messages
Total messages: 11 (3 generated)
|
||||||||||||||||||||||||||||