Initialize arena_bin_info at compile time rather than at boot time.

This resolves #370.
This commit is contained in:
Jason Evans
2016-04-07 08:04:12 -04:00
parent b683734b43
commit 627372b459
5 changed files with 100 additions and 96 deletions

View File

@@ -23,7 +23,7 @@ watch_junking(void *p)
}
static void
arena_dalloc_junk_small_intercept(void *ptr, arena_bin_info_t *bin_info)
arena_dalloc_junk_small_intercept(void *ptr, const arena_bin_info_t *bin_info)
{
size_t i;