mirror of
https://github.com/girlbossceo/jemallocator.git
synced 2024-11-25 22:46:30 +00:00
commit
9da27b39dd
|
@ -48,7 +48,7 @@ const MIN_ALIGN: usize = 8;
|
||||||
const MIN_ALIGN: usize = 16;
|
const MIN_ALIGN: usize = 16;
|
||||||
|
|
||||||
fn layout_to_flags(align: usize, size: usize) -> c_int {
|
fn layout_to_flags(align: usize, size: usize) -> c_int {
|
||||||
// If our alignment is less than the minimum alignment they we may not
|
// If our alignment is less than the minimum alignment, then we may not
|
||||||
// have to pass special flags asking for a higher alignment. If the
|
// have to pass special flags asking for a higher alignment. If the
|
||||||
// alignment is greater than the size, however, then this hits a sort of odd
|
// alignment is greater than the size, however, then this hits a sort of odd
|
||||||
// case where we still need to ask for a custom alignment. See #25 for more
|
// case where we still need to ask for a custom alignment. See #25 for more
|
||||||
|
|
Loading…
Reference in a new issue