mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-04-30 00:58:02 +03:00
Fix assertion for cases where tiny classes do not exist
This commit is contained in:
parent
1a15fe33a4
commit
70b228dece
1 changed files with 1 additions and 1 deletions
|
|
@ -1199,7 +1199,7 @@ malloc_init_hard(void) {
|
|||
* than LARGE_MINCLASS. It could only happen if some constants
|
||||
* are configured miserably wrong.
|
||||
*/
|
||||
assert(SC_LG_TINY_MAXCLASS <= (size_t)1ULL << (LG_PAGE + SC_LG_NGROUP));
|
||||
assert(SC_NTINY == 0 || SC_LG_TINY_MAXCLASS <= SC_LG_LARGE_MINCLASS);
|
||||
|
||||
#if defined(_WIN32) && _WIN32_WINNT < 0x0600
|
||||
_init_init_lock();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue