[Webkit-unassigned] [Bug 105026] New: Web Inspector: Native Memory Instrumentation: MemoryInstrumentation doesn't detect reportMemoryUsage method defined in a base class.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Dec 14 07:48:23 PST 2012
https://bugs.webkit.org/show_bug.cgi?id=105026
Summary: Web Inspector: Native Memory Instrumentation:
MemoryInstrumentation doesn't detect reportMemoryUsage
method defined in a base class.
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: P2
Component: Web Inspector
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: loislo at chromium.org
CC: keishi at webkit.org, pmuellr at yahoo.com,
pfeldman at chromium.org, yurys at chromium.org,
apavlov at chromium.org, loislo at chromium.org,
vsevik at chromium.org,
web-inspector-bugs at googlegroups.com
It is relatively frequent case when we report a pointer to an object of a class
and this class does not have reportMemoryUsage method but its parent does.
Current implementation does not detect such cases.
As a result we count such objects via sizeof and do not call reportMemoryUsage.
I found a working solution and need to check it against all the WebKit compilers.
http://stackoverflow.com/questions/1966362/sfinae-to-check-for-inherited-member-functions
--
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