- Oct 03, 2019
-
-
Igor Chorazewicz authored
-
Igor Chorazewicz authored
-
Igor Chorazewicz authored
Until now, data in sso was accessed using pmem::obj::array::operator[]. This operator snapshots data which has some performance cost (even if the data is already snapshotted). This patch change all calls to pmem::obj::array::operator[] which are alredy preceded by snapshotting entire sso, by calls to operator[] on direct array of element (_data member).
-
Igor Chorazewicz authored
-
Igor Chorazewicz authored
-
Igor Chorazewicz authored
Rename method to 'add_data_to_tx' and change last parameter meaning. Now, last parameter is number of elements to snapshot instead of index of last element.
-
Igor Chorazewicz authored
This test tests that there is no memcheck error during snapshoting elements (if element have some uninitialized memory).
-
Igor Chorazewicz authored
This flag is needed for objects which are not fully initliazed (for example pmem::obj::string). Vector always snapshots entires object and if there are some uninitialized bytes, memcheck will report an error.
-
Igor Chorazewicz authored
-
Szymon Romik authored
concurrent_hash_map: remove dependency from v<>
-
Igor Chorazewicz authored
-
Szymon Romik authored
Remove internal aliases from concurrent hash map interface
-
Szymon Romik authored
Add new data structure: segment_table
-
- Oct 02, 2019
-
-
Igor Chorazewicz authored
-
Szymon Romik authored
Add concurrent_hash_map usage example for doxygen
-
Igor Chorazewicz authored
for consistency with other types.
-
Pawel Karczewski authored
-
Valeev Arslan authored
Refactoring tests to share vector tests between vector and segment_table
-
Szymon Romik authored
Increase timeout for valgrind tests on travis
-
Szymon Romik authored
test_package and test_findLIBPMEMOBJ_cmake runs use libpmemobj 1.4
-
Szymon Romik authored
-
Igor Chorazewicz authored
So that concurrent_hash_map_drd tests will not fail.
-
Szymon Romik authored
Remove unnecessary #include <libpmemobj.h>
-
Szymon Romik authored
Node std layout
-
Igor Chorążewicz authored
remove TTB info from README
-
Igor Chorazewicz authored
-
Igor Chorążewicz authored
Update appveyor to use PMDK v1.7
-
- Oct 01, 2019
-
-
Lukasz Dorau authored
-
Szymon Romik authored
concurrent_hash_map: introduce internal scoped_lock_traits
-
Szymon Romik authored
it is outdated and redundant
-
Pawel Karczewski authored
-
Pawel Karczewski authored
To achieve that classes node and hash_map_node_base was merged into one class hash_map_node.
-
Igor Chorazewicz authored
to generically implement upgrade/downgrade operations. If scoped_lock_type implements upgrade_to_writer and downgrade_to_reader then traits class will just call those methods, otherwise it will provide default implementation.
-
Szymon Romik authored
Fix persistent_pool_ptr swap() method signature
-
Szymon Romik authored
Do not allow concurrent_hash_map concurrent methods in a transaction
-
Igor Chorazewicz authored
to make sure it is consistent in singlethreaded methods like clear() and assignment operators in case of transaction abort.
-
Igor Chorazewicz authored
-
Igor Chorazewicz authored
-
Igor Chorazewicz authored
All methods that take locks on bucket/elements MUST NOT be called in a transaction. If this was allowed, transaction could abort after releasing locks and values would be modified without holding a lock.
-
Szymon Romik authored
Hashmap code cleanup
-