WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
105278
Web Inspector: add async API for passing renderer process memory stats
https://bugs.webkit.org/show_bug.cgi?id=105278
Summary
Web Inspector: add async API for passing renderer process memory stats
Alexei Filippov
Reported
2012-12-18 04:42:12 PST
On some platforms (e.g. Linux) it may take some time to collect total process memory information as it involves an IPC out of a sandboxed renderer process. So add an async way to collect the statistics.
Attachments
Patch
(7.97 KB, patch)
2012-12-18 04:51 PST
,
Alexei Filippov
no flags
Details
Formatted Diff
Diff
Patch
(7.88 KB, patch)
2012-12-19 10:08 PST
,
Alexei Filippov
no flags
Details
Formatted Diff
Diff
Patch
(7.93 KB, patch)
2012-12-20 05:10 PST
,
Alexei Filippov
no flags
Details
Formatted Diff
Diff
Patch
(7.99 KB, patch)
2012-12-24 06:48 PST
,
Alexei Filippov
no flags
Details
Formatted Diff
Diff
Show Obsolete
(3)
View All
Add attachment
proposed patch, testcase, etc.
Alexei Filippov
Comment 1
2012-12-18 04:51:12 PST
Created
attachment 179923
[details]
Patch
WebKit Review Bot
Comment 2
2012-12-18 04:54:01 PST
Please wait for approval from
abarth@webkit.org
,
dglazkov@chromium.org
,
fishd@chromium.org
,
jamesr@chromium.org
or
tkent@chromium.org
before submitting, as this patch contains changes to the Chromium public API. See also
https://trac.webkit.org/wiki/ChromiumWebKitAPI
.
Darin Fisher (:fishd, Google)
Comment 3
2012-12-18 13:16:34 PST
Comment on
attachment 179923
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=179923&action=review
> Source/Platform/chromium/public/Platform.h:78 > +class ProcessMemorySizesCallback {
nit: each top-level class / struct / enum should have its own header file.
Alexei Filippov
Comment 4
2012-12-19 10:08:34 PST
Created
attachment 180192
[details]
Patch
Alexei Filippov
Comment 5
2012-12-19 10:10:38 PST
Comment on
attachment 179923
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=179923&action=review
>> Source/Platform/chromium/public/Platform.h:78 >> +class ProcessMemorySizesCallback { > > nit: each top-level class / struct / enum should have its own header file.
Thanks! Moved it inside Platform. Don't think it makes sense to have a separate file here.
Early Warning System Bot
Comment 6
2012-12-19 13:59:23 PST
Comment on
attachment 180192
[details]
Patch
Attachment 180192
[details]
did not pass qt-ews (qt): Output:
http://queues.webkit.org/results/15413725
Early Warning System Bot
Comment 7
2012-12-19 14:01:21 PST
Comment on
attachment 180192
[details]
Patch
Attachment 180192
[details]
did not pass qt-wk2-ews (qt): Output:
http://queues.webkit.org/results/15400757
Build Bot
Comment 8
2012-12-19 14:26:26 PST
Comment on
attachment 180192
[details]
Patch
Attachment 180192
[details]
did not pass mac-ews (mac): Output:
http://queues.webkit.org/results/15412752
New failing tests: fast/frames/sandboxed-iframe-attribute-parsing.html
Alexei Filippov
Comment 9
2012-12-20 05:10:41 PST
Created
attachment 180325
[details]
Patch
Yury Semikhatsky
Comment 10
2012-12-24 04:13:10 PST
Comment on
attachment 180325
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=180325&action=review
> Source/Platform/chromium/public/Platform.h:223 > + // memory currently allocated to this process that cannot be shared.
You should describe whether the ownership of the callback is passed to the callee.
Alexei Filippov
Comment 11
2012-12-24 06:48:24 PST
Created
attachment 180668
[details]
Patch
Alexei Filippov
Comment 12
2012-12-24 06:49:03 PST
Comment on
attachment 180325
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=180325&action=review
>> Source/Platform/chromium/public/Platform.h:223 >> + // memory currently allocated to this process that cannot be shared. > > You should describe whether the ownership of the callback is passed to the callee.
done.
WebKit Review Bot
Comment 13
2012-12-24 21:24:31 PST
Comment on
attachment 180668
[details]
Patch Clearing flags on attachment: 180668 Committed
r138450
: <
http://trac.webkit.org/changeset/138450
>
WebKit Review Bot
Comment 14
2012-12-24 21:24:36 PST
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.
Top of Page
Format For Printing
XML
Clone This Bug