Bug 224316 - DrawGlyph display items waste a lot of memory.
Summary: DrawGlyph display items waste a lot of memory.
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: Safari Technology Preview
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-04-07 20:53 PDT by Simon Fraser (smfr)
Modified: 2021-04-14 20:54 PDT (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Fraser (smfr) 2021-04-07 20:53:58 PDT
On YouTube.com:

Total capacity: 324976 bytes (used 233376, wasted 91600), utilization: 71.81%) - 1004 allocations, entry size 16 bytes
1   0x1113968cf WTF::Vector<CGSize, 16ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>::Vector(WTF::Vector<CGSize, 16ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc> const&)
2   0x1113981e7 WebCore::DisplayList::ItemHandle::safeCopy(WebCore::DisplayList::ItemHandle) const
3   0x1113a3bd8 WebCore::DisplayList::InMemoryDisplayList::WritingClient::encodeItemInline(WebCore::DisplayList::ItemHandle, unsigned char*) const
4   0x1113994fe WebCore::DisplayList::ItemBuffer::append(WebCore::DisplayList::ItemHandle)
Comment 1 Radar WebKit Bug Importer 2021-04-14 20:54:13 PDT
<rdar://problem/76682675>