Statistics fixes and cleanup.

Fix a type mismatch for "arenas.nlruns" mallctl access.  This bug caused
a crash during statistics printing on 64-bit systems.

Fix the "stats.active" mallctl to include active memory in huge objects.

Report active bytes for the whole application, as well as per arena.

Remove several unused variables.
This commit is contained in:
Jason Evans
2010-01-29 11:24:19 -08:00
parent 4fb7f51337
commit c66aaf1476
3 changed files with 17 additions and 17 deletions

View File

@@ -944,7 +944,7 @@ Maximum size supported by this large size class.
@roff_stats@.It Sy "stats.active (size_t) r-"
@roff_stats@.Bd -ragged -offset indent -compact
@roff_stats@Total number of bytes in active pages allocated by the application.
@roff_stats@This is a multiple of the page size, and is larger than
@roff_stats@This is a multiple of the page size, and greater than or equal to
@roff_stats@.Dq stats.allocated .
@roff_stats@.Ed
.\"-----------------------------------------------------------------------------