mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-25 14:23:12 +00:00
Remove a size class assertion from extent_size_quantize_floor().
Extent coalescence can result in legitimate calls to extent_size_quantize_floor() with size larger than LARGE_MAXCLASS.
This commit is contained in:
@@ -117,7 +117,6 @@ extent_size_quantize_floor(size_t size)
|
|||||||
pszind_t pind;
|
pszind_t pind;
|
||||||
|
|
||||||
assert(size > 0);
|
assert(size > 0);
|
||||||
assert(size - large_pad <= LARGE_MAXCLASS);
|
|
||||||
assert((size & PAGE_MASK) == 0);
|
assert((size & PAGE_MASK) == 0);
|
||||||
|
|
||||||
assert(size != 0);
|
assert(size != 0);
|
||||||
|
|||||||
Reference in New Issue
Block a user