snmalloc
snmalloc copied to clipboard
Message passing based allocator
In situations such as https://github.com/openenclave/openenclave/pull/3292, where memory is constrained (typically using `SNMALLOC_USE_SMALL_CHUNKS`) and having a precise understanding of total consumption is desirable, having reference documentation detailing how snmalloc uses memory...
Windows can allocate superpages with VirtualAlloc2 and the MEM_LARGE_PAGES flag. This gives better TLB usage at the expense of some memory overhead. We should provide it as an option.
I open this issue just to provide some information about android cross compile: First thing is that, `android-ndk` do not have backtrace, hence, we need some workaround like [chromium](https://android.googlesource.com/platform/external/chromium/+/gingerbread-release/android/execinfo.h). Second,...
Based on [mimalloc](http://github.com/microsoft/mimalloc)'s design we have managed to dramatically improve the performance on snmalloc. We should * Rerun our benchmarking infrastructure to compare - snmalloc submitted to ISMM - snmalloc...
In #88, we implemented enough backtrace to flush out some CI failures for Windows. This should be refactored. * We should always call Pal::error instead of abort. * Assert should...
Based on the work in #109 alignment with `snmalloc` can be implemented extremely efficiently: just two additional instructions, which can be optimised away if the alignment is known to be...
The Darwin malloc implementation has a feature (enabled by an environment variable) that records, for each allocation or deallocation event: - The size of the allocation. - The address of...
We should have an equivalent of test\func\malloc for new.cc. This currently not tested, except in CI through LD_PRELOAD.
QEMU 7.1 will begin loongarch support: https://wiki.qemu.org/ChangeLog/7.1#LoongArch. Currently, everything works but all `check` variants: ``` qemu-loongarch64 -strace /home/schrodinger/Downloads/loongarch64-clfs-6.0-cross-tools-gcc_and_clang-full/cross-tools/target/usr/lib64/ld-linux-loongarch-lp64d.so.1 --library-path /home/schrodinger/Downloads/loongarch64-clfs-6.0-cross-tools-gcc_and_clang-full/cross-tools/target/usr/lib64 ./func-thread_alloc_external-check ``` 