commit | 737f39934010cf7866be2b322b7dcd95bffd9d48 | [log] [tgz] |
---|---|---|
author | Jiacheng Guo <gjc@chromium.org> | Thu Mar 16 04:52:22 2023 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Mar 16 04:52:22 2023 |
tree | 2f7d1620de15d8a06b33b7d4cae557936aca8709 | |
parent | 28d0c357725662b924eb0571f3ffdd7bb3547e61 [diff] |
Keep strong references to the resources in the memory cache The CL adds an LRU cache to the blink memory cache with strong references to the resources. The strong references will be removed when * The freshness timeout of the resource has expired. * Memory pressure is signaled. All the strong references are removed. * After 5 minute timeout after the original page is unloaded. The design doc can be found at https://docs.google.com/document/d/1jcdXkoFBbdxmp_EYIrrOJvEgYd0hGBAr4Nbno7KWnIs/edit#heading=h.3esx691s5nmc Bug: 1409349 Change-Id: I1a3ce9eb46512ac3cb2747594755542d42630303 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4190775 Reviewed-by: Takashi Toyoshima <toyoshim@chromium.org> Reviewed-by: Hiroshige Hayashizaki <hiroshige@chromium.org> Commit-Queue: Jiacheng Guo <gjc@google.com> Cr-Commit-Position: refs/heads/main@{#1117940}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.