Bug 186782 - Investigate StringImpl memory use
Summary: Investigate StringImpl memory use
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Template Framework (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2018-06-18 11:48 PDT by Simon Fraser (smfr)
Modified: 2018-06-18 23:27 PDT (History)
3 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) 2018-06-18 11:48:57 PDT
The data in bug 186422 show that the StringImpl heap uses about 20MB of dirty memory, but only contains about 6MB of data, so there's a potential memory saving here of up to 14MB.

                                                        VIRTUAL   RESIDENT      DIRTY    SWAPPED ALLOCATION      BYTES DIRTY+SWAP          REGION
MALLOC ZONE                                                SIZE       SIZE       SIZE       SIZE      COUNT  ALLOCATED  FRAG SIZE  % FRAG   COUNT
===========                                             =======  =========  =========  =========  =========  =========  =========  ======  ======
WebKit StringImpl_0x10b4c0000                            100.0M      23.2M      19.9M         0K      74493      6166K      13.9M     70%      27
Comment 1 Radar WebKit Bug Importer 2018-06-18 11:49:22 PDT
<rdar://problem/41218701>