commit | 1ea0b73893618f670ab9e441f2813f4f226892ee | [log] [tgz] |
---|---|---|
author | Daniel Murphy <dmurph@chromium.org> | Fri Jan 11 01:56:53 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Jan 11 01:56:53 2019 |
tree | bf6a7fabebc77a2602ee2c57caccbf66a6ae546a | |
parent | e5b2aa63543ff98b926378a7a2c7fefac046cab5 [diff] |
[LevelDBScopes] Making all scopes lock ranges bytewise compared The locking system of LevelDB scopes doesn't need to match the key system of the backing leveldb database. Tieing them together means that the leveldb comparator has to handle both leveldb and lock keys, and these aren't necessarily the same. To avoid making the comparator slower for leveldb by adding more logic, make the ScopesLockManager locks always be bytewise-compared. See this doc for more context: https://docs.google.com/document/d/1jX6OOQJ0aLrWAeqYLtARXPFawUlJPbHNIKAK-0vmFHU/edit#heading=h.yifj0a13oqdj Bug: 862456 Change-Id: I56ec1f7328eadacda91c68a64047e0d84e458376 Reviewed-on: https://chromium-review.googlesource.com/c/1406288 Commit-Queue: Daniel Murphy <dmurph@chromium.org> Commit-Queue: Victor Costan <pwnall@chromium.org> Reviewed-by: Victor Costan <pwnall@chromium.org> Cr-Commit-Position: refs/heads/master@{#621860}
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.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .