Remove highruns statistics.

This commit is contained in:
Jason Evans
2012-02-13 15:18:19 -08:00
parent ef8897b4b9
commit 746868929a
6 changed files with 15 additions and 84 deletions

View File

@@ -639,6 +639,10 @@ arena_malloc(size_t size, bool zero)
else
return (arena_malloc_small(choose_arena(), size, zero));
} else {
/*
* Initialize tcache after checking size in order to avoid
* infinite recursion during tcache initialization.
*/
if (size <= tcache_maxclass && (tcache = tcache_get()) != NULL)
return (tcache_alloc_large(tcache, size, zero));
else

View File

@@ -59,9 +59,6 @@ struct malloc_bin_stats_s {
*/
uint64_t reruns;
/* High-water mark for this bin. */
size_t highruns;
/* Current number of runs in this bin. */
size_t curruns;
};
@@ -83,9 +80,6 @@ struct malloc_large_stats_s {
*/
uint64_t nrequests;
/* High-water mark for this size class. */
size_t highruns;
/* Current number of runs of this size class. */
size_t curruns;
};