Skip to content

Commit

Permalink
Drop unused new ht and epoch gc (#437)
Browse files Browse the repository at this point in the history
This PR drops the more recent implementation of the faster hashtable,
which although it's faster, it's not built to support transactions and,
even if they would be "forced" into the architecture as the only goal of
this implementation was to allow parallel access having the transaction
would negate this core benefit.

For this reason I decided to drop all the code related to the new and
faster hashtable as well as the epoch gc support. There are other bits
that were implemented to support these two components that aren't
removed as they are small things that can be useful in the future.
  • Loading branch information
danielealbano committed Oct 19, 2023
1 parent 63ccd88 commit b0e8fe9
Show file tree
Hide file tree
Showing 82 changed files with 3 additions and 7,405 deletions.
2 changes: 1 addition & 1 deletion 3rdparty/mimalloc
Submodule mimalloc updated 72 files
+40 −80 CMakeLists.txt
+1 −17 azure-pipelines.yml
+ bin/mimalloc-redirect.dll
+ bin/mimalloc-redirect.lib
+ bin/mimalloc-redirect32.dll
+ bin/mimalloc-redirect32.lib
+2 −2 cmake/mimalloc-config-version.cmake
+1 −1 doc/doxyfile
+5 −5 doc/mimalloc-doc.h
+1 −1 docs/build.html
+2 −2 ide/vs2017/mimalloc-override-test.vcxproj
+5 −8 ide/vs2017/mimalloc-override.vcxproj
+6 −18 ide/vs2017/mimalloc-override.vcxproj.filters
+2 −2 ide/vs2017/mimalloc-test-stress.vcxproj
+3 −3 ide/vs2017/mimalloc-test.vcxproj
+71 −71 ide/vs2017/mimalloc.sln
+13 −10 ide/vs2017/mimalloc.vcxproj
+12 −18 ide/vs2017/mimalloc.vcxproj.filters
+4 −7 ide/vs2019/mimalloc-override.vcxproj
+6 −18 ide/vs2019/mimalloc-override.vcxproj.filters
+11 −14 ide/vs2019/mimalloc.vcxproj
+10 −22 ide/vs2019/mimalloc.vcxproj.filters
+5 −18 ide/vs2022/mimalloc-override.vcxproj
+0 −107 ide/vs2022/mimalloc-override.vcxproj.filters
+0 −7 ide/vs2022/mimalloc-test-api.vcxproj
+2 −2 ide/vs2022/mimalloc-test-stress.vcxproj
+17 −19 ide/vs2022/mimalloc.vcxproj
+0 −96 ide/vs2022/mimalloc.vcxproj.filters
+8 −55 include/mimalloc-atomic.h
+226 −89 include/mimalloc-internal.h
+62 −0 include/mimalloc-track.h
+24 −85 include/mimalloc-types.h
+37 −45 include/mimalloc.h
+0 −323 include/mimalloc/prim.h
+0 −147 include/mimalloc/track.h
+84 −149 readme.md
+50 −42 src/alloc-aligned.c
+4 −4 src/alloc-override-osx.c
+2 −4 src/alloc-override.c
+3 −4 src/alloc-posix.c
+95 −124 src/alloc.c
+167 −567 src/arena.c
+42 −60 src/bitmap.c
+1 −5 src/bitmap.h
+22 −46 src/heap.c
+98 −91 src/init.c
+170 −99 src/options.c
+1,060 −270 src/os.c
+24 −37 src/page.c
+0 −9 src/prim/osx/prim.c
+0 −24 src/prim/prim.c
+0 −9 src/prim/readme.md
+0 −859 src/prim/unix/prim.c
+0 −275 src/prim/wasi/prim.c
+0 −61 src/prim/windows/etw-mimalloc.wprp
+0 −905 src/prim/windows/etw.h
+ src/prim/windows/etw.man
+0 −622 src/prim/windows/prim.c
+0 −17 src/prim/windows/readme.md
+156 −6 src/random.c
+516 −0 src/region.c
+409 −0 src/segment-cache.c
+0 −153 src/segment-map.c
+168 −164 src/segment.c
+14 −15 src/static.c
+205 −54 src/stats.c
+0 −9 test/main-override-static.c
+6 −63 test/main-override.cpp
+5 −6 test/test-api-fill.c
+8 −37 test/test-api.c
+7 −21 test/test-stress.c
+2 −24 test/test-wrong.c
199 changes: 0 additions & 199 deletions benches/bench-hashtable-mpmc-new-op-get.cpp

This file was deleted.

0 comments on commit b0e8fe9

Please sign in to comment.