DescriptionTracks the amount of committed vs uncommitted memory in tcmalloc's page heap's freelists
Keeps track of the number of reserved but not committed pages in the freelist and uses that to calculate a waste metric, which is the ratio of committed pages vs pages used by the application. This is exposed in the GetStats() call (which is used for about:tcmalloc) and through GetNumericalProperty() in MallocExtension.
BUG=none
TEST=open about:tcmalloc and monitor 'WASTE' columns while using the browser
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=28133
Patch Set 1 #Patch Set 2 : Fixes line length and cleans up formatting a bit #
Total comments: 6
Patch Set 3 : Tracks committed bytes instead of committed-and-free bytes #
Total comments: 1
Patch Set 4 : Refactors ReleaseFreeList() as suggested #Patch Set 5 : Rebase on top of jar@'s simplification patch #Patch Set 6 : Fixes math #Patch Set 7 : Reduces delta in ReleaseFreeList() #Patch Set 8 : whitespace #
Messages
Total messages: 10 (0 generated)
|