Get rid of tcache_enabled_t as we have runtime init support.

This commit is contained in:
Qi Wang
2017-04-05 19:23:41 -07:00
committed by Qi Wang
parent fde3e20cc0
commit 0fba57e579
6 changed files with 14 additions and 24 deletions

View File

@@ -1,12 +1,6 @@
#ifndef JEMALLOC_INTERNAL_TCACHE_STRUCTS_H
#define JEMALLOC_INTERNAL_TCACHE_STRUCTS_H
typedef enum {
tcache_enabled_false = 0, /* Enable cast to/from bool. */
tcache_enabled_true = 1,
tcache_enabled_default = 2
} tcache_enabled_t;
/*
* Read-only information associated with each element of tcache_t's tbins array
* is stored separately, mainly to reduce memory usage.