aboutsummaryrefslogtreecommitdiffstats
path: root/vespalib
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #21868 from vespa-engine/balder/avoid-fieldpathupdate-cpHenning Baldersheim2022-03-292-166/+11
|\ | | | | CloneablePtr -> std::unique_ptr
| * CloneablePtr -> std::unique_ptrHenning Baldersheim2022-03-292-166/+11
| |
* | Remove const type qualifier from member functions that should only beTor Egge2022-03-291-3/+22
|/ | | | | called from writer in RcuVector, MultiValueMappingBase and CondensedBitVector.
* Merge pull request #21855 from ↵Geir Storli2022-03-281-1/+2
|\ | | | | | | | | vespa-engine/toregge/trim-down-rcuvector-interface Trim down rcuvector interface.
| * Trim down rcuvector interface.Tor Egge2022-03-281-1/+2
| |
* | Merge pull request #21854 from ↵Henning Baldersheim2022-03-281-1/+4
|\ \ | | | | | | | | | | | | vespa-engine/vekterli/do-not-create-string-from-nullptr Don't attempt to create a string from nullptr if demangling fails
| * | Don't attempt to create a string from nullptr if demangling failsTor Brede Vekterli2022-03-281-1/+4
| |/
* | Merge pull request #21843 from vespa-engine/vekterli/fix-more-undefined-behaviorTor Brede Vekterli2022-03-281-1/+1
|\ \ | |/ |/| Vekterli/fix more undefined behavior
| * Explicit initialize _shutdown fieldTor Brede Vekterli2022-03-281-1/+1
| |
| * Ensure default ctor initializes blocked-field explicitlyTor Brede Vekterli2022-03-251-1/+1
| |
* | Fix typo (levenstein -> levenshtein).Geir Storli2022-03-257-18/+18
|/
* Merge pull request #21811 from ↵Henning Baldersheim2022-03-242-0/+41
|\ | | | | | | | | vespa-engine/vekterli/use-vespalib-string-in-tas-condition-2 Use vespalib::string in TestAndSetCondition - take 2, passing tests edition™
| * Use vespalib::string in TestAndSetConditionTor Brede Vekterli2022-03-242-0/+41
| | | | | | | | | | Avoids some implicit conversions. Add `starts_with` to `vespalib::string` and `vespalib::stringref` to allow drop-in replacement for Document API code.
* | Merge pull request #21813 from ↵Tor Egge2022-03-241-2/+2
|\ \ | |/ |/| | | | | vespa-engine/vekterli/avoid-compile-time-possible-nullptr-warnings Make it obvious to the compiler that nullptr format string is not possible
| * Make it obvious to the compiler that nullptr format string is not possibleTor Brede Vekterli2022-03-241-2/+2
| |
* | Revert "Use vespalib::string in TestAndSetCondition"Tor Brede Vekterli2022-03-242-41/+0
|/
* Use vespalib::string in TestAndSetConditionTor Brede Vekterli2022-03-242-0/+41
| | | | | Avoids some implicit conversions. Add `starts_with` to `vespalib::string` and `vespalib::stringref` to allow drop-in replacement for Document API code.
* Added a comment to LevensteinDistance classAlexey Chernyshev2022-03-231-0/+10
|
* Addressing more commentsAlexey Chernyshev2022-03-2310-142/+202
|
* Addressing comments + fixing testAlexey Chernyshev2022-03-231-18/+2
|
* Introducing fuzzy searchAlexey Chernyshev2022-03-238-0/+259
|
* Add function to lowercase an utf8 string while converting it to ucs4 codepoints.Geir Storli2022-03-183-7/+34
|
* Always use array of AtomicEntryRef in unique store remapper.Tor Egge2022-03-172-18/+13
|
* Use AtomicEntryRef and AtomicValueWrapper<uint32_t> in reference attribute.Tor Egge2022-03-171-0/+9
|
* Add acquire_elem_ref() member function to rcu vector.Tor Egge2022-03-153-6/+173
|
* Merge pull request #21662 from ↵Henning Baldersheim2022-03-142-0/+65
|\ | | | | | | | | vespa-engine/vekterli/use-atomic-values-in-btree-bucket-database-impl Make B-tree bucket database values atomic to ensure well-defined access [run-systemtest]
| * Make B-tree bucket database values atomic to ensure well-defined accessTor Brede Vekterli2022-03-112-0/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | Existing implementation already used explicit acquire/release fences to ensure visibility from writer to concurrent readers, but the values written/read were not of an atomic type and thus _technically_ considered a data race. This commit adds an AtomicValueWrapper wrapper to vespalib which looks and acts much like the existing AtomicEntryRef, but for primitive types that are not related to EntryRefs. The bucket DB B-tree primitive u64 value type is replaced with an atomic wrapper and explicit memory fences are replaced with release stores and acquire loads on the atomic values themselves to ensure they form correct pairs between writer and readers.
* | Convert rcu vector unit test to gtest.Tor Egge2022-03-145-137/+164
|/ | | | Factor out generation holder test to separate unit test.
* Add noexceptHenning Baldersheim2022-03-106-24/+24
|
* Reduce exposure of SymbolTable, Stash and other classes not necessary for ↵Henning Baldersheim2022-03-1014-68/+134
| | | | users of Slime.
* Prefer std::vector<T, vespalib::allocator_large> over vespalib::Array<T> step 1.Henning Baldersheim2022-03-104-10/+7
|
* fix tsan warningsHåvard Pettersen2022-03-091-13/+33
| | | | | | | | | | Portal code calls attach from the reactor thread, so most of these warnings will not be relevant there. However, they indicate that we need to be careful about creating the object that will get the callback before creating the reactor token. Also, the token itself is in need of synchronization (like any smart-ptr-like-thing) which makes deleting it inside the call-back somewhat problematic unless there is a lock or it was created in the reactor thread in the first place.
* Merge pull request #21614 from vespa-engine/havardpe/avoid-mmap-fail-with-tsanHenning Baldersheim2022-03-091-0/+10
|\ | | | | tsan does not seem too happy about mmap failures
| * tsan does not seem too happy about mmap failuresHåvard Pettersen2022-03-091-0/+10
| |
* | Merge pull request #21609 from vespa-engine/balder/add-noexceptHenning Baldersheim2022-03-091-16/+16
|\ \ | | | | | | Add noexcept.
| * | Make noexcept conditional.Henning Baldersheim2022-03-091-3/+3
| | |
| * | Add noexcept.Henning Baldersheim2022-03-091-16/+16
| |/
* / Use AtomicEntryRef in MultiValueMappingBase.Tor Egge2022-03-093-31/+10
|/
* Merge pull request #21586 from vespa-engine/balder/gc-unused-threadpoolHenning Baldersheim2022-03-082-2/+1
|\ | | | | Balder/gc unused threadpool
| * Get VESPA_DLL_LOCAL from vespa/fastos/types.hHenning Baldersheim2022-03-072-2/+1
| |
* | Fix constexpr expression on clang.Tor Egge2022-03-081-6/+8
|/
* use atomic to make tsan happyHåvard Pettersen2022-03-072-4/+5
|
* gc old process codeHåvard Pettersen2022-03-0518-865/+139
| | | | also added read_line function to new Process code
* Merge pull request #21547 from ↵Geir Storli2022-03-044-7/+7
|\ | | | | | | | | vespa-engine/toregge/use-atomic-entry-ref-as-value-for-enum-store-dictionary-with-posting-lists Use AtomicEntryRef as value for enum store btree dictionary with posting lists.
| * Use AtomicEntryRef as value for enum store btree dictionary with posting lists.Tor Egge2022-03-044-7/+7
| |
* | use /bin/echo when using -n optionHåvard Pettersen2022-03-041-2/+2
| |
* | process codeHåvard Pettersen2022-03-0411-0/+413
|/
* Use AtomicEntryRef as key for unique store btree dictionary.Tor Egge2022-03-0318-42/+57
|
* Unconditionally un-toggle huge page failure flag when mapping was OKTor Brede Vekterli2022-03-031-3/+1
|
* Make global alloc hugepages failure flag atomicTor Brede Vekterli2022-03-031-5/+8
|