Closed khegeman closed 9 years ago
I get a similar error on the cdsu-set test
Set_DelOdd::SkipListSet_hp_less_pascal
Insert thread count=8 delete thread count=4 extract thread count=4 set size=1000000
EXCEPTION:
Too few hazard pointersSet_InsDelFind::MichaelSet_HP_cmp_stdAlloc
Thread count=8 initial map size=500000 insert=5% delete=5% duration=30s
Load factor=1
I think, Hazard Pointer SMR is initialized by default. Usually, it means that no test.conf (or test-debug.conf for debug build) is provided for test. By default, test suite uses ./test.conf (for debug build - ./test-debug.conf). The example of those files is located in tests/data directory.
The top of test report tells the count of Hazard Pointer like this:
Use in-place scan strategy for Hazard Pointer memory reclamation algorithm Hazard Pointer count: 72 Max thread count for HP: 100 Retired HP array capacity: 1600
That was exactly what was happening. I submitted a pull request to copy the conf files to the bin directory when cmake is run.
assertion happens on linux with both g++ 4.8 and clang 3.5
It happens during this test
CMAKE_BUILD_TYPE=DEBUG
with clang, I used libc++. CMAKE_CXX_FLAGS=-stdlib=libc++