Summary: | Calculating the size of the Heap should not require walking over it | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Mark Hahnenberg <mhahnenberg> | ||||
Component: | JavaScriptCore | Assignee: | Mark Hahnenberg <mhahnenberg> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | ||||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Bug Depends on: | |||||||
Bug Blocks: | 121074 | ||||||
Attachments: |
|
Description
Mark Hahnenberg
2013-09-06 16:47:03 PDT
Created attachment 210827 [details]
Patch
Comment on attachment 210827 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=210827&action=review r=me > Source/JavaScriptCore/heap/Heap.cpp:647 > + // rather than all used (inluding dead) copied bytes, thus it's Should be "including". > Source/JavaScriptCore/heap/Heap.h:254 > + size_t m_totalBytesVisited; > + size_t m_totalBytesCopied; Let's initialize these in the Heap constructor. Committed r155317: <http://trac.webkit.org/changeset/155317> |