Function jemalloc_ctl::opt::dss [−][src]
pub fn dss() -> Result<&'static str>
Returns the dss (sbrk(2)) allocation precedence as related to mmap(2) allocation.
The following settings are supported if sbrk(2) is supported by the operating system:
"disabled", "primary", and "secondary"; otherwise only "disabled" is supported. The default is
"secondary" if sbrk(2) is supported by the operating system; "disabled" otherwise.
Examples
extern crate jemallocator; extern crate jemalloc_ctl; #[global_allocator] static ALLOC: jemallocator::Jemalloc = jemallocator::Jemalloc; fn main() { println!("dss priority: {}", jemalloc_ctl::opt::dss().unwrap()); }