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:
@@ -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
|
||||
.\"-----------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user