git.samba.org
/
jlayton
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
264aad1
)
Remove assert in malloc statistic. Fixes bug 12486.
author
Ondřej Bílka
<neleai@seznam.cz>
Fri, 18 Oct 2013 07:32:35 +0000
(09:32 +0200)
committer
Ondřej Bílka
<neleai@seznam.cz>
Fri, 18 Oct 2013 07:35:15 +0000
(09:35 +0200)
ChangeLog
patch
|
blob
|
history
malloc/malloc.c
patch
|
blob
|
history
diff --git
a/ChangeLog
b/ChangeLog
index dc8745a31b46eedd6db3565b7f4cf7a615fe8b7e..1c59515829e881bb9e2fd85c4aa81790260a290b 100644
(file)
--- a/
ChangeLog
+++ b/
ChangeLog
@@
-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]
diff --git
a/malloc/malloc.c
b/malloc/malloc.c
index 29382340cfce51dbb7d6c16fe0c0e7166a99b197..1a18c3f5f2dbd09bcafde82418784ed5f7e9b476 100644
(file)
--- a/
malloc/malloc.c
+++ b/
malloc/malloc.c
@@
-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