Description[tracing] Avoid double-counting blink_gc free stats in memory-infra
Currently, when dumping blink_gc (Oilpan) memory, both the heap pages
and the freelists are scanned. Both of them report free bytes/objects.
At current state, this causes a dump of the following form:
blink_gc/thread_X/heaps/HeapName
blink_gc/thread_X/heaps/HeapName/pages free_size=1M
blink_gc/thread_X/heaps/HeapName/buckets free_size=1M
which causes the UI to infer the /HeapName has free_size=2M, which is
incorrect. This change forces the /HeapName dump to override the
free_{size,count} attributes in order to match the HeapName/pages dump.
BUG=490087
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=197987
Patch Set 1 #
Total comments: 1
Patch Set 2 : typo #
Messages
Total messages: 7 (3 generated)
|