WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
101729
Web Inspector: NMI add instrumentation for WebAudo related stuff. It uses about 16Mb for shared data on pages with webaudio. As example Angry Birds app.
https://bugs.webkit.org/show_bug.cgi?id=101729
Summary
Web Inspector: NMI add instrumentation for WebAudo related stuff. It uses abo...
Ilya Tikhonovsky
Reported
2012-11-09 01:52:32 PST
EOM
Attachments
Patch
(30.38 KB, patch)
2012-11-09 05:02 PST
,
Ilya Tikhonovsky
no flags
Details
Formatted Diff
Diff
for qt bot
(30.74 KB, patch)
2012-11-09 05:17 PST
,
Ilya Tikhonovsky
no flags
Details
Formatted Diff
Diff
with fix for mac and win bots.
(30.42 KB, patch)
2012-11-09 06:04 PST
,
Ilya Tikhonovsky
no flags
Details
Formatted Diff
Diff
with fix for mac, gtk and win bots.
(29.38 KB, patch)
2012-11-10 04:14 PST
,
Ilya Tikhonovsky
no flags
Details
Formatted Diff
Diff
with additional instrumentation for fft arrays. total ~36mb
(31.49 KB, patch)
2012-11-11 23:33 PST
,
Ilya Tikhonovsky
yurys
: review+
Details
Formatted Diff
Diff
Show Obsolete
(4)
View All
Add attachment
proposed patch, testcase, etc.
Ilya Tikhonovsky
Comment 1
2012-11-09 05:02:55 PST
Created
attachment 173268
[details]
Patch
EFL EWS Bot
Comment 2
2012-11-09 05:11:12 PST
Comment on
attachment 173268
[details]
Patch
Attachment 173268
[details]
did not pass efl-ews (efl): Output:
http://queues.webkit.org/results/14770616
Early Warning System Bot
Comment 3
2012-11-09 05:13:13 PST
Comment on
attachment 173268
[details]
Patch
Attachment 173268
[details]
did not pass qt-ews (qt): Output:
http://queues.webkit.org/results/14683453
Early Warning System Bot
Comment 4
2012-11-09 05:17:31 PST
Comment on
attachment 173268
[details]
Patch
Attachment 173268
[details]
did not pass qt-wk2-ews (qt): Output:
http://queues.webkit.org/results/14788132
Ilya Tikhonovsky
Comment 5
2012-11-09 05:17:46 PST
Created
attachment 173271
[details]
for qt bot
Build Bot
Comment 6
2012-11-09 05:54:09 PST
Comment on
attachment 173271
[details]
for qt bot
Attachment 173271
[details]
did not pass mac-ews (mac): Output:
http://queues.webkit.org/results/14778396
Yury Semikhatsky
Comment 7
2012-11-09 05:56:09 PST
Comment on
attachment 173268
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=173268&action=review
> Source/WebCore/dom/ActiveDOMObject.cpp:98 > + UNUSED_PARAM(info);
Please remove this.
> Source/WebCore/dom/ContextDestructionObserver.h:43 > + virtual void reportMemoryUsage(MemoryObjectInfo*) const;
We shouldn't add reportMemoryUsage to abstract interfaces as we don't control their implementations.
> Source/WebCore/dom/WebCoreMemoryInstrumentation.h:48 > + static MemoryObjectType Audio;
Should go into PlatformMemoryInstrumentation.h
Yury Semikhatsky
Comment 8
2012-11-09 05:58:46 PST
Except for the comments above the instrumentation looks good. But I'd like someone familiar with web audio code to look at AudioContext::reportMemoryUsage and AutoLocker call in it.
Ilya Tikhonovsky
Comment 9
2012-11-09 06:04:19 PST
Created
attachment 173287
[details]
with fix for mac and win bots.
Build Bot
Comment 10
2012-11-09 07:07:53 PST
Comment on
attachment 173287
[details]
with fix for mac and win bots.
Attachment 173287
[details]
did not pass mac-ews (mac): Output:
http://queues.webkit.org/results/14785201
Build Bot
Comment 11
2012-11-09 07:56:18 PST
Comment on
attachment 173287
[details]
with fix for mac and win bots.
Attachment 173287
[details]
did not pass win-ews (win): Output:
http://queues.webkit.org/results/14771712
Ilya Tikhonovsky
Comment 12
2012-11-10 04:14:43 PST
Created
attachment 173442
[details]
with fix for mac, gtk and win bots.
Ilya Tikhonovsky
Comment 13
2012-11-11 23:33:16 PST
Created
attachment 173573
[details]
with additional instrumentation for fft arrays. total ~36mb
Ilya Tikhonovsky
Comment 14
2012-11-11 23:42:54 PST
(In reply to
comment #7
)
> (From update of
attachment 173268
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=173268&action=review
> > > Source/WebCore/dom/ActiveDOMObject.cpp:98 > > + UNUSED_PARAM(info); > > Please remove this.
done
> > > Source/WebCore/dom/ContextDestructionObserver.h:43 > > + virtual void reportMemoryUsage(MemoryObjectInfo*) const; > > We shouldn't add reportMemoryUsage to abstract interfaces as we don't control their implementations.
done
> > > Source/WebCore/dom/WebCoreMemoryInstrumentation.h:48 > > + static MemoryObjectType Audio; > > Should go into PlatformMemoryInstrumentation.h
done.
Ilya Tikhonovsky
Comment 15
2012-11-14 04:13:46 PST
Committed
r134593
: <
http://trac.webkit.org/changeset/134593
>
Kentaro Hara
Comment 16
2012-11-14 05:05:56 PST
It looks like this patch broke inspector-protocol/nmi-webaudio.html. I will mark it as FAIL. Please fix it soon.
Simon Fraser (smfr)
Comment 17
2012-11-18 15:35:48 PST
That test is also asserting in Mac debug builds:
http://build.webkit.org/results/Apple%20MountainLion%20Debug%20WK1%20(Tests)/r135081%20(2941)/inspector-protocol/nmi-webaudio-crash-log.txt
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