DescriptionLimit dead resource capacity in Blink cache to 50%.
Blink resource cache distinguishes between live and dead resources depending on
whether clients of the resources are still around.
The cache capacity is defined in terms of total capacity and dead resource
capacity - the part of total capacity that may be consumed by dead resources.
Currently we explicitly set "max_dead_capacity = capacity;", i.e. we allow
dead resources to potentially consume all of the cache space. While keeping
some dead resources around makes sense from the performance perspective,
allowing them to constitute a majority of cache space makes renderers that are
used for long one-site multiple-pages browsing sessions bloat with resources of
little value.
This patch limits dead resource capacity to 50% of total cache capacity,
putting a cap on dead resource bloat for long-lived renderers.
BUG=260662
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=212392
Patch Set 1 #
Messages
Total messages: 8 (0 generated)
|