v8 code cache: avoid discarding for sw and inline scripts
CachedMetadataHandlers for inline scripts should not be discarded as part of the experiment because: 1. they were not found to occupy a lot of memory in local experiments 2. there is no mechanism to prevent them from setting the timestamp again and rewriting the cache on disk, which is harder to analyse and imples unnecessary CPU/disk usage Ignoring the discarding for SW scripts just for the reason (1) above and for consistency, to make it easier to reason about. Bug: 1045052 Change-Id: I010037fad0a1354e424fa2cab3e0d48db5a033ec Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2144107Reviewed-by:Leszek Swirski <leszeks@chromium.org> Reviewed-by:
Kinuko Yasuda <kinuko@chromium.org> Commit-Queue: Egor Pasko <pasko@chromium.org> Cr-Commit-Position: refs/heads/master@{#760142}
Showing
Please register or sign in to comment