FontPlatformData objects leak outside the FontCache |
|||
Issue descriptionWith counters on FontPlatformData and SimpleFontData objects we see that for example for loading http://sueddeutsche.de and resizing the window a few times we can get to a situation where the counts look as follows: [1:1:1128/190314.140393:INFO:FontObjectsCount.h(51)] Num SimpleFontData objects: 396 [1:1:1128/190314.140630:INFO:FontObjectsCount.h(51)] Num FontPlatformData objects: 551 [1:1:1128/190314.140866:INFO:FontCache.cpp(105)] Num FontCache entries: 205 So there are 346 FontPlatformData objects that are not tracked in FontCache and likely not covered by FontCache purging mechanisms.
,
Nov 28 2017
Run for example like: $ out/gndebug/content_shell --enable-logging=stderr --vmodule=FontObjectsCount=4,FontCache=4 http://sueddeutsche.de 2>&1 |egrep \(FontPlatformData\|SimpleFontData\|FontCache\)
,
Nov 28 2017
Apart from the leakage, the numbers seem way too high - the number of unique font styles (including font sizes) on this page is probably way lover than 551 or 205.
,
Dec 1 2017
,
Dec 1 2017
|
|||
►
Sign in to add a comment |
|||
Comment 1 by drott@chromium.org
, Nov 28 2017