- Jul 06, 2021
-
-
Łukasz Stolarczuk authored
tests: do not use basic_string_view comparison as a workaround
-
Łukasz Stolarczuk authored
Radix tree: make mt mode a template parameter
-
Łukasz Stolarczuk authored
mpsc_queue: do not call ringbuf_consume/release with number of byte
-
- Jul 05, 2021
-
-
Igor Chorążewicz authored
for C2593: 'operator ==' is ambigous on Visual Studio 14.0
-
Igor Chorążewicz authored
-
Igor Chorążewicz authored
if !MtMode. This improves performance for single-threaded workloads. After this change performance difference when using MtMode true vs false is ~ 15% for readseq in pmemkv-bench benchmarks for radix.
-
Igor Chorążewicz authored
This allows for better optimization and getting rid of atomic operations in single-threaded workloads.
-
Igor Chorążewicz authored
but rather with number of cachelines. This allows to workaround the size limitation.
-
Igor Chorążewicz authored
-
Łukasz Stolarczuk authored
radix_tree: fix pmemcheck annotation
-
Łukasz Stolarczuk authored
Add helgrind/drd suppress files for valgrind 3.17
-
Igor Chorążewicz authored
-
- Jul 02, 2021
-
-
Łukasz Stolarczuk authored
mpsc_queue: allow interrupting try_consume_batch
-
Igor Chorążewicz authored
Use annotation only if PMEMCHECK is enabled (not just any valgrind tool).
-
Igor Chorążewicz authored
If interrupt (exception) happens, next try_consume_batch will resume from the previous position.
-
Łukasz Stolarczuk authored
inline_string: do not check if inline_string is on pmem
-
Łukasz Stolarczuk authored
Radix: concurrent erase
-
Igor Chorążewicz authored
In pmemkv we have a use for keeping inline_string in DRAM. It's also safe (unlike for e.g. pmem::obj::string) since inline_string does not manage allocations.
-
Igor Chorążewicz authored
radix_tree: fix key comparison in internal_bound
-
- Jul 01, 2021
-
-
Łukasz Stolarczuk authored
Ubsan fixes
-
Łukasz Stolarczuk authored
Weekly fixes
-
Igor Chorążewicz authored
p_ext_0_none fails with: "runtime error: shift exponent 127 is too large for 32-bit type 'int'" concurrent_hash_map_layout_0_none fails with: "runtime error: reference binding to null pointer of type ..."
-
Igor Chorążewicz authored
Cast to unsigned was in wrong place. We casted result of assignemnt which already overflowed which resulted in the follwowing error in multiple radix tests under UBSAN: "runtime error: signed integer overflow: 5 + 2147483647 cannot be represented in type 'int'"
-
Igor Chorążewicz authored
Previously it was default-initialized to nullptr in copy ctor from non-const iterator which resulted in the following error for multiple radix tests under UBSAN: "runtime error: member call on null pointer of type ..."
-
Igor Chorążewicz authored
Original implementation resulted in the following error in multiple radix tests under UBSAN: "runtime error: reference binding to misaligned address 0x7fc4f7bc08dc for type 'const double', which requires 8 byte alignment"
-
Igor Chorążewicz authored
Key's bytes should be compared as unsigned chars. Otherwsie thse comparison will yield incorrect result for values < 0.
-
Łukasz Stolarczuk authored
Radix tree concurrent fix
-
- Jun 30, 2021
-
-
Igor Chorążewicz authored
Found by weekly USAN tests
-
Igor Chorążewicz authored
* add missing pmreorder suffix * remove unnecessary mpsc_queue prefix
-
- Jun 29, 2021
-
-
Jan Dorniak authored
-
Jan Dorniak authored
Simplify previously imported EBR to C++. Modify radix_tree to work with it. Add tests to check if garbage collection is done properly when we are erasing and reading concurrently from the radix.
-
Igor Chorążewicz authored
they are not compatible
-
- Jun 28, 2021
-
-
Igor Chorążewicz authored
mpsc_queue: improvements needed by multi-tier engine
-
Igor Chorążewicz authored
-
Igor Chorążewicz authored
in radix_tree_iterator::operator++/-- <-> internal_bound. The recursion caused stack overflow errors, e.g. : https://github.com/pmem/libpmemobj-cpp/issues/1091
-
- Jun 25, 2021
-
-
Łukasz Stolarczuk authored
Fix Clang detection
-
Łukasz Stolarczuk authored
CI: add new workflow with more jobs
-
michalbiesek authored
- use CMAKE_CXX_COMPILER_VERSION/CMAKE_C[XX]_COMPILER_ID for setting compiler conditions - fixes #1090
-
Łukasz Stolarczuk authored
by renaming 'other_OSes.yml' to 'nigthly.yml' and reordering some jobs.
-
Łukasz Stolarczuk authored
executing USAN, UBSAN and valgrind tests using upstream valgrind's package.
-