jemalloc3: make chunksize handle native sizes on x64

This commit is contained in:
Pale Moon
2016-02-03 20:22:44 +01:00
parent 4ec88a4555
commit e38a35538e
+1 -1
View File
@@ -156,7 +156,7 @@ jemalloc_stats_impl(jemalloc_stats_t *stats)
/* get the summation for all arenas, i == narenas */
CTL_I_GET("stats.arenas.0.pdirty", pdirty, narenas);
stats->chunksize = 1 << lg_chunk;
stats->chunksize = (size_t) 1 << lg_chunk;
stats->mapped = mapped;
stats->allocated = allocated;
stats->waste = active - allocated;