Chromium Code Reviews
Help | Chromium Project | Gerrit Changes | Sign in
(151)

Issue 1117293002: AudioBufferSourceNode.start with optional parameters causes processor build-up (Closed)

Created:
5 years ago by hongchan
Modified:
5 years ago
Reviewers:
Raymond Toy
CC:
blink-reviews, Raymond Toy
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Starting from M42, calling ABSN.start() method with optional parameters keeps the node from getting GCed even when it is finished and its JS reference is dropped. Thus, the CPU usage keeps piling up over time. When the node is started with optional parameters, we failed to add the node to the list of active nodes so that it never gets automatically disconnected from the graph when the node is finished. BUG=478485 TEST=I tested it using the repro case from the bug and the CPU usage from the task manager doesn't continuously increase any more. Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=194828

Patch Set 1 : Initial Commit #

Total comments: 1

Patch Set 2 : Fixed Typo #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -0 lines) Patch
M Source/modules/webaudio/AudioBufferSourceNode.cpp View 1 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (2 generated)
hongchan
PTAL.
5 years ago (2015-05-01 16:55:27 UTC) #2
Raymond Toy
Please fix the description: "causes the node does not get GCed" I would also add ...
5 years ago (2015-05-01 17:00:36 UTC) #3
hongchan
5 years ago (2015-05-01 17:09:15 UTC) #4
Raymond Toy
lgtm. File a new bug about adding a test for this.
5 years ago (2015-05-01 17:11:32 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1117293002/20001
5 years ago (2015-05-01 18:19:24 UTC) #7
commit-bot: I haz the power
5 years ago (2015-05-01 20:13:53 UTC) #8
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=194828

Powered by Google App Engine
This is Rietveld 408576698