Use a shared LevelDB block cache for LevelDB instances.
There will be one shared block cache for all users of LevelDB::Init, and a separate one for All IndexedDB instances. The default is 8MB, but it's 512KB for low-memory Android devices. Previously, each instance would get its own block cache, and use the default LevelDB settings for such a cache, which is 8MB (*) (*) https://cs.chromium.org/chromium/src/third_party/leveldatabase/src/include/leveldb/options.h?gsn=Options&l=96 Bug: 711518 Change-Id: I6a64467815489ae7695b8db9b9074170d9e56d94 Reviewed-on: https://chromium-review.googlesource.com/567583 Commit-Queue: Chris Harrelson <chrishtr@chromium.org> Reviewed-by:Daniel Murphy <dmurph@chromium.org> Reviewed-by:
Marijn Kruisselbrink <mek@chromium.org> Reviewed-by:
Tommy Nyquist <nyquist@chromium.org> Cr-Commit-Position: refs/heads/master@{#486934}
Showing
Please register or sign in to comment