DescriptionFor large (but not direct mapped) allocations, track the real allocation size.
Allocations above 64kB can be tracked more accurately because we have spare
metadata space where we can store the exact allocation size. For now, we use
this to report more accurate statistics. But we will probably wire it up to
partitionPurgeMemory in a future CL.
During work on this CL, a function to round up to system page size was
factored out, and the control flow of partitionAllocSlowPath was tided up to
fall down to the return's at the tail of the function in more cases.
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=196893
Patch Set 1 #
Total comments: 3
Patch Set 2 : Review feedback. #
Total comments: 1
Patch Set 3 : More review feedback. #
Messages
Total messages: 11 (3 generated)
|
||||||||||||||||||||||||||||