DescriptionService Worker: Delay stale resource cleanup
Before this patch, we eagerly cleaned up purgeable resources when the
ServiceWorkerStorage object is initialized, which could result in an IO
flurry at browser startup. This patch:
- Cleans up uncommitted resources (not just purgeable resources) left
over from the last browser session
- Performs that cleanup lazily, when a mutation of the
purgeable or uncommitted resources is about to occur
BUG=388095
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=282035
Patch Set 1 #Patch Set 2 : style #Patch Set 3 : style #
Total comments: 10
Patch Set 4 : review comments #Patch Set 5 : patch for landing #
Messages
Total messages: 14 (0 generated)
|