mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-21 12:30:06 +00:00
Remove assert in malloc statistic. Fixes bug 12486.
This commit is contained in:
parent
264aad1e6a
commit
0bfcf2c73c
@ -1,3 +1,8 @@
|
||||
2013-10-18 Ondřej Bílka <neleai@seznam.cz>
|
||||
|
||||
[BZ #12486]
|
||||
* malloc/malloc.c: remove checks for statistics.
|
||||
|
||||
2013-10-17 Ondřej Bílka <neleai@seznam.cz>
|
||||
|
||||
[BZ #15277]
|
||||
|
@ -2216,15 +2216,6 @@ static void do_check_malloc_state(mstate av)
|
||||
/* top chunk is OK */
|
||||
check_chunk(av, av->top);
|
||||
|
||||
/* sanity checks for statistics */
|
||||
|
||||
assert(mp_.n_mmaps <= mp_.max_n_mmaps);
|
||||
|
||||
assert((unsigned long)(av->system_mem) <=
|
||||
(unsigned long)(av->max_system_mem));
|
||||
|
||||
assert((unsigned long)(mp_.mmapped_mem) <=
|
||||
(unsigned long)(mp_.max_mmapped_mem));
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user