[Webkit-unassigned] [Bug 48484] New: Improve memSize calculation in [WebView _setCacheModel]
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Oct 27 16:39:35 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=48484
Summary: Improve memSize calculation in [WebView
_setCacheModel]
Product: WebKit
Version: 528+ (Nightly build)
Platform: Macintosh
OS/Version: Mac OS X 10.5
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: WebKit Misc.
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: psolanki at apple.com
CC: ggaren at apple.com, ddkilzer at webkit.org
In [WebView _setCacheModel], we use a fudge factor for the memory size
// As a fudge factor, use 1000 instead of 1024, in case the reported byte
// count doesn't align exactly to a megabyte boundary.
uint64_t memSize = WebMemorySize() / 1024 / 1000;
Instead of doing that, we should just round up the memSize to a multiple of 2 and update the code to check for 4MB/2MB/1MB/512KB memory levels.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list