Files
leveldb/util
ssid 706b7f8d43 Resolve race when getting approximate-memory-usage property
The write operations in the table happens without holding the mutex
lock, but concurrent writes are avoided using "writers_" queue.
The Arena::MemoryUsage could access the blocks when write happens.
So, the memory usage is cached in atomic word and can be loaded
from any thread safely.
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=107573379
2015-12-09 11:27:50 -08:00
..
2013-12-10 10:36:31 -08:00
2015-12-09 10:34:58 -08:00
2013-12-10 10:36:31 -08:00
2012-10-12 11:53:12 -07:00
2011-10-31 17:22:06 +00:00
2011-10-31 17:22:06 +00:00
2011-10-31 17:22:06 +00:00
2011-10-31 17:22:06 +00:00
2012-04-17 08:36:46 -07:00
2014-09-16 14:19:52 -07:00
2014-09-16 14:19:52 -07:00
2011-10-31 17:22:06 +00:00
2011-10-31 17:22:06 +00:00
2014-09-16 14:19:52 -07:00
2014-09-16 14:19:52 -07:00
2012-10-12 11:53:12 -07:00
2011-10-31 17:22:06 +00:00
2013-08-21 11:12:47 -07:00
2011-10-31 17:22:06 +00:00
2013-12-10 10:36:31 -08:00
2011-10-31 17:22:06 +00:00
2013-12-10 10:36:31 -08:00