RESOLVED FIXED 90615
Web Inspector: Add native memory used by GlyphCache to the snapshot
https://bugs.webkit.org/show_bug.cgi?id=90615
Summary Web Inspector: Add native memory used by GlyphCache to the snapshot
Alexei Filippov
Reported 2012-07-05 08:55:45 PDT
EOM
Attachments
Patch (6.58 KB, patch)
2012-07-05 09:06 PDT, Alexei Filippov
no flags
Patch (6.54 KB, patch)
2012-07-05 10:30 PDT, Alexei Filippov
no flags
Patch (6.65 KB, patch)
2012-07-06 06:14 PDT, Alexei Filippov
no flags
Patch (6.33 KB, patch)
2012-07-31 07:17 PDT, Alexei Filippov
no flags
Patch (6.99 KB, patch)
2012-07-31 08:41 PDT, Alexei Filippov
no flags
Patch (8.15 KB, patch)
2012-07-31 10:38 PDT, Alexei Filippov
no flags
Patch (7.20 KB, patch)
2012-08-01 01:20 PDT, Alexei Filippov
no flags
Alexei Filippov
Comment 1 2012-07-05 09:06:27 PDT
Yury Semikhatsky
Comment 2 2012-07-05 09:24:12 PDT
Comment on attachment 150949 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=150949&action=review > Source/WebCore/platform/MemoryUsageSupport.cpp:66 > +bool MemoryUsageSupport::componentMemoryUsageInBytes(const char* name, size_t* size) Please remove parameter names to avoid warnings. > Source/WebCore/platform/MemoryUsageSupport.h:63 > + static bool componentMemoryUsageInBytes(const char*, size_t*); This way we need to store all component names in the memory agent that calls this method. It might be better to have MemoryUsageSupport report us {component name -> size} map containing information about all components. WDYT?
Build Bot
Comment 3 2012-07-05 10:12:45 PDT
Alexei Filippov
Comment 4 2012-07-05 10:30:24 PDT
Alexei Filippov
Comment 5 2012-07-05 10:31:06 PDT
Comment on attachment 150949 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=150949&action=review >> Source/WebCore/platform/MemoryUsageSupport.cpp:66 >> +bool MemoryUsageSupport::componentMemoryUsageInBytes(const char* name, size_t* size) > > Please remove parameter names to avoid warnings. done >> Source/WebCore/platform/MemoryUsageSupport.h:63 >> + static bool componentMemoryUsageInBytes(const char*, size_t*); > > This way we need to store all component names in the memory agent that calls this method. It might be better to have MemoryUsageSupport report us {component name -> size} map containing information about all components. WDYT? done
Yury Semikhatsky
Comment 6 2012-07-05 23:07:19 PDT
Comment on attachment 150955 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=150955&action=review > Source/WebCore/platform/MemoryUsageSupport.h:67 > + const char* m_name; Why not const String? It would be more convenient should we have dynamically generated names. > Source/WebCore/platform/MemoryUsageSupport.h:68 > + size_t m_size; m_sizeInBytes ?
Alexei Filippov
Comment 7 2012-07-06 06:14:35 PDT
Alexei Filippov
Comment 8 2012-07-06 06:20:16 PDT
Comment on attachment 150955 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=150955&action=review >> Source/WebCore/platform/MemoryUsageSupport.h:67 >> + const char* m_name; > > Why not const String? It would be more convenient should we have dynamically generated names. done >> Source/WebCore/platform/MemoryUsageSupport.h:68 >> + size_t m_size; > > m_sizeInBytes ? done
WebKit Review Bot
Comment 9 2012-07-06 07:09:29 PDT
Comment on attachment 151071 [details] Patch Clearing flags on attachment: 151071 Committed r121968: <http://trac.webkit.org/changeset/121968>
WebKit Review Bot
Comment 10 2012-07-06 07:09:35 PDT
All reviewed patches have been landed. Closing bug.
WebKit Review Bot
Comment 11 2012-07-08 20:56:25 PDT
Re-opened since this is blocked by 90745
Alexei Filippov
Comment 12 2012-07-31 07:17:04 PDT
WebKit Review Bot
Comment 13 2012-07-31 07:20:59 PDT
Comment on attachment 155525 [details] Patch Attachment 155525 [details] did not pass chromium-ews (chromium-xvfb): Output: http://queues.webkit.org/results/13400444
Early Warning System Bot
Comment 14 2012-07-31 07:40:59 PDT
Early Warning System Bot
Comment 15 2012-07-31 07:53:43 PDT
Alexei Filippov
Comment 16 2012-07-31 08:41:34 PDT
Yury Semikhatsky
Comment 17 2012-07-31 08:52:05 PDT
Comment on attachment 155551 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=155551&action=review > Source/WebCore/platform/MemoryUsageSupport.h:34 > +#include <wtf/Vector.h> wtf/Forward.h should be enough
Early Warning System Bot
Comment 18 2012-07-31 09:24:30 PDT
Early Warning System Bot
Comment 19 2012-07-31 10:03:26 PDT
Alexei Filippov
Comment 20 2012-07-31 10:38:17 PDT
WebKit Review Bot
Comment 21 2012-07-31 23:39:14 PDT
Comment on attachment 155582 [details] Patch Rejecting attachment 155582 [details] from commit-queue. Failed to run "['/mnt/git/webkit-commit-queue/Tools/Scripts/webkit-patch', '--status-host=queues.webkit.org', '-..." exit_code: 2 Last 500 characters of output: Source/WebCore/platform/MemoryUsageSupport.h patching file Source/WebCore/platform/chromium/MemoryUsageSupportChromium.cpp patching file Source/WebCore/platform/qt/MemoryUsageSupportQt.cpp patching file Source/WebKit/chromium/DEPS Hunk #1 FAILED at 32. 1 out of 1 hunk FAILED -- saving rejects to file Source/WebKit/chromium/DEPS.rej Failed to run "[u'/mnt/git/webkit-commit-queue/Tools/Scripts/svn-apply', u'--force', u'--reviewer', u'Yury Semik..." exit_code: 1 cwd: /mnt/git/webkit-commit-queue/ Full output: http://queues.webkit.org/results/13411302
Alexei Filippov
Comment 22 2012-08-01 01:20:23 PDT
WebKit Review Bot
Comment 23 2012-08-01 02:19:42 PDT
Comment on attachment 155748 [details] Patch Clearing flags on attachment: 155748 Committed r124315: <http://trac.webkit.org/changeset/124315>
WebKit Review Bot
Comment 24 2012-08-01 02:19:48 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.