Skip to content

sslab-gatech/UniAlloc

Repository files navigation

UNIALLOC: A Retargetable Rust Memory Allocator

Build

$ cargo build

Test and Benchmarking

    1. Disable system-wide restartable-sequence
$ export GLIBC_TUNABLES=glibc.pthread.rseq=0
    1. Use unialloc as GlobalAllocator
use unialloc::UniAlloc;
#[global_allocator]
static OURSELF: UniAlloc = UniAlloc;

// more examples in unialloc/examples
    1. Unit tests
$ cargo test
    1. benchmarking
$ cargo bench --bench std_bench

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages