- g++-8
- cmake
- https://github.com/google/benchmark
- Make sure to use g++-8 when doing the
cmake
commands. Once you've generated the Makefile for this, runmake install
to install it onto your system
- Make sure to use g++-8 when doing the
Clone this directory. Then run compile.sh
. This will use cmake to generate
a makefile to build any tests and benchmarks. Navigate to the build
directory
and run make
. You should be able to run the executables.
- Problem: Should we call
malloc/free
if the size of the object allocated in theSlabAllocator.allocate()
shouldSingleAllocator
s allowed to be arbitrarily large?- Mostly solved by just increasing the size of SingleAllocator. May cause issues with vectors, but for now just assuming it's fine.
- Lock free stack
- Make the
all_slabs
lock free so that we can support serialization