aboutsummaryrefslogtreecommitdiffstats
path: root/vespalib/src/tests/util/rcuvector/rcuvector_test.cpp
Commit message (Collapse)AuthorAgeFilesLines
* - Stick to using GrowStragey everywhere.Henning Baldersheim2022-05-231-14/+14
| | | | - Store the full config in the rcu vector.
* Add acquire_elem_ref() member function to rcu vector.Tor Egge2022-03-151-5/+146
|
* Convert rcu vector unit test to gtest.Tor Egge2022-03-141-137/+115
| | | | Factor out generation holder test to separate unit test.
* Handle 64K page size in alloc unit test and rcuvector unit test.Tor Egge2022-02-171-10/+18
|
* Keep using same memory allocator when resizing rcu vector.Tor Egge2022-02-091-0/+72
|
* Use EntryRefFilter to filter calls to UniqueStoreRemapper::remap() forTor Egge2021-12-071-11/+5
| | | | | single refs. Use less indirection for RcuVectorHeld.
* Update 2017 copyright notices.gjoranv2021-10-071-1/+1
|
* use size literals in vespalibArne Juul2021-02-151-3/+4
|
* Move RcuVector and relevant support classes to vespalibTor Brede Vekterli2019-05-231-0/+296
Having RCU support available across all our C++ modules open up new opportunities for optimizations. This changes the following: - `RcuVector` moved from `searchlib` to `vespalib` - `MemoryUsage` moved from `searchlib` to `vespalib` - Introduce a simplified, more generic `GrowStrategy` in `vespalib` used by the moved `RcuVector` which does not have any notion of documents. Existing searchlib `GrowStrategy` gets a simple function to convert to this generic strategy.