summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Lin <danny@kdrag0n.dev>2021-03-20 22:27:28 -0700
committerDanny Lin <danny@kdrag0n.dev>2021-04-05 23:17:10 -0700
commit4fa7f4f84a686c309aa5d46f2f3412e4354c6918 (patch)
tree7865efdc09992c7755efae98397a55f2526f9999
parent3b7dc3d1a75027cee5d63caf5ca708732ead94ea (diff)
Fix typo in tcache stats check
Change-Id: I1682acb9b57f6de4bacd4c69d55b21a96cc09d5b
-rw-r--r--include/jemalloc/internal/tcache_inlines.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/jemalloc/internal/tcache_inlines.h b/include/jemalloc/internal/tcache_inlines.h
index 0cca1224..ed81fc41 100644
--- a/include/jemalloc/internal/tcache_inlines.h
+++ b/include/jemalloc/internal/tcache_inlines.h
@@ -150,7 +150,7 @@ tcache_alloc_large(tsd_t *tsd, arena_t *arena, tcache_t *tcache, size_t size,
memset(ret, 0, usize);
}
-#if defined(ANDROID_ENABLE_TCACHE_STATUS)
+#if defined(ANDROID_ENABLE_TCACHE_STATS)
if (config_stats) {
bin->tstats.nrequests++;
}