Bug 142595

Summary: Users of Heap::deprecatedReportExtraMemory should switch to reportExtraMemoryAllocated+reportExtraMemoryVisited
Product: WebKit Reporter: Geoffrey Garen <ggaren>
Component: WebKit Misc.Assignee: Geoffrey Garen <ggaren>
Status: REOPENED ---    
Severity: Normal CC: cdumez, fpizlo, kling, mhahnenb
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=158274
Bug Depends on:    
Bug Blocks: 142457    
Attachments:
Description Flags
Patch kling: review+

Description Geoffrey Garen 2015-03-11 14:32:26 PDT
This will reduce GC pressure when GenGC is successful.
Comment 1 Geoffrey Garen 2015-03-11 17:03:17 PDT
Created attachment 248465 [details]
Patch
Comment 2 Andreas Kling 2015-03-11 17:14:08 PDT
Comment on attachment 248465 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=248465&action=review

r=me

> Source/WebCore/html/HTMLCanvasElement.h:138
> +    size_t memoryCost() const;

memoryCost() and not extraMemoryCost() seems like a mild misnomer, but it's not terribly important.
Comment 3 Geoffrey Garen 2015-03-11 17:15:48 PDT
Committed r181415: <http://trac.webkit.org/changeset/181415>
Comment 4 Geoffrey Garen 2015-03-11 17:16:15 PDT
Keeping this open to cover the non-canvas classes.