Struct tikv_jemalloc_ctl::opt::zero[][src]

pub struct zero;
Expand description

jemalloc’s zeroing behavior.

Requires --enable-fill to have been specified during build configuration.

If enabled, jemalloc will initialize each byte of uninitialized allocated memory to 0. This is intended for debugging and will impact performance negatively. It is disabled by default.

Examples

use tikv_jemalloc_ctl::opt;
let zero = opt::zero::read().unwrap();
println!("zeroing: {}", zero);

Implementations

Returns Management Information Base (MIB)

This value can be used to access the key without doing string lookup.

Key [::keys::Name].

Reads value using string API.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.