DescriptionAdd size metric into Heap Stats.
The stats data have only count field at the moment.
A constantly growing array of integers also can be a reason of a leak.
Ans we have to have a way to detect such kind of leaks.
Drive by fix:
FindObject and AddEntry were replaced with FindEntry/FindOrAddEntry pair.
BUG=none
TEST=HeapSnapshotObjectsStats
Committed: https://code.google.com/p/v8/source/detail?r=11327
Patch Set 1 #
Total comments: 9
Patch Set 2 : comments addressed #Patch Set 3 : comments addressed #
Total comments: 5
Patch Set 4 : comments addressed #
Messages
Total messages: 9 (0 generated)
|