aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/test
diff options
context:
space:
mode:
authorGravatar tomlu <tomlu@google.com>2018-08-09 09:22:46 -0700
committerGravatar Copybara-Service <copybara-piper@google.com>2018-08-09 09:23:51 -0700
commit7777f4805086fc5998240772f7b3906a40bc3ec0 (patch)
treee77e79b469a6b849e45d559397c24dc3b4c71878 /src/test
parentb59d65443a9df242b1c6ba9ef0912ff02941a123 (diff)
Reduce contention in the digest map.
During reads and writes a read lock is taken. If we need to resize the table, a write lock is taken to flush all the readers and writers before the table is resized. The read lock should be significantly cheaper than full synchronisation since multiple threads can grab a read lock at once. RELNOTES: None PiperOrigin-RevId: 208059810
Diffstat (limited to 'src/test')
0 files changed, 0 insertions, 0 deletions